2024-01-06 11:11:55 +01:00
|
|
|
Name: python-gevent
|
2024-01-06 11:11:55 +01:00
|
|
|
Version: 1.1.2
|
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
|
|
|
* 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
|