automatic version update by autodist [release 23.2-1mamba;Mon Oct 02 2023]
This commit is contained in:
parent
7acd5ca288
commit
dd086f2904
@ -1,6 +1,6 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-packaging
|
||||
Version: 23.1
|
||||
Version: 23.2
|
||||
Release: 1mamba
|
||||
Summary: Core utilities for Python packages
|
||||
Group: System/Libraries
|
||||
@ -11,8 +11,9 @@ 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: libpython3-devel
|
||||
BuildRequires: libpython311-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython3-devel >= 3.11.5
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -25,11 +26,25 @@ BuildRequires: libpython3-devel
|
||||
%setup -q -n packaging-%{version}
|
||||
|
||||
%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
|
||||
%endif
|
||||
|
||||
%install
|
||||
[ "%{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
|
||||
%endif
|
||||
|
||||
#%if "%{?with_pyver}" != "3"
|
||||
## Rename any conflicting file outside of python site packages tree
|
||||
@ -46,6 +61,12 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||
%doc LICENSE
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user