summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-08-31 16:03:55 +0000
committerMichał Górny <mgorny@gentoo.org>2013-08-31 16:03:55 +0000
commit5c2d349d48e3649f7346ad7847ad7029c8a16115 (patch)
treea14be2bde9475d39ad988001c9b9b69eab9fe53b /dev-python/pygtkglext
parentsparc stable wrt bug #482926 (diff)
downloadgentoo-2-5c2d349d48e3649f7346ad7847ad7029c8a16115.tar.gz
gentoo-2-5c2d349d48e3649f7346ad7847ad7029c8a16115.tar.bz2
gentoo-2-5c2d349d48e3649f7346ad7847ad7029c8a16115.zip
Convert to python-r1.
(Portage version: 2.2.1_p7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-python/pygtkglext')
-rw-r--r--dev-python/pygtkglext/ChangeLog10
-rw-r--r--dev-python/pygtkglext/pygtkglext-1.1.0-r1.ebuild51
2 files changed, 58 insertions, 3 deletions
diff --git a/dev-python/pygtkglext/ChangeLog b/dev-python/pygtkglext/ChangeLog
index 552e3b7ad533..02636e93b766 100644
--- a/dev-python/pygtkglext/ChangeLog
+++ b/dev-python/pygtkglext/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pygtkglext
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.44 2012/05/04 15:12:12 patrick Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.45 2013/08/31 16:03:55 mgorny Exp $
+
+*pygtkglext-1.1.0-r1 (31 Aug 2013)
+
+ 31 Aug 2013; Michał Górny <mgorny@gentoo.org> +pygtkglext-1.1.0-r1.ebuild:
+ Convert to python-r1.
04 May 2012; Patrick Lauer <patrick@gentoo.org> pygtkglext-1.1.0.ebuild:
Migrating dev-util/pkgconfig -> virtual/pkgconfig
@@ -164,4 +169,3 @@
26 Apr 2003; Alastair Tse <liquidx@gentoo.org> pygtkglext-0.0.2.ebuild:
initial commit
-
diff --git a/dev-python/pygtkglext/pygtkglext-1.1.0-r1.ebuild b/dev-python/pygtkglext/pygtkglext-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..a0f60fa56843
--- /dev/null
+++ b/dev-python/pygtkglext/pygtkglext-1.1.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/08/31 16:03:54 mgorny Exp $
+
+EAPI=5
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=modules
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit autotools-utils python-r1
+
+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"
+IUSE="examples"
+
+RDEPEND=">=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}]
+ >=dev-libs/glib-2.0:2
+ >=x11-libs/gtk+-2.0:2
+ >=x11-libs/gtkglext-1.0.0
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ virtual/opengl
+ virtual/glu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ python_parallel_foreach_impl autotools-utils_src_configure
+}
+
+src_compile() {
+ python_foreach_impl autotools-utils_src_compile
+}
+
+src_test() {
+ python_foreach_impl autotools-utils_src_test
+}
+
+src_install() {
+ python_foreach_impl autotools-utils_src_install
+
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples
+ dodoc examples/*.{py,png}
+ fi
+}