Accepting request 390353 from home:Simmphonie:python

OBS-URL: https://build.opensuse.org/request/show/390353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=35
This commit is contained in:
Dirk Mueller 2016-04-17 20:13:20 +00:00 committed by Git OBS Bridge
parent 3c581346e2
commit 41ca1378b8
5 changed files with 12 additions and 45 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f32c4fa4e06443e1bdb0d32b69e7617c25ff772c3ffc6d0aa63d192e9fd795fe
size 77540

3
greenlet-0.4.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79f9b8bbbb1c599c66aed5e643e8b53bae697cae46e0acfc4ee461df48a90012
size 54808

View File

@ -1,36 +0,0 @@
Index: greenlet-0.4.1/platform/switch_ppc64_linux.h
===================================================================
--- greenlet-0.4.1.orig/platform/switch_ppc64_linux.h
+++ greenlet-0.4.1/platform/switch_ppc64_linux.h
@@ -2,6 +2,8 @@
* this is the internal transfer function.
*
* HISTORY
+ * 10-Dec-13 Ulrich Weigand <uweigand@de.ibm.com>
+ * Support ELFv2 ABI. Save float/vector registers.
* 09-Mar-12 Michael Ellerman <michael@ellerman.id.au>
* 64-bit implementation, copied from 32-bit.
* 07-Sep-05 (py-dev mailing list discussion)
@@ -40,13 +42,22 @@
#ifdef SLP_EVAL
+#if _CALL_ELF == 2
+#define STACK_MAGIC 4
+#else
#define STACK_MAGIC 6
+#endif
/* !!!!WARNING!!!! need to add "r31" in the next line if this header file
* is meant to be compiled non-dynamically!
*/
#define REGS_TO_SAVE "r2", "r14", "r15", "r16", "r17", "r18", "r19", "r20", \
"r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r31", \
+ "fr14", "fr15", "fr16", "fr17", "fr18", "fr19", "fr20", "fr21", \
+ "fr22", "fr23", "fr24", "fr25", "fr26", "fr27", "fr28", "fr29", \
+ "fr30", "fr31", \
+ "v20", "v21", "v22", "v23", "v24", "v25", "v26", "v27", \
+ "v28", "v29", "v30", "v31", \
"cr2", "cr3", "cr4"
static int
slp_switch(void)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 16 21:29:08 UTC 2016 - t.gruner@katodev.de
- update to 0.4.9
- remove ppc64le-support.patch (is part of this version now)
-------------------------------------------------------------------
Mon Jun 22 14:34:33 UTC 2015 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-greenlet
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -18,20 +18,18 @@
Name: python-greenlet
Version: 0.4.7
Version: 0.4.9
Release: 0
Url: http://pypi.python.org/pypi/greenlet
Summary: Lightweight in-process concurrent programming
License: MIT
Group: Development/Libraries/Python
Source0: http://pypi.python.org/packages/source/g/greenlet/greenlet-%{version}.zip
Patch1: ppc64le-support.patch
Source0: http://pypi.python.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: python-Sphinx
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: unzip
%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
@ -55,7 +53,6 @@ This package contains header files required for C modules development.
%prep
%setup -q -n greenlet-%{version}
%patch1 -p1
%build
CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" python setup.py build