[packages/python3-et_xmlfile] - python-et_xmlfile.spec updated to 2.0.0 for python 3.8+
qboosh
qboosh at pld-linux.org
Tue Apr 14 18:26:59 CEST 2026
commit 69e21512b6a6e24c4bbe50c1d27d060a89965cd3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 14 18:27:33 2026 +0200
- python-et_xmlfile.spec updated to 2.0.0 for python 3.8+
python-et_xmlfile.spec | 113 ------------------------------------------------
python3-et_xmlfile.spec | 55 +++++++++++++++++++++++
2 files changed, 55 insertions(+), 113 deletions(-)
---
diff --git a/python-et_xmlfile.spec b/python-et_xmlfile.spec
deleted file mode 100644
index ffcfa56..0000000
--- a/python-et_xmlfile.spec
+++ /dev/null
@@ -1,113 +0,0 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-
-%define module et_xmlfile
-Summary: An implementation of lxml.xmlfile for the standard library
-Summary(pl.UTF-8): Implementacja lxml.xmlfile dla biblioteki standardowej
-Name: python-%{module}
-# keep 1.0.x here for python2 support
-Version: 1.0.1
-Release: 7
-License: MIT
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/et-xmlfile/
-Source0: https://files.pythonhosted.org/packages/source/e/et_xmlfile/%{module}-%{version}.tar.gz
-# Source0-md5: f47940fd9d556375420b2e276476cfaf
-URL: https://pypi.org/project/et-xmlfile/
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.6
-BuildRequires: python-setuptools
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.3
-BuildRequires: python3-setuptools
-%endif
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python-modules >= 1:2.6
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%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.
-
-%description -l pl.UTF-8
-et_xmlfile to używająca mało pamięci biblioteka do zapisu dużych
-plików XML.
-
-Jest oparta na module xmlfile z lxml z myślą o umożliwieniu tworzenia
-kodu działającego w obu bibliotekach. Początkowo powstała dla projektu
-openpyxl, ale obecnie jest samodzielnym modułem.
-
-%package -n python3-%{module}
-Summary: An implementation of lxml.xmlfile for the standard library
-Summary(pl.UTF-8): Implementacja lxml.xmlfile dla biblioteki standardowej
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.3
-
-%description -n python3-%{module}
-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.
-
-%description -n python3-%{module} -l pl.UTF-8
-et_xmlfile to używająca mało pamięci biblioteka do zapisu dużych
-plików XML.
-
-Jest oparta na module xmlfile z lxml z myślą o umożliwieniu tworzenia
-kodu działającego w obu bibliotekach. Początkowo powstała dla projektu
-openpyxl, ale obecnie jest samodzielnym modułem.
-
-%prep
-%setup -q -n %{module}-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc README.rst
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-%{module}
-%defattr(644,root,root,755)
-%doc README.rst
-%{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%endif
diff --git a/python3-et_xmlfile.spec b/python3-et_xmlfile.spec
new file mode 100644
index 0000000..dc17381
--- /dev/null
+++ b/python3-et_xmlfile.spec
@@ -0,0 +1,55 @@
+%define module et_xmlfile
+Summary: An implementation of lxml.xmlfile for the standard library
+Summary(pl.UTF-8): Implementacja lxml.xmlfile dla biblioteki standardowej
+Name: python3-%{module}
+Version: 2.0.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/et-xmlfile/
+Source0: https://files.pythonhosted.org/packages/source/e/et_xmlfile/%{module}-%{version}.tar.gz
+# Source0-md5: d7db773c110c5534e61f288fdfcad807
+URL: https://pypi.org/project/et-xmlfile/
+BuildRequires: python3-modules >= 1:3.8
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.8
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+et_xmlfile to używająca mało pamięci biblioteka do zapisu dużych
+plików XML.
+
+Jest oparta na module xmlfile z lxml z myślą o umożliwieniu tworzenia
+kodu działającego w obu bibliotekach. Początkowo powstała dla projektu
+openpyxl, ale obecnie jest samodzielnym modułem.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS.txt LICENCE.python LICENCE.rst README.rst
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-et_xmlfile.git/commitdiff/69e21512b6a6e24c4bbe50c1d27d060a89965cd3
More information about the pld-cvs-commit
mailing list