Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4a4b9a651a
!24 Update package with version 23.2
From: @desert-sailor 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2024-03-05 02:24:59 +00:00
desert-sailor
4a8a82209d Update package with version 23.2 2024-03-05 10:05:21 +08:00
openeuler-ci-bot
1588bf8803
!23 update version to 23.1
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-05-12 05:53:47 +00:00
lyn1001
515a659ffe Update to 23.1 2023-05-11 18:50:41 +08:00
openeuler-ci-bot
fbc9475680 !13 fix provides error
Merge pull request !13 from 桐小哥/master
2021-12-29 02:20:30 +00:00
shixuantong
391c3cbbae fix provides error 2021-12-29 09:14:50 +08:00
openeuler-ci-bot
7161ca587c !12 provide python3dist(packaging) and python3.xdist(packaging)
Merge pull request !12 from 桐小哥/master
2021-12-28 08:34:14 +00:00
桐小哥
72b2c50cc4 provide python3dist(packaging) and python3.xdist(packaging) 2021-12-28 16:28:03 +08:00
openeuler-ci-bot
8b0777f47d !10 update version to 21.3
From: @tong_1001
Reviewed-by: @xiezhipeng1,@small_leek
Signed-off-by: @xiezhipeng1,@small_leek
2021-12-06 03:15:01 +00:00
shixuantong
4d58365764 update version to 21.3 2021-12-06 11:05:22 +08:00
4 changed files with 32 additions and 9 deletions

Binary file not shown.

BIN
packaging-23.1.tar.gz Normal file

Binary file not shown.

BIN
packaging-23.2.tar.gz Normal file

Binary file not shown.

View File

@ -2,12 +2,12 @@
%bcond_without test %bcond_without test
Name: python-packaging Name: python-packaging
Version: 21.2 Version: 23.2
Release: 1 Release: 1
Summary: Core utilities for Python packages Summary: Core utilities for Python packages
License: BSD and ASL 2.0 License: BSD and ASL 2.0
URL: https://github.com/pypa/packaging URL: https://github.com/pypa/packaging
Source0: https://files.pythonhosted.org/packages/4d/34/523195b783e799fd401ad4bbc40d787926dd4c61838441df08bf42297792/packaging-21.2.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/packaging/packaging-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
Reusable core utilities for various Python Packaging interoperability specifications. Reusable core utilities for various Python Packaging interoperability specifications.
@ -21,7 +21,7 @@ Summary: Core utilities for Python packages
Provides: python-packaging Provides: python-packaging
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pbr BuildRequires: python3-pbr python3-flit-core
BuildRequires: python3-pip BuildRequires: python3-pip
BuildRequires: python3-wheel BuildRequires: python3-wheel
BuildRequires: python3-pretend BuildRequires: python3-pretend
@ -30,6 +30,8 @@ BuildRequires: python3-pytest
%endif %endif
BuildRequires: python3-pyparsing BuildRequires: python3-pyparsing
Requires: python3-pyparsing Requires: python3-pyparsing
Provides: python%{python3_pkgversion}dist(packaging) = %{version}
Provides: python%{python3_version}dist(packaging) = %{version}
%description -n python3-packaging %description -n python3-packaging
Reusable core utilities for various Python Packaging interoperability specifications. Reusable core utilities for various Python Packaging interoperability specifications.
@ -49,14 +51,13 @@ This library provides utilities that implement the interoperability specificatio
The packaging project includes the following: version handling, specifiers, markers, requirements, tags, utilities. The packaging project includes the following: version handling, specifiers, markers, requirements, tags, utilities.
%prep %prep
%autosetup -n packaging-21.2 %autosetup -n packaging-%{version}
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_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
@ -90,16 +91,38 @@ mv %{buildroot}/doclist.lst .
%files -n python3-packaging -f filelist.lst %files -n python3-packaging -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%{python3_sitelib}/packaging/__pycache__/
%files help -f doclist.lst %files help -f doclist.lst
%license LICENSE LICENSE.APACHE LICENSE.BSD
%doc README.rst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Mar 4 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 23.2-1
- Update package with version 23.2
Add python 3.12 support.
Add types for packaging.version._Version.
Add platform tag support for LoongArch.
Update pyupgrade to Python 3.7+
Support enriched metadata.
* Thu May 11 2023 liyanan <thistleslyn@163.com> - 23.1-1
- update version to 23.1
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 21.3-3
- fix provides error
* Tue Dec 28 2021 shixuantong <shixuantong@huawei.com> - 21.3-2
- provide python3dist(packaging) and python3.xdist(packaging)
* Mon Dec 06 2021 shixuantong <shixuantong@huawei.com> - 21.3-1
- update version to 21.3
* Thu Dec 2 2021 shangyibin <shangyibin1@huawei.com> - 21.2-1 * Thu Dec 2 2021 shangyibin <shangyibin1@huawei.com> - 21.2-1
- Upgrade to version 21.2 - Upgrade to version 21.2
* Sat Nov 27 2021 shixuantong <shixuantong@huawei> - - 20.9-2 * Sat Nov 27 2021 shixuantong <shixuantong@huawei.com> - - 20.9-2
- disable %check - disable %check
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 20.9-1 * Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 20.9-1