rebuilt with python3 = 3.11.5 (bootstrap support) [release 0.7.0-2mamba;Sat Sep 23 2023]
This commit is contained in:
parent
678f451c79
commit
7ab7552ee1
@ -1,7 +1,7 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2-)
|
||||
Name: python-installer
|
||||
Version: 0.7.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A library for installing Python wheels
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -11,8 +11,9 @@ URL: https://github.com/pypa/installer
|
||||
Source: https://pypi.debian.net/installer/installer-%{version}.tar.gz
|
||||
License: MIT
|
||||
## 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 installer-%{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
|
||||
@ -47,6 +62,9 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Sep 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-2mamba
|
||||
- rebuilt with python3 = 3.11.5 (bootstrap support)
|
||||
|
||||
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 0.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user