forked from pool/python-gevent
- Cython should not be needed, gevent is build as a binary module
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
1459924751
commit
f62e60acc2
@@ -24,7 +24,6 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-cython
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: libevent-devel
|
||||
%if 0%{?suse_version}
|
||||
@@ -53,14 +52,11 @@ out the list of the open source projects based on gevent.
|
||||
%setup -q -n gevent-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" cython setup.py build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS changelog.rst LICENSE LICENSE.pyevent README.rst TODO doc examples
|
||||
|
||||
Reference in New Issue
Block a user