new version, #109385
authorJohn N. Laliberte <allanonjl@gentoo.org>
Sat, 29 Oct 2005 22:12:18 +0000 (22:12 +0000)
committerJohn N. Laliberte <allanonjl@gentoo.org>
Sat, 29 Oct 2005 22:12:18 +0000 (22:12 +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.2 [new file with mode: 0644]
dev-python/pygtk/pygtk-2.8.2.ebuild [new file with mode: 0644]

index 5ebf8a71d2ea2f449929f8222bf4bc2665f3b614..3e39559d1dcdda992947d980aec6333ec5fcb8b8 100644 (file)
@@ -1,6 +1,11 @@
 # 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.94 2005/10/20 13:28:48 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.95 2005/10/29 22:12:18 allanonjl Exp $
+
+*pygtk-2.8.2 (29 Oct 2005)
+
+  29 Oct 2005; John N. Laliberte <allanonjl@gentoo.org> +pygtk-2.8.2.ebuild:
+  new version, #109385
 
   20 Oct 2005; Tom Gall <tgall@gentoo.org> pygtk-2.8.0-r2:
   added ~ppc64, bug #108808
index 938f981cf03184ddfc507fba92d7426706027dc8..03cb402bf7b1e198e4fe287c9ec9e8aeda611e34 100644 (file)
@@ -1,26 +1,28 @@
-MD5 bbf571a8c61c39e74d17d3af7b85521e ChangeLog 11762
-MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487
-MD5 45543d429e90ce33b89f93daf796ea3c pygtk-0.6.11-r1.ebuild 1874
-MD5 0320b3883c761bc3e567cc1f04a30e53 pygtk-0.6.11.ebuild 590
-MD5 914a078d84c0a269013e6524a52e6220 pygtk-1.99.13-r1.ebuild 993
-MD5 84fb207ffe10ecd3be8502f0449556a2 pygtk-2.0.0-r1.ebuild 2062
-MD5 7ffd433ac94020e9547ed67c93806054 pygtk-2.0.0.ebuild 925
+MD5 631eb3861c893f6e316971584131cffb pygtk-2.6.0.ebuild 2548
 MD5 5d2c87676a6ea4abbff3e7d05936c8fd pygtk-2.2.0.ebuild 2171
 MD5 f4ee17cab3eeaa73ead5470486323fda pygtk-2.4.1.ebuild 2570
-MD5 631eb3861c893f6e316971584131cffb pygtk-2.6.0.ebuild 2548
-MD5 c98fd03000b9e5894521c5e818946aa7 pygtk-2.6.1.ebuild 2550
 MD5 6ca640c60a9234eb828592edfa896b2e pygtk-2.6.2.ebuild 2558
 MD5 508fe919fc62bb994522447a300b2512 pygtk-2.8.0-r1.ebuild 2660
+MD5 84fb207ffe10ecd3be8502f0449556a2 pygtk-2.0.0-r1.ebuild 2062
+MD5 914a078d84c0a269013e6524a52e6220 pygtk-1.99.13-r1.ebuild 993
+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 8a5d11f8b0e13bd05fddafef2ffa99a8 pygtk-2.8.2.ebuild 2648
+MD5 9e9ee1d1b61cc3189eff34f9ab5c1bab ChangeLog 11895
+MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487
 MD5 95c5edd167295a3eb9f3799bcfde09e9 pygtk-2.8.0-r2.ebuild 2646
 MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11 64
-MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11-r1 64
 MD5 24c9de51067b362e1e30dd1d3019e1b0 files/digest-pygtk-1.99.13-r1 65
 MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0 64
-MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0-r1 64
 MD5 a6372d851a8b936f2df258b93a5bc719 files/digest-pygtk-2.2.0 64
 MD5 39ecd0ee60f11eff2a596002e0ddf34d files/digest-pygtk-2.4.1 129
 MD5 19690d7b7578eaf46c0ce7d12936dac3 files/digest-pygtk-2.6.0 129
 MD5 305e4c07dfd9d7d6969fd60f0d3941fc files/digest-pygtk-2.6.1 129
 MD5 7ef10e46829de61df5659a3982a83991 files/digest-pygtk-2.6.2 129
+MD5 d674d40f2f302c849e4404649418986e files/digest-pygtk-2.8.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.2 b/dev-python/pygtk/files/digest-pygtk-2.8.2
new file mode 100644 (file)
index 0000000..f209d8e
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 455b50a79015e46b8bcb0664f6d1ece8 pygtk-2.8.2.tar.bz2 748763
+MD5 b7c7f1aaaf24165d4cb2a5f4e2225d34 pygtk2reference.tbz2 604463
diff --git a/dev-python/pygtk/pygtk-2.8.2.ebuild b/dev-python/pygtk/pygtk-2.8.2.ebuild
new file mode 100644 (file)
index 0000000..6f67d00
--- /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.2.ebuild,v 1.1 2005/10/29 22:12:18 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 ~ppc64"
+IUSE="opengl doc"
+
+RDEPEND=">=dev-lang/python-2.3
+       >=x11-libs/gtk+-2.8.0
+       >=dev-libs/glib-2.8.0
+       >=x11-libs/pango-1.10.0
+       >=dev-libs/atk-1.8.0
+       >=gnome-base/libglade-2.5.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]
+}