Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37846771
en ru br
ALT Linux repos
S:1.1.0-alt1

Group :: Development/Python3
RPM: python3-module-et_xmlfile

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname et_xmlfile

Name: python3-module-%oname
Version: 1.0.1
Release: alt3
Summary: An implementation of lxml.xmlfile for the standard library
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/et_xmlfile

Source0: %{oname}-%{version}.tar.gz
BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-lxml
BuildRequires: python3-module-pytest

%py3_provides %oname

%description
et_xmlfile is a low memory library for creating large XML files.

It is based upon the xmlfile module from lxml with the aim of allowing
code to be developed that will work with both libraries. It was
developed initially for the openpyxl project but is now a standalone
module.

%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%py3_requires lxml

%description tests
et_xmlfile is a low memory library for creating large XML files.

It is based upon the xmlfile module from lxml with the aim of allowing
code to be developed that will work with both libraries. It was
developed initially for the openpyxl project but is now a standalone
module.

This package contains tests for %oname.

%prep
%setup -n %{oname}-%{version}

%build
export LC_ALL=en_US.UTF-8
%python3_build_debug

%install
export LC_ALL=en_US.UTF-8
%python3_install

%check
export LC_ALL=en_US.UTF-8
py.test3 -vv

%files
%doc *.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests

%files tests
%python3_sitelibdir/*/tests

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin