2024-01-06 11:11:55 +01:00
|
|
|
Name: python-gevent
|
2024-01-06 11:11:55 +01:00
|
|
|
Version: 1.3.5
|
2024-01-06 11:11:55 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:11:55 +01:00
|
|
|
Summary: Coroutine-based network library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.gevent.org/
|
2024-01-06 11:11:55 +01:00
|
|
|
Source: https://pypi.debian.net/gevent/gevent-%{version}.tar.gz
|
2024-01-06 11:11:55 +01:00
|
|
|
Patch0: python-gevent-1.0.1-python-2.7.6.patch
|
2024-01-06 11:11:55 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: libpython27-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: python >= %python_version
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gevent-%{version}
|
2024-01-06 11:11:55 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-06 11:11:55 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 11:11:55 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 11:11:55 +01:00
|
|
|
#:<< _EOF
|
2024-01-06 11:11:55 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
sed -i "/_socket3.py/d" %{name}.filelist
|
2024-01-06 11:11:55 +01:00
|
|
|
|
|
|
|
%files -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:11:55 +01:00
|
|
|
%{python_sitearch}/gevent/_socket3.py*
|
2024-01-06 11:11:55 +01:00
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:11:55 +01:00
|
|
|
* Mon Aug 06 2018 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Wed Jun 20 2018 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Sat Jun 09 2018 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 1.3.2.post0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Tue Dec 27 2016 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Fri Jul 22 2016 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Fri May 20 2016 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Wed Feb 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
|
|
|
|
- upstream patch to fix bug with python 2.7.6
|
|
|
|
|
2024-01-06 11:11:55 +01:00
|
|
|
* Wed May 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|