summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pygtkglext/ChangeLog6
-rw-r--r--dev-python/pygtkglext/pygtkglext-1.1.0.ebuild22
2 files changed, 17 insertions, 11 deletions
diff --git a/dev-python/pygtkglext/ChangeLog b/dev-python/pygtkglext/ChangeLog
index d2b9befbd297..f81a7fe02d95 100644
--- a/dev-python/pygtkglext/ChangeLog
+++ b/dev-python/pygtkglext/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pygtkglext
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.29 2007/08/04 17:53:57 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.30 2007/08/04 18:59:53 dev-zero Exp $
+
+ 04 Aug 2007; Tiziano Müller <dev-zero@gentoo.org>
+ pygtkglext-1.1.0.ebuild:
+ Corrected the license, minor cleanup
04 Aug 2007; Samuli Suominen <drac@gentoo.org> pygtkglext-1.1.0.ebuild:
arm stable, fix manifest.
diff --git a/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild b/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
index 97f7366fed99..80cb2ea22c0e 100644
--- a/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
+++ b/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
@@ -1,20 +1,20 @@
# Copyright 1999-2007 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.10 2007/08/04 17:53:57 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild,v 1.11 2007/08/04 18:59:53 dev-zero Exp $
-inherit python eutils
+NEED_PYTHON="2.3"
+
+inherit python multilib
DESCRIPTION="Python bindings to GtkGLExt"
HOMEPAGE="http://gtkglext.sourceforge.net/"
SRC_URI="mirror://sourceforge/gtkglext/${P}.tar.bz2"
-
-LICENSE="GPL-2"
+LICENSE="LGPL-2.1 GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
-DEPEND=">=dev-lang/python-2.3
- >=dev-python/pygtk-2.8
+DEPEND=">=dev-python/pygtk-2.8
>=dev-libs/glib-2.0
>=x11-libs/gtk+-2.0
>=x11-libs/gtkglext-1.0.0
@@ -23,17 +23,19 @@ DEPEND=">=dev-lang/python-2.3
virtual/glu"
src_install() {
- make DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc README AUTHORS ChangeLog
+
insinto /usr/share/doc/${PF}/examples
- doins examples/*.py
+ doins examples/*.{py,png}
}
pkg_postinst() {
python_version
- python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
}
pkg_postrm() {
- python_mod_cleanup
+ python_version
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
}