diff --git a/elementpath-2.2.0.tar.gz b/elementpath-2.2.0.tar.gz deleted file mode 100644 index 3ed3bf635f4950ea8d4ad9ba3b2a604a3b04e10e..0000000000000000000000000000000000000000 Binary files a/elementpath-2.2.0.tar.gz and /dev/null differ diff --git a/elementpath-2.4.0.tar.gz b/elementpath-2.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fd93f41f08c5a0890eb276686eff233c3dff6d82 Binary files /dev/null and b/elementpath-2.4.0.tar.gz differ diff --git a/python-elementpath.spec b/python-elementpath.spec index 1c84316b246fbb23eaad2db7aa77aa19f804df4f..f71f96d9ae05fe2f99dfc6c79f34a61964bff8e9 100644 --- a/python-elementpath.spec +++ b/python-elementpath.spec @@ -1,13 +1,11 @@ %global _empty_manifest_terminate_build 0 -%global __requires_exclude xmlschema - Name: python-elementpath -Version: 2.2.0 -Release: 3 +Version: 2.4.0 +Release: 1 Summary: XPath 1.0/2.0 parsers and selectors for ElementTree and lxml License: MIT URL: https://github.com/sissaschool/elementpath -Source0: https://files.pythonhosted.org/packages/1f/3e/ed8afee4e4d7604bc5edf0da85c0728b6a244f0b5a7b5c267499a25c38ae/elementpath-2.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/fc/b0/a70ea1141a442485df45f193b1c1aba1358302e2a0f4c572e1f3ee9636f7/elementpath-2.4.0.tar.gz BuildArch: noarch %description XPath 1.0/2.0 parsers and selectors for ElementTree and lxml @@ -25,14 +23,20 @@ BuildRequires: python3-wheel BuildRequires: python3-tox BuildRequires: python3-coverage BuildRequires: python3-lxml -# BuildRequires: python3-xmlschema +BuildRequires: python3-xmlschema BuildRequires: python3-sphinx +BuildRequires: python3-memory-profiler +BuildRequires: python3-flake8 +BuildRequires: python3-mypy # General requires Requires: python3-tox Requires: python3-coverage Requires: python3-lxml -# Requires: python3-xmlschema +Requires: python3-xmlschema Requires: python3-sphinx +Requires: python3-memory-profiler +Requires: python3-flake8 +Requires: python3-mypy %description -n python3-elementpath XPath 1.0/2.0 parsers and selectors for ElementTree and lxml @@ -43,14 +47,14 @@ Provides: python3-elementpath-doc XPath 1.0/2.0 parsers and selectors for ElementTree and lxml %prep -%autosetup -n elementpath-2.2.0 -p1 +%autosetup -n elementpath-%{version} %build %py3_build - %install %py3_install + install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -77,17 +81,17 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%check -#%{__python3} setup.py test %files -n python3-elementpath -f filelist.lst %dir %{python3_sitelib}/* - %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Jul 18 2022 OpenStack_SIG - 2.4.0-1 +- Upgrade package python3-elementpath to version 2.4.0 + * Mon Aug 2 2021 OpenStack_SIG - 2.2.0-3 - Drop useless requires