Version bump. Updated dependencies.
authorLukasz Strzygowski <lucass@gentoo.org>
Sun, 3 Oct 2004 21:33:40 +0000 (21:33 +0000)
committerLukasz Strzygowski <lucass@gentoo.org>
Sun, 3 Oct 2004 21:33:40 +0000 (21:33 +0000)
dev-python/pygtk/ChangeLog
dev-python/pygtk/Manifest
dev-python/pygtk/files/digest-pygtk-2.4.0 [new file with mode: 0644]
dev-python/pygtk/pygtk-2.4.0.ebuild [new file with mode: 0644]

index 5bd3ee2851361ae865af8675393bf6a5ee1b815a..963802dc2ba1734fafc63758ebf5ac955a42d171 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pygtk
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.59 2004/09/28 19:24:43 lucass Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.60 2004/10/03 21:33:39 lucass Exp $
+
+*pygtk-2.4.0 (03 Oct 2004)
+
+  03 Oct 2004; Lukasz Strzygowski <lucass@gentoo.org> +pygtk-2.4.0.ebuild:
+  Version bump. Updated dependencies.
 
 *pygtk-2.3.97 (28 Sep 2004)
 
index 53d9a65c78e0849c678861932b0f6b821a918cb7..00d4b05a1170233905c4c44dcd361cca0798feea 100644 (file)
@@ -7,13 +7,14 @@ MD5 c44b5d453b04018744b211ed212a7100 pygtk-1.99.13-r1.ebuild 993
 MD5 ff60a03aa8eb096ebfcc9e38a1922347 pygtk-0.6.11.ebuild 590
 MD5 8ba6aa1af0389c595528a1c04fe3fe7b pygtk-2.0.0.ebuild 925
 MD5 83e215f5d87a4d1cc873a9ee771232d7 pygtk-0.6.11-r1.ebuild 1943
-MD5 bdda92eb7c7e2f7a79082c9bd7821bc8 ChangeLog 7566
+MD5 57c7ccefa2c3241c11fe6267aaa1bab0 ChangeLog 7708
 MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487
 MD5 d6aad0563020d6765ac99b4c8885ae04 pygtk-2.3.92.ebuild 2176
 MD5 259449a445316a98d7acfe1150ab9c61 pygtk-2.3.93.ebuild 2285
 MD5 99454362d00700bd23ff7fb839fd5b83 pygtk-2.3.94.ebuild 2285
 MD5 3069d4e549ab833bae5bae921c93c925 pygtk-2.3.96.ebuild 2285
 MD5 996f2239f6ccc279098d73eba0bbfcd6 pygtk-2.3.97.ebuild 2285
+MD5 7a7c71e57aacfba8d77a320e3c8715d3 pygtk-2.4.0.ebuild 2246
 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
@@ -25,10 +26,11 @@ MD5 b27a01a602fb3885e62260608eea98cc files/digest-pygtk-2.3.93 65
 MD5 ddd1d78657aebbac287f5228864fe71a files/digest-pygtk-2.3.94 65
 MD5 c5dfeb8e9633fafa722144be6693df2e files/digest-pygtk-2.3.96 65
 MD5 3bd117ae32767c499e4da7e80d03ece8 files/digest-pygtk-2.3.97 65
+MD5 928b221404d07fcc1913b00f8498cf3d files/digest-pygtk-2.4.0 64
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBWbre2jLqHNfbg2URAk7MAJ9BJPsI+Th4jqUfJ/bFjCY5mUVzDgCdEVVa
-EYMrRKhQLXMTJrGwCLSYhR4=
-=T8mm
+iD8DBQFBYHC22jLqHNfbg2URAvoBAJ9k/lExxN1nKceCjylsjx3hZt+CFACfZLOc
+lcsx3wytxHAdDbQnzekGKvI=
+=F/X3
 -----END PGP SIGNATURE-----
diff --git a/dev-python/pygtk/files/digest-pygtk-2.4.0 b/dev-python/pygtk/files/digest-pygtk-2.4.0
new file mode 100644 (file)
index 0000000..7793289
--- /dev/null
@@ -0,0 +1 @@
+MD5 d3ae939f0d484cde22169e3e63021049 pygtk-2.4.0.tar.bz2 710461
diff --git a/dev-python/pygtk/pygtk-2.4.0.ebuild b/dev-python/pygtk/pygtk-2.4.0.ebuild
new file mode 100644 (file)
index 0000000..c72f47b
--- /dev/null
@@ -0,0 +1,73 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.4.0.ebuild,v 1.1 2004/10/03 21:33:40 lucass Exp $
+
+inherit gnome.org python flag-o-matic
+
+DESCRIPTION="GTK+2 bindings for Python"
+HOMEPAGE="http://www.pygtk.org/"
+SRC_URI="ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.4/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
+IUSE="gnome opengl"
+
+RDEPEND=">=dev-lang/python-2.3
+       >=x11-libs/gtk+-2.4.0
+       >=dev-libs/glib-2.4.0
+       gnome? ( >=gnome-base/libglade-2.3.6 )
+       opengl? ( virtual/opengl
+               dev-python/pyopengl
+               >=x11-libs/gtkglarea-1.99 )"
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.9"
+
+src_unpack() {
+       unpack ${A}
+       # 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() {
+       einstall || 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/lib/python${PYVER}/site-packages/pygtk.py \
+               ${D}/usr/lib/python${PYVER}/site-packages/pygtk.py-2.0
+       mv ${D}/usr/lib/python${PYVER}/site-packages/pygtk.pth \
+               ${D}/usr/lib/python${PYVER}/site-packages/pygtk.pth-2.0
+}
+
+src_test() {
+       cd tests
+       make check-local
+}
+
+pkg_postinst() {
+       python_version
+       python_mod_optimize /usr/share/pygtk/2.0/codegen /usr/lib/python${PYVER}/site-packages/gtk-2.0
+       alternatives_auto_makesym /usr/lib/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
+       alternatives_auto_makesym /usr/lib/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
+       python_mod_compile /usr/lib/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/lib/python${PYVER}/site-packages/pygtk.{py,pth}
+       alternatives_auto_makesym /usr/lib/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
+       alternatives_auto_makesym /usr/lib/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
+}