From c418c295e15a8df5e900780797e47aced68148940277e4c23cfcc12164c6d137 Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 18 Nov 2014 14:19:33 +0000 Subject: [PATCH] Accepting request 262199 from home:TheBlackCat:branches:devel:languages:python Update to 1.0.1 OBS-URL: https://build.opensuse.org/request/show/262199 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=15 --- gevent-1.0.1.tar.gz | 3 +++ gevent-1.0.tar.gz | 3 --- libev.patch | 24 ------------------------ python-gevent.changes | 12 ++++++++++++ python-gevent.spec | 5 +---- 5 files changed, 16 insertions(+), 31 deletions(-) create mode 100644 gevent-1.0.1.tar.gz delete mode 100644 gevent-1.0.tar.gz delete mode 100644 libev.patch diff --git a/gevent-1.0.1.tar.gz b/gevent-1.0.1.tar.gz new file mode 100644 index 0000000..653c336 --- /dev/null +++ b/gevent-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43 +size 1455636 diff --git a/gevent-1.0.tar.gz b/gevent-1.0.tar.gz deleted file mode 100644 index 2f6ac33..0000000 --- a/gevent-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bfa9d846db91a7d8b6a36e87353eed641c7e3e7d0bfa0b9975796d227f2db4eb -size 1437122 diff --git a/libev.patch b/libev.patch deleted file mode 100644 index 12b6ec0..0000000 --- a/libev.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: gevent-1.0/libev/ev.c -=================================================================== ---- gevent-1.0.orig/libev/ev.c -+++ gevent-1.0/libev/ev.c -@@ -617,9 +617,16 @@ struct signalfd_siginfo - #if ECB_GCC_VERSION(4,7) - /* see comment below (stdatomic.h) about the C11 memory model. */ - #define ECB_MEMORY_FENCE __atomic_thread_fence (__ATOMIC_SEQ_CST) -- #elif defined __clang && __has_feature (cxx_atomic) -- /* see comment below (stdatomic.h) about the C11 memory model. */ -- #define ECB_MEMORY_FENCE __c11_atomic_thread_fence (__ATOMIC_SEQ_CST) -+ -+ /* The __has_feature syntax from clang is so misdesigned that we cannot use it -+ * without risking compile time errors with other compilers. We *could* -+ * define our own ecb_clang_has_feature, but I just can't be bothered to work -+ * around this shit time and again. -+ * #elif defined __clang && __has_feature (cxx_atomic) -+ * // see comment below (stdatomic.h) about the C11 memory model. -+ * #define ECB_MEMORY_FENCE __c11_atomic_thread_fence (__ATOMIC_SEQ_CST) -+ */ -+ - #elif ECB_GCC_VERSION(4,4) || defined __INTEL_COMPILER || defined __clang__ - #define ECB_MEMORY_FENCE __sync_synchronize () - #elif _MSC_VER >= 1400 /* VC++ 2005 */ diff --git a/python-gevent.changes b/python-gevent.changes index 23eacc1..e94291f 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Nov 18 14:00:29 UTC 2014 - toddrme2178@gmail.com + +- Update to 1.0.1 + - Upgrade libev to 4.15. This fixes #361: installation on armv5. + - Better support for win64. Patch by Alexey Borzenkov. + - Fix #423: Pool's imap/imap_unordered could hang forever. Based on patch and test by Jianfei Wang. + - Enable libev's check watchers. + - Add dummy Event._reset_internal_locks() method. Only relevant if patch_all(Event=True) is enabled (non-default). + - Backport new testrunner.py from master branch. +- Removed upstream included libev.patch + ------------------------------------------------------------------- Thu Jun 12 08:47:18 UTC 2014 - schwab@suse.de diff --git a/python-gevent.spec b/python-gevent.spec index a183b94..982dc07 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -17,15 +17,13 @@ Name: python-gevent -Version: 1.0 +Version: 1.0.1 Release: 0 Url: http://www.gevent.org/ Summary: Python network library that uses greenlet and libevent License: MIT Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix syntax error in preprocessor conditional (github issue 361) -Patch: libev.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libevent-devel #BuildRequires: python-Sphinx @@ -56,7 +54,6 @@ out the list of the open source projects based on gevent. %prep %setup -q -n gevent-%{version} -%patch -p1 %build CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build