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
This commit is contained in:
parent
79b1f6ce3b
commit
c418c295e1
3
gevent-1.0.1.tar.gz
Normal file
3
gevent-1.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43
|
||||
size 1455636
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bfa9d846db91a7d8b6a36e87353eed641c7e3e7d0bfa0b9975796d227f2db4eb
|
||||
size 1437122
|
24
libev.patch
24
libev.patch
@ -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 */
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user