automatic version update by autodist [release 24.2.1-1mamba;Wed Apr 03 2024]
This commit is contained in:
parent
89f34c6ce8
commit
e7d1242564
@ -1,7 +1,7 @@
|
|||||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-gevent
|
Name: python-gevent
|
||||||
Version: 23.9.1
|
Version: 24.2.1
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Coroutine-based network library
|
Summary: Coroutine-based network library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -13,7 +13,10 @@ Patch0: python-gevent-1.0.1-python-2.7.6.patch
|
|||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libcares-devel
|
||||||
|
BuildRequires: libev-devel
|
||||||
BuildRequires: libpython311-devel
|
BuildRequires: libpython311-devel
|
||||||
|
BuildRequires: libuv-devel
|
||||||
BuildRequires: python3.11dist(greenlet)
|
BuildRequires: python3.11dist(greenlet)
|
||||||
BuildRequires: python3.11dist(zope.event)
|
BuildRequires: python3.11dist(zope.event)
|
||||||
BuildRequires: python3.11dist(zope.interface)
|
BuildRequires: python3.11dist(zope.interface)
|
||||||
@ -34,28 +37,34 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
|
|||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< _EOF
|
export GEVENTSETUP_EMBED=0
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
||||||
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
export GEVENTSETUP_EMBED=0
|
||||||
-O1 --skip-build \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{_includedir}/python \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
#sed -i "/_socket3.py/d" %{name}.filelist
|
#%if "%{?with_pyver}" != "3"
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
## 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)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
|
||||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitearch}/%{pkgname}
|
||||||
|
%{python_sitearch}/%{pkgname}/*
|
||||||
%doc AUTHORS LICENSE
|
%doc AUTHORS LICENSE
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user