new version
authorJohn N. Laliberte <allanonjl@gentoo.org>
Fri, 26 Aug 2005 00:38:10 +0000 (00:38 +0000)
committerJohn N. Laliberte <allanonjl@gentoo.org>
Fri, 26 Aug 2005 00:38:10 +0000 (00:38 +0000)
Package-Manager: portage-2.0.51.22-r2

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

index bb9c66c2f73ac19ed42ecee5d768b30e3656dda7..948d7dea6c019b3ebdf000a4afd6e8c891b5ca0f 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.87 2005/08/23 16:31:21 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.88 2005/08/26 00:38:10 allanonjl Exp $
+
+*pygtk-2.7.4 (26 Aug 2005)
+
+  26 Aug 2005; John N. Laliberte <allanonjl@gentoo.org> +pygtk-2.7.4.ebuild:
+  new version
 
   23 Aug 2005; Aron Griffis <agriffis@gentoo.org> pygtk-2.6.1.ebuild:
   stable on ia64
index 660cc00cfc563904e96abe9ee502e171564ecdca..1a34a5d37b67149ed2d30d25be959bbe5c4f57b0 100644 (file)
@@ -1,32 +1,24 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+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 6ca640c60a9234eb828592edfa896b2e pygtk-2.6.2.ebuild 2558
 MD5 84fb207ffe10ecd3be8502f0449556a2 pygtk-2.0.0-r1.ebuild 2062
-MD5 6f19d436cd2c2ef988c76352f3c1e51d pygtk-2.6.1.ebuild 2550
-MD5 0320b3883c761bc3e567cc1f04a30e53 pygtk-0.6.11.ebuild 590
 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 8f03582f883634bcb2007a13b8350931 metadata.xml 487
-MD5 6ca640c60a9234eb828592edfa896b2e pygtk-2.6.2.ebuild 2558
-MD5 f4ee17cab3eeaa73ead5470486323fda pygtk-2.4.1.ebuild 2570
+MD5 6f19d436cd2c2ef988c76352f3c1e51d pygtk-2.6.1.ebuild 2550
 MD5 45543d429e90ce33b89f93daf796ea3c pygtk-0.6.11-r1.ebuild 1874
-MD5 631eb3861c893f6e316971584131cffb pygtk-2.6.0.ebuild 2548
-MD5 24dd242a1b0c5912dfd7a52f80849dd9 ChangeLog 10804
-MD5 5d2c87676a6ea4abbff3e7d05936c8fd pygtk-2.2.0.ebuild 2171
-MD5 305e4c07dfd9d7d6969fd60f0d3941fc files/digest-pygtk-2.6.1 129
-MD5 a6372d851a8b936f2df258b93a5bc719 files/digest-pygtk-2.2.0 64
-MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0-r1 64
-MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11-r1 64
-MD5 24c9de51067b362e1e30dd1d3019e1b0 files/digest-pygtk-1.99.13-r1 65
+MD5 68e380eba6f7fd20d100a05cda270839 pygtk-2.7.4.ebuild 2636
+MD5 9138d8d2c2f9c9523b202eb4459b5d94 ChangeLog 10925
+MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487
 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
-MD5 7ef10e46829de61df5659a3982a83991 files/digest-pygtk-2.6.2 129
+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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDC8pTgIKl8Uu19MoRAjp9AJ43PLVg4NTt3dm2y+c9MsW3D94thgCfTfhx
-Td6SeJXp/sfK1MY1ma81WjA=
-=AtrL
------END PGP SIGNATURE-----
+MD5 305e4c07dfd9d7d6969fd60f0d3941fc files/digest-pygtk-2.6.1 129
+MD5 7ef10e46829de61df5659a3982a83991 files/digest-pygtk-2.6.2 129
+MD5 6f0123334ab5b14ade7496c989d0f442 files/digest-pygtk-2.7.4 129
+MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11-r1 64
+MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0-r1 64
diff --git a/dev-python/pygtk/files/digest-pygtk-2.7.4 b/dev-python/pygtk/files/digest-pygtk-2.7.4
new file mode 100644 (file)
index 0000000..9f2e2b9
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 103670cb22c6cb65375dbd68aa727315 pygtk-2.7.4.tar.bz2 752672
+MD5 b7c7f1aaaf24165d4cb2a5f4e2225d34 pygtk2reference.tbz2 604463
diff --git a/dev-python/pygtk/pygtk-2.7.4.ebuild b/dev-python/pygtk/pygtk-2.7.4.ebuild
new file mode 100644 (file)
index 0000000..fdf0eef
--- /dev/null
@@ -0,0 +1,87 @@
+# 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.7.4.ebuild,v 1.1 2005/08/26 00:38:10 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gnome 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
+       >=dev-python/pycairo-0.5.0
+       !arm? ( dev-python/numeric )
+       gnome? ( >=gnome-base/libglade-2.4.0 )
+       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}/../pygtk2reference
+               dohtml -r *
+       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]
+}