automatic version update by autodist [release 23.2-1mamba;Mon Oct 02 2023]

This commit is contained in:
Automatic Build System 2024-01-05 16:14:07 +01:00
parent 7acd5ca288
commit dd086f2904

View File

@ -1,6 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _) %define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-packaging Name: python-packaging
Version: 23.1 Version: 23.2
Release: 1mamba Release: 1mamba
Summary: Core utilities for Python packages Summary: Core utilities for Python packages
Group: System/Libraries Group: System/Libraries
@ -11,8 +11,9 @@ URL: https://pypi.org/project/packaging/
Source: https://pypi.debian.net/packaging/packaging-%{version}.tar.gz Source: https://pypi.debian.net/packaging/packaging-%{version}.tar.gz
License: BSD, Apache License 2.0 License: BSD, Apache License 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel BuildRequires: libpython311-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11.5
%description %description
%{summary}. %{summary}.
@ -25,11 +26,25 @@ BuildRequires: libpython3-devel
%setup -q -n packaging-%{version} %setup -q -n packaging-%{version}
%build %build
%if "0%{?with_pyver}" == "03"
# Bootstrap
virtualenv-py310 -p %{__python3} env
source env/bin/activate
pip install build installer flit_core
CFLAGS="%{optflags}" python -m build --no-isolation --wheel
%else
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%endif
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%if "0%{?with_pyver}" == "03"
# Bootstrap
. ./env/bin/activate
python -m installer --destdir=%{buildroot} --prefix=%{_prefix} dist/*.whl
%else
%{__python} -m installer --destdir=%{buildroot} dist/*.whl %{__python} -m installer --destdir=%{buildroot} dist/*.whl
%endif
#%if "%{?with_pyver}" != "3" #%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree ## Rename any conflicting file outside of python site packages tree
@ -46,6 +61,12 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%doc LICENSE %doc LICENSE
%changelog %changelog
* Mon Oct 02 2023 Automatic Build System <autodist@mambasoft.it> 23.2-1mamba
- automatic version update by autodist
* Sat Sep 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 23.1-2mamba
- rebuilt with python3 == 3.11 in bootstrap mode via pip
* Thu Apr 13 2023 Automatic Build System <autodist@mambasoft.it> 23.1-1mamba * Thu Apr 13 2023 Automatic Build System <autodist@mambasoft.it> 23.1-1mamba
- automatic version update by autodist - automatic version update by autodist