python-gevent/python-gevent.spec

157 lines
5.3 KiB
RPMSpec

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-gevent
Version: 24.2.1
Release: 1mamba
Summary: Coroutine-based network library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gevent.org/
Source: https://pypi.debian.net/gevent/gevent-%{version}.tar.gz
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)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n gevent-%{version}
#-D -T
#:<< _EOF
#%patch0 -p1
%build
export GEVENTSETUP_EMBED=0
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export GEVENTSETUP_EMBED=0
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%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}
%defattr(-,root,root)
%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
* Sun Sep 17 2023 Automatic Build System <autodist@mambasoft.it> 23.9.1-1mamba
- automatic version update by autodist
* Mon Sep 04 2023 Automatic Build System <autodist@mambasoft.it> 23.9.0.post1-1mamba
- automatic version update by autodist
* Tue Nov 01 2022 Automatic Build System <autodist@mambasoft.it> 22.10.2-1mamba
- automatic version update by autodist
* Sat Oct 29 2022 Automatic Build System <autodist@mambasoft.it> 22.10.1-1mamba
- automatic version update by autodist
* Mon Dec 13 2021 Automatic Build System <autodist@mambasoft.it> 21.12.0-1mamba
- automatic version update by autodist
* Fri Aug 06 2021 Automatic Build System <autodist@mambasoft.it> 21.8.0-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 21.1.2-1mamba
- automatic version update by autodist
* Fri Jan 22 2021 Automatic Build System <autodist@mambasoft.it> 21.1.1-1mamba
- automatic version update by autodist
* Wed Oct 07 2020 Automatic Build System <autodist@mambasoft.it> 20.9.0-1mamba
- automatic version update by autodist
* Wed Jun 17 2020 Automatic Build System <autodist@mambasoft.it> 20.6.2-1mamba
- automatic version update by autodist
* Sun Jun 14 2020 Automatic Build System <autodist@mambasoft.it> 20.6.1-1mamba
- automatic version update by autodist
* Sat Jun 06 2020 Automatic Build System <autodist@mambasoft.it> 20.6.0-1mamba
- automatic version update by autodist
* Fri May 29 2020 Automatic Build System <autodist@mambasoft.it> 20.5.2-1mamba
- automatic version update by autodist
* Wed May 27 2020 Automatic Build System <autodist@mambasoft.it> 20.5.1-1mamba
- automatic version update by autodist
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 20.5.0-1mamba
- automatic version update by autodist
* Sun Jan 13 2019 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Fri Oct 19 2018 Automatic Build System <autodist@mambasoft.it> 1.3.7-1mamba
- automatic version update by autodist
* Sat Aug 18 2018 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba
- automatic version update by autodist
* Mon Aug 06 2018 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
- automatic version update by autodist
* Wed Jun 20 2018 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist
* Sat Jun 09 2018 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 1.3.2.post0-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Tue Dec 27 2016 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Fri Jul 22 2016 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
- automatic version update by autodist
* Fri May 20 2016 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Wed Feb 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
- upstream patch to fix bug with python 2.7.6
* Wed May 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- package created by silvan using the webbuild interface