summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-01-11 02:16:15 +0000
committerMike Gilbert <floppym@gentoo.org>2012-01-11 02:16:15 +0000
commit165d887ae060eb7f18a52aa7cf5153f5b438e664 (patch)
treef62f9367c78a498660b6c57a25eb6865b6a8f49b /dev-python/simplegeneric
parentkeyword ~x86-macos (diff)
downloadhistorical-165d887ae060eb7f18a52aa7cf5153f5b438e664.tar.gz
historical-165d887ae060eb7f18a52aa7cf5153f5b438e664.tar.bz2
historical-165d887ae060eb7f18a52aa7cf5153f5b438e664.zip
Make setup.py work under python3. Set PYTHON_MODNAME.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-python/simplegeneric')
-rw-r--r--dev-python/simplegeneric/ChangeLog5
-rw-r--r--dev-python/simplegeneric/Manifest14
-rw-r--r--dev-python/simplegeneric/simplegeneric-0.8.ebuild10
3 files changed, 24 insertions, 5 deletions
diff --git a/dev-python/simplegeneric/ChangeLog b/dev-python/simplegeneric/ChangeLog
index 3523c1c4f67e..83283506eccc 100644
--- a/dev-python/simplegeneric/ChangeLog
+++ b/dev-python/simplegeneric/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/simplegeneric
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/ChangeLog,v 1.1 2012/01/10 17:05:00 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/ChangeLog,v 1.2 2012/01/11 02:16:15 floppym Exp $
+
+ 11 Jan 2012; Mike Gilbert <floppym@gentoo.org> simplegeneric-0.8.ebuild:
+ Make setup.py work under python3. Set PYTHON_MODNAME.
*simplegeneric-0.8 (10 Jan 2012)
diff --git a/dev-python/simplegeneric/Manifest b/dev-python/simplegeneric/Manifest
index 1087f65ecda5..094191dae7d6 100644
--- a/dev-python/simplegeneric/Manifest
+++ b/dev-python/simplegeneric/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST simplegeneric-0.8.zip 16114 RMD160 1e7bbee6a280e2271f5249b10aa3062d5d9b74d5 SHA1 0bd3e0f6f8cedfc39a8dc63a5251e104da597b7b SHA256 8c0c4963da2695ba7c0f953f2cdac31d2c41d619fe9419e9d75432f8a231f966
-EBUILD simplegeneric-0.8.ebuild 631 RMD160 8725da26fabc9169b2ad7e03f6c805750dae496c SHA1 70491fe9e74e2b8c5797893c37230db7d75f65b2 SHA256 daddb732faaabac5f6a13e3d980c108262c55af727c9cbf3f9563e60a5c8a0e9
-MISC ChangeLog 374 RMD160 ec400f757dd24c4ee9e05028c69792779962d8dd SHA1 3b7edafd9de630dbe9276c453e75901d0211dae1 SHA256 534d2aa56a7264c41fd1bd1bc4f31c2ac199c7e3969f5285e8f8091b4266666d
+EBUILD simplegeneric-0.8.ebuild 720 RMD160 f1e8c0f5c7a288cbb552e8371538c02803df33b3 SHA1 92a45415ceb834b1a698f228b64f59b49b034bbe SHA256 10343b69774e6af3d8c0b6a4bb14813b947d0f063dccd477692c9c2ed7a0d8d6
+MISC ChangeLog 505 RMD160 919ac88be3ea4045149fabaf6cfd34f4addb79ae SHA1 6c023df980fe67558c65811c78d1d719093356d2 SHA256 610ea2ed357c6fc16257c247fe26f2ab1714e8d0c6415e4822cb8a51016b69d4
MISC metadata.xml 573 RMD160 fbc06eea93477f8d2d9c9c055cb7b4df8afcbcf4 SHA1 6a9f773bab76de59c0985f88fe5a83cfef6c6bd8 SHA256 7f5b6d19b9c76eb1f3503f9008ba3770ae92ca325c7dfc1f5d60ad83c2fa24bd
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk8M8PgACgkQC77qH+pIQ6Q2JgD/WA5PjGTSIDREEWUMdoXKn3d+
+R5YYoqtyCCI2JS8zHBUA/3OleylEOqBO6CA0vTmp41qA5SZnads92wgIr8tUYgGy
+=oyjH
+-----END PGP SIGNATURE-----
diff --git a/dev-python/simplegeneric/simplegeneric-0.8.ebuild b/dev-python/simplegeneric/simplegeneric-0.8.ebuild
index 03c0cd05af44..e06b1752bd6f 100644
--- a/dev-python/simplegeneric/simplegeneric-0.8.ebuild
+++ b/dev-python/simplegeneric/simplegeneric-0.8.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/simplegeneric-0.8.ebuild,v 1.2 2012/01/10 20:48:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/simplegeneric-0.8.ebuild,v 1.3 2012/01/11 02:16:15 floppym Exp $
EAPI=4
-# python eclass cruft
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="setup.py"
@@ -22,3 +21,10 @@ IUSE=""
DEPEND="app-arch/unzip
dev-python/setuptools"
RDEPEND=""
+
+PYTHON_MODNAME="${PN}.py"
+
+src_prepare() {
+ sed -e "s/file(/open(/" -i setup.py || die
+ distutils_src_prepare
+}