1
0

Accepting request 627924 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/627924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-greenlet?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2018-08-10 07:47:10 +00:00 committed by Git OBS Bridge
commit d6a7e4e7d6
5 changed files with 20 additions and 36 deletions

View File

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

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

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

View File

@ -1,23 +0,0 @@
From d32e64abf2443ada592f6a1e5d74bee35db0f221 Mon Sep 17 00:00:00 2001
From: "Laszlo Boszormenyi (GCS)" <gcs@debian.org>
Date: Sat, 9 Sep 2017 07:57:16 +0000
Subject: [PATCH] Don't clobber 'r2' register on ppc64el
It was invalid even before, now GCC 7 no longer accept this.
---
platform/switch_ppc64_linux.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/platform/switch_ppc64_linux.h b/platform/switch_ppc64_linux.h
index 0f20756..cd7d748 100644
--- a/platform/switch_ppc64_linux.h
+++ b/platform/switch_ppc64_linux.h
@@ -56,7 +56,7 @@
#define ALTIVEC_REGS
#endif
-#define REGS_TO_SAVE "r2", "r14", "r15", "r16", "r17", "r18", "r19", "r20", \
+#define REGS_TO_SAVE "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", \

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Aug 7 15:26:22 UTC 2018 - toddrme2178@gmail.com
- Update to 0.4.14
* Support for C-SKY architecture
* Fixed support for ppc64 ABI
* Fixed support for Python 3.7
- Remove upstream-included greenlet-ppc64le.patch
-------------------------------------------------------------------
Fri Feb 2 13:34:46 UTC 2018 - tchvatal@suse.com

View File

@ -18,22 +18,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-greenlet
Version: 0.4.13
Version: 0.4.14
Release: 0
Summary: Lightweight in-process concurrent programming
License: MIT
Group: Development/Libraries/Python
Url: http://pypi.python.org/pypi/greenlet
Url: https://github.com/python-greenlet/greenlet
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
Patch0: greenlet-ppc64le.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: c++_compiler
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
%python_subpackages
%description
@ -53,7 +52,6 @@ This package contains header files required for C modules development.
%prep
%setup -q -n greenlet-%{version}
%patch0 -p1
%build
export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
@ -64,19 +62,19 @@ cd doc && make html && rm _build/html/.buildinfo
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with test}
%check
export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
%python_exec setup.py -q test
%endif
%files %{python_files}
%doc AUTHORS NEWS README.rst LICENSE*
%doc AUTHORS NEWS README.rst
%doc doc/_build/html/
%license LICENSE*
%{python_sitearch}/*
%files %{python_files devel}
%doc AUTHORS LICENSE*
%doc AUTHORS
%license LICENSE*
%{_includedir}/python%{python_version}*/greenlet/
%changelog