remove gnome useflag for libglade, fixes #103056
authorJohn N. Laliberte <allanonjl@gentoo.org>
Sat, 15 Oct 2005 02:10:45 +0000 (02:10 +0000)
committerJohn N. Laliberte <allanonjl@gentoo.org>
Sat, 15 Oct 2005 02:10:45 +0000 (02:10 +0000)
Package-Manager: portage-2.0.51.22-r3

dev-python/pygtk/ChangeLog
dev-python/pygtk/Manifest
dev-python/pygtk/files/digest-pygtk-2.8.0-r2 [new file with mode: 0644]
dev-python/pygtk/pygtk-2.8.0-r2.ebuild [new file with mode: 0644]

index 71342f8e9f9161369c9d56038f149b431314f559..e7963af97826ef8fbd2eee7ad980e39c10f0d91e 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/pygtk
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.92 2005/10/14 12:43:17 allanonjl Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.93 2005/10/15 02:10:45 allanonjl Exp $
+
+*pygtk-2.8.0-r2 (15 Oct 2005)
+
+  15 Oct 2005; John N. Laliberte <allanonjl@gentoo.org>
+  +pygtk-2.8.0-r2.ebuild:
+  remove gnome useflag for libglade, fixes #103056
 
   14 Oct 2005; John N. Laliberte <allanonjl@gentoo.org> pygtk-2.8.0.ebuild:
   make pycairo >=0.9.0 due to bug #107331
index 84d324301b3a70c9e14d704dfc4c10602738723b..a7cb91f4dfb45d5dd0f3b18682507c3f77afc7d9 100644 (file)
@@ -9,8 +9,9 @@ MD5 0320b3883c761bc3e567cc1f04a30e53 pygtk-0.6.11.ebuild 590
 MD5 7ffd433ac94020e9547ed67c93806054 pygtk-2.0.0.ebuild 925
 MD5 c98fd03000b9e5894521c5e818946aa7 pygtk-2.6.1.ebuild 2550
 MD5 45543d429e90ce33b89f93daf796ea3c pygtk-0.6.11-r1.ebuild 1874
-MD5 e2d18ec9f64340dbcc6f57555a384be8 ChangeLog 11495
+MD5 9f516c324428d0cdf609700bc562b743 ChangeLog 11660
 MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487
+MD5 e7e976ff89f0dbd4cd98f33133010c81 pygtk-2.8.0-r2.ebuild 2643
 MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11 64
 MD5 24c9de51067b362e1e30dd1d3019e1b0 files/digest-pygtk-1.99.13-r1 65
 MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0 64
@@ -22,3 +23,4 @@ MD5 7ef10e46829de61df5659a3982a83991 files/digest-pygtk-2.6.2 129
 MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11-r1 64
 MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0-r1 64
 MD5 da8cbe73131502e22369f56775a63cb5 files/digest-pygtk-2.8.0-r1 129
+MD5 da8cbe73131502e22369f56775a63cb5 files/digest-pygtk-2.8.0-r2 129
diff --git a/dev-python/pygtk/files/digest-pygtk-2.8.0-r2 b/dev-python/pygtk/files/digest-pygtk-2.8.0-r2
new file mode 100644 (file)
index 0000000..633d54e
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 fa1ec27360232cd318051f5196851f3e pygtk-2.8.0.tar.bz2 755987
+MD5 b7c7f1aaaf24165d4cb2a5f4e2225d34 pygtk2reference.tbz2 604463
diff --git a/dev-python/pygtk/pygtk-2.8.0-r2.ebuild b/dev-python/pygtk/pygtk-2.8.0-r2.ebuild
new file mode 100644 (file)
index 0000000..66dadd6
--- /dev/null
@@ -0,0 +1,88 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.8.0-r2.ebuild,v 1.1 2005/10/15 02:10:45 allanonjl Exp $
+
+inherit gnome.org python flag-o-matic
+
+DESCRIPTION="GTK+2 bindings for Python"
+HOMEPAGE="http://www.pygtk.org/"
+SRC_URI="${SRC_URI}
+       doc? ( http://www.pygtk.org/dist/pygtk2reference.tbz2 )"
+
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="opengl doc"
+
+RDEPEND=">=dev-lang/python-2.3
+       >=x11-libs/gtk+-2.7.4
+       >=dev-libs/glib-2.7.4
+       >=x11-libs/pango-1.9.0
+       >=dev-libs/atk-1.8.0
+       >=gnome-base/libglade-2.4.0
+       >=dev-python/pycairo-0.9.0
+       !arm? ( dev-python/numeric )
+       opengl? ( virtual/opengl
+               dev-python/pyopengl
+               >=x11-libs/gtkglarea-1.99 )"
+
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.9"
+
+src_unpack() {
+       unpack ${A}
+       if use doc; then
+               unpack pygtk2reference.tbz2
+       fi
+       # 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 --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
+       rm examples/Makefile*
+       cp -r examples ${D}/usr/share/doc/${PF}/
+
+       python_version
+       mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \
+               ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0
+       mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \
+               ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0
+
+       if use doc; then
+               cd ${S}/../
+               dodir /usr/share/gtk-doc/html
+               cp -pPR pygtk2reference ${D}/usr/share/gtk-doc/html/
+       fi
+}
+
+src_test() {
+       cd tests
+       make check-local
+}
+
+pkg_postinst() {
+       python_version
+       python_mod_optimize /usr/share/pygtk/2.0/codegen /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
+       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]
+       python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py
+}
+
+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]
+}