forked from pool/python-gevent
Accepting request 356639 from home:scarabeus_iv:branches:devel:languages:python
- Update to 1.1rc3:
* See changelog.rst for detailed informations
- Bump once more to 1.1a1:
* See changelog.rst for detailed informations
* The py2.7 compat in 1.0.2 behaves weirdly on openSUSE,
this release seems way nicer on that front
OBS-URL: https://build.opensuse.org/request/show/356639
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=19
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-gevent
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,24 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%endif
|
||||
Name: python-gevent
|
||||
Version: 1.0.2
|
||||
Version: 1.1rc3
|
||||
Release: 0
|
||||
Url: http://www.gevent.org/
|
||||
Summary: Python network library that uses greenlet and libevent
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.gevent.org/
|
||||
Source: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libevent-devel
|
||||
BuildRequires: libcares-devel
|
||||
BuildRequires: libev-devel
|
||||
#BuildRequires: python-Sphinx
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-greenlet
|
||||
BuildRequires: python-nose
|
||||
Requires: python-greenlet
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Gevent is a Python networking library that uses greenlet to provide synchronous
|
||||
@@ -54,6 +55,8 @@ out the list of the open source projects based on gevent.
|
||||
|
||||
%prep
|
||||
%setup -q -n gevent-%{version}
|
||||
# Remove bundled libraries
|
||||
rm -rf c-ares libev
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||
|
||||
Reference in New Issue
Block a user