summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2007-07-17 00:20:14 +0000
committerLuis Medinas <metalgod@gentoo.org>2007-07-17 00:20:14 +0000
commit4cc52aa936c6a64d5d5df35b1b4091cb91f5388e (patch)
treecbc79e708321baf7f195a8fc7e8997dae68d5db0 /dev-python/pygtk
parentgnome-base/gnome-desktop: bump to 2.18.3 (updated translation) (diff)
downloadgentoo-2-4cc52aa936c6a64d5d5df35b1b4091cb91f5388e.tar.gz
gentoo-2-4cc52aa936c6a64d5d5df35b1b4091cb91f5388e.tar.bz2
gentoo-2-4cc52aa936c6a64d5d5df35b1b4091cb91f5388e.zip
Version Bump.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r--dev-python/pygtk/ChangeLog7
-rw-r--r--dev-python/pygtk/files/digest-pygtk-2.10.66
-rw-r--r--dev-python/pygtk/pygtk-2.10.6.ebuild91
3 files changed, 103 insertions, 1 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog
index e5c1835fce61..92e69da16a0e 100644
--- a/dev-python/pygtk/ChangeLog
+++ b/dev-python/pygtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pygtk
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.156 2007/06/29 11:34:13 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.157 2007/07/17 00:20:14 metalgod Exp $
+
+*pygtk-2.10.6 (17 Jul 2007)
+
+ 17 Jul 2007; <metalgod@gentoo.org> +pygtk-2.10.6.ebuild:
+ Version Bump.
29 Jun 2007; Mart Raudsepp <leio@gentoo.org> -pygtk-2.6.1.ebuild,
-pygtk-2.6.2.ebuild, -pygtk-2.10.3.ebuild:
diff --git a/dev-python/pygtk/files/digest-pygtk-2.10.6 b/dev-python/pygtk/files/digest-pygtk-2.10.6
new file mode 100644
index 000000000000..364e98ddffb2
--- /dev/null
+++ b/dev-python/pygtk/files/digest-pygtk-2.10.6
@@ -0,0 +1,6 @@
+MD5 f051e25adcbdc1ddcf736fadad3d66f2 pygtk-2.10.6.tar.bz2 1977892
+RMD160 504492d461bb4604bc5dd57bbde729ea30a116dc pygtk-2.10.6.tar.bz2 1977892
+SHA256 e524a45b7ffab55c441bafff43f9583e48616ce48a150413f30208e540435ac9 pygtk-2.10.6.tar.bz2 1977892
+MD5 ad0624dd26a19fbb9286c1c7711a60bc pygtk2reference-2.9.0.tar.bz2 759824
+RMD160 966cae10fa93b512f565aa0d552a8c83fe5de53f pygtk2reference-2.9.0.tar.bz2 759824
+SHA256 a01cf19a26aca49b2522f6c987cb48bcc9a2a393b4383709707acd5a994e00fd pygtk2reference-2.9.0.tar.bz2 759824
diff --git a/dev-python/pygtk/pygtk-2.10.6.ebuild b/dev-python/pygtk/pygtk-2.10.6.ebuild
new file mode 100644
index 000000000000..500d3c98cdd1
--- /dev/null
+++ b/dev-python/pygtk/pygtk-2.10.6.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild,v 1.1 2007/07/17 00:20:14 metalgod 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.10.0
+ >=dev-libs/atk-1.8.0
+ >=x11-libs/gtk+-2.10.0
+ >=gnome-base/libglade-2.5.0
+ >=dev-python/pycairo-1.0.2
+ >=dev-python/pygobject-2.12.1
+ !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 /bin/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() {
+ 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]
+}