summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2010-03-24 15:21:37 +0000
committerJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2010-03-24 15:21:37 +0000
commita257edfb898ce47ced6622cc72b87a281ab38249 (patch)
tree51e495c53ca17854ec7c62cd16382393a5f9e61d /dev-python
parentapp-portage/smart-live-rebuild: New ebuild for bug #310975. (diff)
downloadsunrise-reviewed-a257edfb898ce47ced6622cc72b87a281ab38249.tar.gz
sunrise-reviewed-a257edfb898ce47ced6622cc72b87a281ab38249.tar.bz2
sunrise-reviewed-a257edfb898ce47ced6622cc72b87a281ab38249.zip
dev-python/greenlet: Version bump. Add Python 3 support
svn path=/sunrise/; revision=10340
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/greenlet/ChangeLog4
-rw-r--r--dev-python/greenlet/Manifest7
-rw-r--r--dev-python/greenlet/files/fix_setuptools.patch13
-rw-r--r--dev-python/greenlet/greenlet-0.3.ebuild (renamed from dev-python/greenlet/greenlet-0.2.ebuild)16
4 files changed, 15 insertions, 25 deletions
diff --git a/dev-python/greenlet/ChangeLog b/dev-python/greenlet/ChangeLog
index 3c6b6317e..6282ea81e 100644
--- a/dev-python/greenlet/ChangeLog
+++ b/dev-python/greenlet/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Mar 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
+ -greenlet-0.2.ebuild, +greenlet-0.3.ebuild, -files/fix_setuptools.patch:
+ Version bump. Add Python 3 support
+
24 Feb 2010; Tiziano Müller <dev-zero@gentoo.org> greenlet-0.2.ebuild:
Inherit from eutils when using epatch.
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest
index 20f39650b..7d3cab84d 100644
--- a/dev-python/greenlet/Manifest
+++ b/dev-python/greenlet/Manifest
@@ -1,5 +1,4 @@
-AUX fix_setuptools.patch 288 RMD160 b5dd59172cd67e12f163324eb4d31aeb8f159aeb SHA1 a1b495e52465c2eabb2d19a6cd0691f25e54db8f SHA256 894728e6006d264da1fef4ac130031c3627b30e6865f052bc90c66bec4b9a920
-DIST greenlet-0.2.tar.gz 22124 RMD160 8f32f008f5846dd99d14115f4c8c7aa9b1e2a428 SHA1 b864ec8db6685f72e7174b7df57ac644d12f9fd5 SHA256 d1919d283f7e7a2cbb474c620efb703811408026f8c6b25f923acd8b49deebaa
-EBUILD greenlet-0.2.ebuild 612 RMD160 d8607474239f22f716600b364d51280d32a3e90f SHA1 78d78bbd3dbabfb40992378437542e128643e2a0 SHA256 93824c8c5f78f1c2fdcd2885071761bf74b238bb9fc76e9e215955f82237798e
-MISC ChangeLog 670 RMD160 f0b2442a06747fec76acf6f192e2bf0308e60c04 SHA1 095071ff2d4a48d403486f2062106ce28328719a SHA256 e33b6e7161734aca1030f8d9e6caafcd31c7c383273e606458b60e89be28202e
+DIST greenlet-0.3.tar.gz 37995 RMD160 240caaa9d93558bcb9f01760e2f1a97ce339ca0e SHA1 651f1e457eb1e5a655504e98789f9a90d15eb867 SHA256 332081e9e69c9f7a368af9e29e4b45c28f6747fc466d4685ec667d5019d85405
+EBUILD greenlet-0.3.ebuild 654 RMD160 297f9318fa5a99ce6da3bfc95ccd5cb785f9caa6 SHA1 2672b0ce01bc58b08182480fbce179cdf34bf9e0 SHA256 2d18993fcdc346e559c4c6fd33b2f0700767a632dcf44cc2ac6f3c55f77f3f62
+MISC ChangeLog 850 RMD160 84105dc7ab0224752a2c28585ce505ff655c460b SHA1 7477d737518ede91dde677d1301adf79fc2e59dc SHA256 07a5518190230d42e49d6a2d67e08566075fd73f3072ef5dc9751d581bef12b2
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-python/greenlet/files/fix_setuptools.patch b/dev-python/greenlet/files/fix_setuptools.patch
deleted file mode 100644
index c15dcb70d..000000000
--- a/dev-python/greenlet/files/fix_setuptools.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- setup.py.old 2009-09-08 14:59:48.000000000 +0200
-+++ setup.py 2009-09-08 15:00:07.000000000 +0200
-@@ -1,7 +1,7 @@
- #!/usr/bin/env python
-
--import ez_setup
--ez_setup.use_setuptools()
-+from ez_setup import use_setuptools
-+use_setuptools()
-
- from setuptools import setup, Extension
-
-
diff --git a/dev-python/greenlet/greenlet-0.2.ebuild b/dev-python/greenlet/greenlet-0.3.ebuild
index 88946e9b3..81676f3f2 100644
--- a/dev-python/greenlet/greenlet-0.2.ebuild
+++ b/dev-python/greenlet/greenlet-0.3.ebuild
@@ -2,9 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
-inherit distutils eutils
+inherit distutils
DESCRIPTION="Lightweight in-process concurrent programming"
HOMEPAGE="http://undefined.org/python/#greenlet"
@@ -17,12 +18,11 @@ IUSE="test"
DEPEND="dev-python/setuptools
test? ( dev-python/nose )"
-RDEPEND="dev-lang/python"
-
-src_prepare() {
- epatch "${FILESDIR}/fix_setuptools.patch"
-}
+RDEPEND=""
src_test() {
- "${python}" setup.py test || die "Tests failed"
+ testing() {
+ PYTHONPATH=".:$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py test || die "Tests failed"
+ }
+ python_execute_function testing
}