!7 Update package
From: @liqiuyu123 Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
fe6f40e010
Binary file not shown.
BIN
elementpath-3.0.2.tar.gz
Normal file
BIN
elementpath-3.0.2.tar.gz
Normal file
Binary file not shown.
@ -1,34 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-elementpath
|
Name: python-elementpath
|
||||||
Version: 2.4.0
|
Version: 3.0.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
Summary: XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/sissaschool/elementpath
|
URL: https://github.com/sissaschool/elementpath
|
||||||
Source0: https://files.pythonhosted.org/packages/fc/b0/a70ea1141a442485df45f193b1c1aba1358302e2a0f4c572e1f3ee9636f7/elementpath-2.4.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/11/bc/5afb61dd5d863e5cf77cd952445c50c17e65953405986f19e97e4389692a/elementpath-3.0.2.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
|
||||||
XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
|
||||||
|
|
||||||
%package -n python3-elementpath
|
|
||||||
Summary: XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
|
||||||
Provides: python-elementpath
|
|
||||||
# Base build requires
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
BuildRequires: python3-pbr
|
|
||||||
BuildRequires: python3-pip
|
|
||||||
BuildRequires: python3-wheel
|
|
||||||
# General requires
|
|
||||||
BuildRequires: python3-tox
|
|
||||||
BuildRequires: python3-coverage
|
|
||||||
BuildRequires: python3-lxml
|
|
||||||
BuildRequires: python3-xmlschema
|
|
||||||
BuildRequires: python3-sphinx
|
|
||||||
BuildRequires: python3-memory-profiler
|
|
||||||
BuildRequires: python3-flake8
|
|
||||||
BuildRequires: python3-mypy
|
|
||||||
# General requires
|
|
||||||
Requires: python3-tox
|
Requires: python3-tox
|
||||||
Requires: python3-coverage
|
Requires: python3-coverage
|
||||||
Requires: python3-lxml
|
Requires: python3-lxml
|
||||||
@ -37,6 +16,26 @@ Requires: python3-sphinx
|
|||||||
Requires: python3-memory-profiler
|
Requires: python3-memory-profiler
|
||||||
Requires: python3-flake8
|
Requires: python3-flake8
|
||||||
Requires: python3-mypy
|
Requires: python3-mypy
|
||||||
|
|
||||||
|
%description
|
||||||
|
XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
||||||
|
|
||||||
|
%package -n python3-elementpath
|
||||||
|
Summary: XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
||||||
|
Provides: python-elementpath = %{version}-%{release}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-tox
|
||||||
|
BuildRequires: python3-coverage
|
||||||
|
BuildRequires: python3-lxml
|
||||||
|
BuildRequires: python3-xmlschema
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
|
BuildRequires: python3-memory-profiler
|
||||||
|
BuildRequires: python3-flake8
|
||||||
|
BuildRequires: python3-mypy
|
||||||
%description -n python3-elementpath
|
%description -n python3-elementpath
|
||||||
XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
||||||
|
|
||||||
@ -54,7 +53,6 @@ XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -81,7 +79,6 @@ popd
|
|||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-elementpath -f filelist.lst
|
%files -n python3-elementpath -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
@ -89,6 +86,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 22 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.0.2-1
|
||||||
|
- Update package to version 3.0.2
|
||||||
|
|
||||||
* Mon Jul 18 2022 OpenStack_SIG <openstack@openeuler.org> - 2.4.0-1
|
* Mon Jul 18 2022 OpenStack_SIG <openstack@openeuler.org> - 2.4.0-1
|
||||||
- Upgrade package python3-elementpath to version 2.4.0
|
- Upgrade package python3-elementpath to version 2.4.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user