summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-10 20:10:16 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-10 20:10:16 +0000
commite753a150217030869548bc6a5c9b76260d4dfa68 (patch)
tree6587fa285d716c50b30980b150faa777fc860356 /dev-python/pygtkglext
parentVersion bump #314447 by Jesse Adelman. (diff)
downloadhistorical-e753a150217030869548bc6a5c9b76260d4dfa68.tar.gz
historical-e753a150217030869548bc6a5c9b76260d4dfa68.tar.bz2
historical-e753a150217030869548bc6a5c9b76260d4dfa68.zip
Set SUPPORT_PYTHON_ABIS. Delete calls to deprecated python_version() (bug #314455).
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pygtkglext')
-rw-r--r--dev-python/pygtkglext/ChangeLog8
-rw-r--r--dev-python/pygtkglext/Manifest14
-rw-r--r--dev-python/pygtkglext/pygtkglext-1.1.0.ebuild33
3 files changed, 26 insertions, 29 deletions
diff --git a/dev-python/pygtkglext/ChangeLog b/dev-python/pygtkglext/ChangeLog
index e73349e0011b..f5ddad6fff93 100644
--- a/dev-python/pygtkglext/ChangeLog
+++ b/dev-python/pygtkglext/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pygtkglext
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.40 2008/10/27 10:22:51 hawking Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.41 2010/04/10 20:10:16 arfrever Exp $
+
+ 10 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pygtkglext-1.1.0.ebuild:
+ Set SUPPORT_PYTHON_ABIS. Delete calls to deprecated python_version() (bug #314455).
27 Oct 2008; Ali Polatel <hawking@gentoo.org> pygtkglext-1.1.0.ebuild:
Use python_need_rebuild.
diff --git a/dev-python/pygtkglext/Manifest b/dev-python/pygtkglext/Manifest
index 3485e14b6733..fe9ecd769608 100644
--- a/dev-python/pygtkglext/Manifest
+++ b/dev-python/pygtkglext/Manifest
@@ -1,14 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST pygtkglext-1.1.0.tar.bz2 349067 RMD160 a050519f520dc45254f485bdc2c41e2d51a2d26f SHA1 a22962982d12a43acac7601a8b370ec02834eb8f SHA256 7f0104347659a81cd5bd84007b97547d18a8a216f5df2629f379ea7f87a1410a
-EBUILD pygtkglext-1.1.0.ebuild 1310 RMD160 61239d45005f2cc13e13ea966a60b3a7cff5045a SHA1 7a6f408e79dd7b687d70a2566d7904ea17b1919b SHA256 20c1f3256f61de85121c235787d9f8593942fc5a40c2b2a743c21e9e35f447fb
-MISC ChangeLog 5041 RMD160 d98344108c728775348f061f531c4aa962214d09 SHA1 62439cef19e0b9f9a4d6fa24534e120e37c9321a SHA256 cd6f8970e4c62e26fd0efe7f2d91c653f917998c93a22cbdba4bc885eee09b3f
+EBUILD pygtkglext-1.1.0.ebuild 1234 RMD160 a9261601a75f8e7ab3d6cc23748c9b7ac97fc0f8 SHA1 197de9c806692ff3506f32be500528925f1e1b1c SHA256 ccb28fea883b067f581b4678398c6b537ae69d8d0913e322fef6d014a4e163e8
+MISC ChangeLog 5229 RMD160 1420d7695aef7a2d63848afa303227a3c39f2d0d SHA1 fcea9b2c7abc47130b65e188dd7fc66b3a955974 SHA256 accccf6c09a9bff499b2310784e2d1a6a113c07d0ca138afe60177f81804675e
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkFloMACgkQQU4yORhF8iBfFwCgnVkNmXOjB0T9GI0wE+PLTG0R
-mpgAoMZkmV4coO7Q/LY3cHiigMXMebSW
-=91Ws
------END PGP SIGNATURE-----
diff --git a/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild b/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
index 0ae05f039732..84fd8f6094cd 100644
--- a/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
+++ b/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
@@ -1,14 +1,18 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild,v 1.21 2008/10/27 10:22:51 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild,v 1.22 2010/04/10 20:10:16 arfrever Exp $
-NEED_PYTHON="2.3"
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_EXPORT_PHASE_FUNCTIONS="1"
-inherit python multilib
+inherit python
DESCRIPTION="Python bindings to GtkGLExt"
HOMEPAGE="http://gtkglext.sourceforge.net/"
SRC_URI="mirror://sourceforge/gtkglext/${P}.tar.bz2"
+
LICENSE="LGPL-2.1 GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
@@ -23,19 +27,20 @@ RDEPEND=">=dev-python/pygtk-2.8
virtual/glu"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+RESTRICT_PYTHON_ABIS="3.*"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # disable pyc compiling
+src_prepare() {
+ # Disable byte-compilation.
mv py-compile py-compile.orig
ln -s $(type -P true) py-compile
+
+ python_copy_sources
}
src_install() {
- python_need_rebuild
- emake DESTDIR="${D}" install || die "emake install failed"
+ python_src_install
+ python_clean_sitedirs
+
dodoc README AUTHORS ChangeLog
if use examples; then
@@ -45,11 +50,9 @@ src_install() {
}
pkg_postinst() {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
+ python_mod_optimize gtk-2.0
}
pkg_postrm() {
- python_version
- python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
+ python_mod_cleanup gtk-2.0
}