Compare commits
2 commits
rawhide
...
python-gev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
217c336cfb | ||
| 9b86e8c1c6 |
5 changed files with 63 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
||||||
|
gevent-0.12.2.tar.gz
|
||||||
1
branch
Normal file
1
branch
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
F-13
|
||||||
1
import.log
Normal file
1
import.log
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
python-gevent-0_12_2-2_fc13:F-13:python-gevent-0.12.2-2.fc13.src.rpm:1273096319
|
||||||
59
python-gevent.spec
Normal file
59
python-gevent.spec
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
|
%global upstream_name gevent
|
||||||
|
|
||||||
|
Name: python-%{upstream_name}
|
||||||
|
Version: 0.12.2
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: A coroutine-based Python networking library
|
||||||
|
|
||||||
|
Group: Development/Languages
|
||||||
|
License: MIT
|
||||||
|
URL: http://www.gevent.org/
|
||||||
|
Source0: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: libevent-devel >= 1.4.0
|
||||||
|
Requires: python-greenlet
|
||||||
|
|
||||||
|
%description
|
||||||
|
gevent is a coroutine-based Python networking library that uses greenlet to
|
||||||
|
provide a high-level synchronous API on top of libevent event loop.
|
||||||
|
|
||||||
|
Features include:
|
||||||
|
|
||||||
|
* convenient API around greenlets
|
||||||
|
* familiar synchronization primitives (gevent.event, gevent.queue)
|
||||||
|
* socket module that cooperates
|
||||||
|
* WSGI server on top of libevent-http
|
||||||
|
* DNS requests done through libevent-dns
|
||||||
|
* monkey patching utility to get pure Python modules to cooperate
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{upstream_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||||
|
# Fix non-standard-executable-perm error
|
||||||
|
%{__chmod} 0755 %{buildroot}%{python_sitearch}/%{upstream_name}/core.so
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE README.rst
|
||||||
|
%{python_sitearch}/%{upstream_name}
|
||||||
|
%{python_sitearch}/%{upstream_name}-%{version}-*.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Apr 23 2010 Silas Sewell <silas@sewell.ch> - 0.12.2-2
|
||||||
|
- Remove setuptools requirement
|
||||||
|
|
||||||
|
* Wed Mar 17 2010 Silas Sewell <silas@sewell.ch> - 0.12.2-1
|
||||||
|
- Initial build
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
97c75039a67593d3f5375fb77f73bbe7 gevent-0.12.2.tar.gz
|
||||||
Loading…
Add table
Add a link
Reference in a new issue