Compare commits

..

No commits in common. "23e63e4c8af8b56bdb58be9c23988b4f9244124b" and "64fc2a199512ad58dff2ca53713e55b7fea7a3cb" have entirely different histories.

3 changed files with 23 additions and 20 deletions

BIN
elementpath-2.2.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,25 +1,38 @@
%global _empty_manifest_terminate_build 0
%global __requires_exclude xmlschema
Name: python-elementpath
Version: 4.1.5
Version: 2.2.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/02/c4/198233fa9052d755766eadaf11c91337e49c0ea99ccc370ead94afab9d14/elementpath-4.1.5.tar.gz
Source0: https://files.pythonhosted.org/packages/1f/3e/ed8afee4e4d7604bc5edf0da85c0728b6a244f0b5a7b5c267499a25c38ae/elementpath-2.2.0.tar.gz
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 = %{version}-%{release}
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
# General requires
Requires: python3-tox
Requires: python3-coverage
Requires: python3-lxml
Requires: python3-xmlschema
Requires: python3-sphinx
%description -n python3-elementpath
XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
@ -30,11 +43,12 @@ Provides: python3-elementpath-doc
XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
%prep
%autosetup -n elementpath-%{version}
%autosetup -n elementpath-2.2.0 -S git
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
@ -63,27 +77,16 @@ 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
* Wed Jan 10 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 4.1.5-1
- Update package to version 4.1.5
* 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
- Upgrade package python3-elementpath to version 2.4.0
* Mon Aug 2 2021 OpenStack_SIG <openstack@openeuler.org> - 2.2.0-3
- Drop useless requires
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.2.0-2
- DESC: delete -S git from %autosetup
* Mon Jul 19 2021 OpenStack_SIG <openstack@openeuler.org> - 2.2.0-1
- Package Spec generate