summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pygtk/ChangeLog7
-rw-r--r--dev-python/pygtk/files/pygtk-2.12.0-extrafuncs.patch24
-rw-r--r--dev-python/pygtk/pygtk-2.12.0.ebuild93
-rw-r--r--dev-python/pygtk/pygtk-2.13.0.ebuild76
4 files changed, 6 insertions, 194 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog
index 6b29dce213bb..e22dd3ebaddc 100644
--- a/dev-python/pygtk/ChangeLog
+++ b/dev-python/pygtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pygtk
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.196 2009/02/21 19:34:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.197 2009/02/22 17:58:47 eva Exp $
+
+ 22 Feb 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ -files/pygtk-2.12.0-extrafuncs.patch, -pygtk-2.12.0.ebuild,
+ -pygtk-2.13.0.ebuild:
+ Clean up old revisions, closes #226323.
21 Feb 2009; Raúl Porcel <armin76@gentoo.org> pygtk-2.12.1-r2.ebuild:
arm/sh stable wrt #226323
diff --git a/dev-python/pygtk/files/pygtk-2.12.0-extrafuncs.patch b/dev-python/pygtk/files/pygtk-2.12.0-extrafuncs.patch
deleted file mode 100644
index b68d581b719f..000000000000
--- a/dev-python/pygtk/files/pygtk-2.12.0-extrafuncs.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN pygtk-2.12.0.orig/gtk/Makefile.am pygtk-2.12.0/gtk/Makefile.am
---- pygtk-2.12.0.orig/gtk/Makefile.am 2007-09-15 11:00:42.000000000 -0400
-+++ pygtk-2.12.0/gtk/Makefile.am 2007-12-22 11:17:35.000000000 -0500
-@@ -138,7 +138,7 @@ nodist__gtk_la_SOURCES = gtk.c gdk.c
- if BUILD_GTK
- pygtkexec_LTLIBRARIES += _gtk.la
- defs_DATA += $(GDK_DEFS) $(GDK_TYPES_DEFS) $(GTK_DEFS) $(GTK_TYPES_DEFS) \
-- gdk.defs gtk.defs gdk-types.defs gtk-types.defs
-+ gdk.defs gtk.defs gdk-types.defs gtk-types.defs gtk-extrafuncs.defs
- endif
-
- # libglade module
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN pygtk-2.12.0.orig/gtk/Makefile.in pygtk-2.12.0/gtk/Makefile.in
---- pygtk-2.12.0.orig/gtk/Makefile.in 2007-09-16 07:44:03.000000000 -0400
-+++ pygtk-2.12.0/gtk/Makefile.in 2007-12-22 11:26:52.000000000 -0500
-@@ -47,7 +47,7 @@ host_triplet = @host@
- @HAVE_GTK_2_12_TRUE@am__append_7 = gtk-2.12-types.defs
- @BUILD_GTK_TRUE@am__append_8 = _gtk.la
- @BUILD_GTK_TRUE@am__append_9 = $(GDK_DEFS) $(GDK_TYPES_DEFS) $(GTK_DEFS) $(GTK_TYPES_DEFS) \
--@BUILD_GTK_TRUE@ gdk.defs gtk.defs gdk-types.defs gtk-types.defs
-+@BUILD_GTK_TRUE@ gdk.defs gtk.defs gdk-types.defs gtk-types.defs gtk-extrafuncs.defs
-
- @BUILD_LIBGLADE_TRUE@am__append_10 = glade.la
- @BUILD_LIBGLADE_TRUE@am__append_11 = $(LIBGLADE_DEFS)
diff --git a/dev-python/pygtk/pygtk-2.12.0.ebuild b/dev-python/pygtk/pygtk-2.12.0.ebuild
deleted file mode 100644
index 91059f97492b..000000000000
--- a/dev-python/pygtk/pygtk-2.12.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.12.0.ebuild,v 1.10 2008/10/27 10:26:06 hawking Exp $
-
-NEED_PYTHON=2.3.5
-
-inherit gnome.org python flag-o-matic
-
-DESCRIPTION="GTK+2 bindings for Python"
-HOMEPAGE="http://www.pygtk.org/"
-
-DOC_FILE="pygtk2reference-2.9.0.tar.bz2"
-SRC_URI="${SRC_URI}
- doc? ( mirror://gnome/sources/pygtk2reference/2.9/${DOC_FILE} )"
-
-LICENSE="LGPL-2.1"
-SLOT="2"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE="doc examples opengl"
-
-RDEPEND=">=dev-libs/glib-2.8.0
- >=x11-libs/pango-1.16.0
- >=dev-libs/atk-1.12.0
- >=x11-libs/gtk+-2.11.6
- >=gnome-base/libglade-2.5.0
- >=dev-lang/python-2.4.4-r5
- >=dev-python/pycairo-1.0.2
- >=dev-python/pygobject-2.14
- !arm? ( dev-python/numeric )
- opengl? ( virtual/opengl
- dev-python/pyopengl
- >=x11-libs/gtkglarea-1.99
- )"
-
-DEPEND="${RDEPEND}
- doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 )
- >=dev-util/pkgconfig-0.9"
-
-# Tests fail (missing display)
-RESTRICT="test"
-
-src_unpack() {
- unpack ${A}
- use doc || sed -e 's/\(SUBDIRS =.*\) docs$/\1/' -i "${S}"/Makefile.am
-
- # disable pyc compiling
- mv "${S}"/py-compile "${S}"/py-compile.orig
- ln -s $(type -P true) "${S}"/py-compile
-}
-
-src_compile() {
- use hppa && append-flags -ffunction-sections
- econf $(use_enable doc docs) --enable-thread || die
- # possible problems with parallel builds (#45776)
- emake -j1 || die
-}
-
-src_install() {
- python_need_rebuild
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
-
- if use examples; then
- rm examples/Makefile*
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-
- if use doc; then
- insinto /usr/share/gtk-doc/html/pygtk
- cd "${WORKDIR}"/pygtk2reference
- doins -r cursors icons images
- fi
-}
-
-src_test() {
- cd tests
- make check-local || die "tests failed"
-}
-
-pkg_postinst() {
- python_version
- python_mod_optimize /usr/share/pygtk/2.0/codegen /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
-}
-
-pkg_postrm() {
- python_version
- python_mod_cleanup /usr/share/pygtk/2.0/codegen
- python_mod_cleanup
- rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
- alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
- alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
-}
diff --git a/dev-python/pygtk/pygtk-2.13.0.ebuild b/dev-python/pygtk/pygtk-2.13.0.ebuild
deleted file mode 100644
index 63508f6f4988..000000000000
--- a/dev-python/pygtk/pygtk-2.13.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.13.0.ebuild,v 1.2 2008/10/27 10:26:06 hawking Exp $
-
-inherit eutils flag-o-matic gnome.org python virtualx
-
-DESCRIPTION="GTK+2 bindings for Python"
-HOMEPAGE="http://www.pygtk.org/"
-
-LICENSE="LGPL-2.1"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="doc examples"
-
-RDEPEND=">=dev-libs/glib-2.8.0
- >=x11-libs/pango-1.16.0
- >=dev-libs/atk-1.12.0
- >=x11-libs/gtk+-2.13.6
- >=gnome-base/libglade-2.5.0
- >=dev-lang/python-2.4.4-r5
- >=dev-python/pycairo-1.0.2
- >=dev-python/pygobject-2.15.3
- !arm? ( dev-python/numeric )"
-
-DEPEND="${RDEPEND}
- doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 )
- >=dev-util/pkgconfig-0.9"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Fix declaration of codegen in .pc
- epatch "${FILESDIR}/${P}-fix-codegen-location.patch"
-
- # disable pyc compiling
- mv "${S}"/py-compile "${S}"/py-compile.orig
- ln -s $(type -P true) "${S}"/py-compile
-}
-
-src_compile() {
- use hppa && append-flags -ffunction-sections
- econf $(use_enable doc docs) --enable-thread
-
- emake || die "emake failed"
-}
-
-src_install() {
- python_need_rebuild
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
-
- if use examples; then
- rm examples/Makefile*
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
-
-src_test() {
- cd tests
- Xemake check-local || die "tests failed"
-}
-
-pkg_postinst() {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
-}
-
-pkg_postrm() {
- python_version
- python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gtk-2.0
- rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
- alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
- alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
-}