From 5b246ca7048457582b7d1da257c27b9ce39667e4 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 16:14:06 +0100 Subject: [PATCH] automatic version update by autodist [release 23.0-1mamba;Sun Jan 22 2023] --- python-packaging.spec | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/python-packaging.spec b/python-packaging.spec index 6c851ce..fbb206b 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-packaging -Version: 21.3 -Release: 2mamba +Version: 23.0 +Release: 1mamba Summary: Core utilities for Python packages Group: System/Libraries Vendor: openmamba @@ -10,9 +11,7 @@ URL: https://pypi.org/project/packaging/ Source: https://pypi.debian.net/packaging/packaging-%{version}.tar.gz License: BSD, Apache License 2.0 ## AUTOBUILDREQ-BEGIN -BuildRequires: (python3.7dist(pyparsing) < 3.0.5 or python3.7dist(pyparsing) > 3.0.5) BuildRequires: libpython3-devel -BuildRequires: python3.7dist(pyparsing) ## AUTOBUILDREQ-END %description @@ -26,27 +25,30 @@ BuildRequires: python3.7dist(pyparsing) %setup -q -n packaging-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/pdm; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/packaging-%{version}-py*.egg-info -%{python_sitearch}/packaging-%{version}-py*.egg-info/* - +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* %doc LICENSE %changelog +* Sun Jan 22 2023 Automatic Build System 23.0-1mamba +- automatic version update by autodist + * Sun Apr 03 2022 Silvan Calarco 21.3-2mamba - rebuilt with python 3.10