[python-greenlet] update to 0.4.0

Pádraig Brady pbrady at fedoraproject.org
Fri Jan 18 14:09:28 UTC 2013


commit 54d25f3be02aee857f2a5508b677f9a4c4341c8e
Author: Pádraig Brady <P at draigBrady.com>
Date:   Fri Jan 18 13:53:55 2013 +0000

    update to 0.4.0

 .gitignore                 |    1 +
 get-rid-of-ts_origin.patch |  106 --------------------------------------------
 i686-register-fixes.patch  |   62 -------------------------
 ppc64-support.patch        |  104 -------------------------------------------
 python-greenlet.spec       |   25 +++-------
 sources                    |    2 +-
 6 files changed, 9 insertions(+), 291 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bda0572..39f4c4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 greenlet-0.3.1.tar.gz
+/greenlet-0.4.0.zip
diff --git a/python-greenlet.spec b/python-greenlet.spec
index 9b1aacc..a9d9b79 100644
--- a/python-greenlet.spec
+++ b/python-greenlet.spec
@@ -3,23 +3,13 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 
 Name:           python-greenlet
-Version:        0.3.1
-Release:        11%{?dist}
+Version:        0.4.0
+Release:        1%{?dist}
 Summary:        Lightweight in-process concurrent programming
 Group:          Development/Libraries
 License:        MIT
 URL:            http://pypi.python.org/pypi/greenlet
-Source0:        http://pypi.python.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
-
-# Based on https://bitbucket.org/ambroff/greenlet/changeset/2d5b17472757
-# slightly fixed up to apply cleanly. Avoid rhbz#746771
-Patch1:         get-rid-of-ts_origin.patch
-# Apply https://bitbucket.org/ambroff/greenlet/changeset/25bf29f4d3b7
-# to fix the i686 crash in rhbz#746771
-Patch2:         i686-register-fixes.patch
-# Backport https://github.com/python-greenlet/greenlet/commit/b17773a7
-# from greenlet 0.4.0 to support ppc64
-Patch3:         ppc64-support.patch
+Source0:        http://pypi.python.org/packages/source/g/greenlet/greenlet-%{version}.zip
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -42,9 +32,6 @@ This package contains header files required for C modules development.
 
 %prep
 %setup -q -n greenlet-%{version}
-%patch1 -p1 -b .get-rid-of-ts_origin
-%patch2 -p1 -b .i686_register_fixes
-%patch3 -p1 -b .ppc64_support
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -67,12 +54,11 @@ rm -rf %{buildroot}
 
 # Run the upstream benchmarking suite to further exercise the code:
 PYTHONPATH=$(pwd) %{__python} benchmarks/chain.py
-PYTHONPATH=$(pwd) %{__python} benchmarks/switch.py
 %endif
 
 %files
 %defattr(-,root,root,-)
-%doc doc/greenlet.txt README benchmarks AUTHORS NEWS
+%doc doc/greenlet.txt README.rst benchmarks AUTHORS NEWS
 %{python_sitearch}/greenlet.so
 %{python_sitearch}/greenlet*.egg-info
 
@@ -81,6 +67,9 @@ PYTHONPATH=$(pwd) %{__python} benchmarks/switch.py
 %{_includedir}/python*/greenlet
 
 %changelog
+* Fri Jan 18 2013 Pádraig Brady <P at draigBrady.com> - 0.4.0-1
+- Update to 0.4.0
+
 * Thu Oct 11 2012 Pádraig Brady <P at draigBrady.com> - 0.3.1-11
 - Add support for ppc64
 
diff --git a/sources b/sources
index 2ce5558..a497d0c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8d75d7f3f659e915e286e1b0fa0e1c4d  greenlet-0.3.1.tar.gz
+87887570082caadc08fb1f8671dbed71  greenlet-0.4.0.zip


More information about the scm-commits mailing list