automatic version update by autodist [release 24.2.1-1mamba;Wed Apr 03 2024]

This commit is contained in:
Automatic Build System 2024-04-03 15:08:44 +02:00
parent 89f34c6ce8
commit e7d1242564
1 changed files with 24 additions and 15 deletions

View File

@ -1,7 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-gevent
Version: 23.9.1
Release: 2mamba
Version: 24.2.1
Release: 1mamba
Summary: Coroutine-based network library
Group: System/Libraries
Vendor: openmamba
@ -13,7 +13,10 @@ Patch0: python-gevent-1.0.1-python-2.7.6.patch
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcares-devel
BuildRequires: libev-devel
BuildRequires: libpython311-devel
BuildRequires: libuv-devel
BuildRequires: python3.11dist(greenlet)
BuildRequires: python3.11dist(zope.event)
BuildRequires: python3.11dist(zope.interface)
@ -34,28 +37,34 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
#%patch0 -p1
%build
#:<< _EOF
CFLAGS="%{optflags}" %{__python} setup.py build
export GEVENTSETUP_EMBED=0
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
export GEVENTSETUP_EMBED=0
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#sed -i "/_socket3.py/d" %{name}.filelist
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
#%endif
%files %{?pyappend} -f %{name}.filelist
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%doc AUTHORS LICENSE
%changelog
* Wed Apr 03 2024 Automatic Build System <autodist@openmamba.org> 24.2.1-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 23.9.1-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba