From 4c778d5b3465684d6e5bbe613c885c70afcd4ea0ad1878e71a7647d86c5ddcf4 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 29 Jan 2016 12:39:20 +0000 Subject: [PATCH] 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 --- gevent-1.0.2.tar.gz | 3 --- gevent-1.1rc3.tar.gz | 3 +++ python-gevent.changes | 14 ++++++++++++++ python-gevent.spec | 19 +++++++++++-------- 4 files changed, 28 insertions(+), 11 deletions(-) delete mode 100644 gevent-1.0.2.tar.gz create mode 100644 gevent-1.1rc3.tar.gz diff --git a/gevent-1.0.2.tar.gz b/gevent-1.0.2.tar.gz deleted file mode 100644 index 51bbf4c..0000000 --- a/gevent-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ae1ca0f533ddcb17aab16ce66b424b3f3b855ff3b9508526915d3c6b73fba31 -size 1735721 diff --git a/gevent-1.1rc3.tar.gz b/gevent-1.1rc3.tar.gz new file mode 100644 index 0000000..169675c --- /dev/null +++ b/gevent-1.1rc3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb94ffdf4bd147261b6b72423d208075c32c5989c2a55473d0c99c0cdb41e19d +size 1750920 diff --git a/python-gevent.changes b/python-gevent.changes index cfdbc4e..49902ee 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Jan 29 09:14:54 UTC 2016 - tchvatal@suse.com + +- Update to 1.1rc3: + * See changelog.rst for detailed informations + +------------------------------------------------------------------- +Wed Jul 1 12:54:10 UTC 2015 - tchvatal@suse.com + +- 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 + ------------------------------------------------------------------- Tue Jun 30 08:48:56 UTC 2015 - tchvatal@suse.com diff --git a/python-gevent.spec b/python-gevent.spec index 13bcef2..d2b69a0 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -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