diff options
-rw-r--r-- | dev-python/pygtk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pygtk/Manifest | 12 | ||||
-rw-r--r-- | dev-python/pygtk/files/digest-pygtk-2.4.0 | 1 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.4.0.ebuild | 73 |
4 files changed, 82 insertions, 11 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog index 5bd3ee285136..963802dc2ba1 100644 --- a/dev-python/pygtk/ChangeLog +++ b/dev-python/pygtk/ChangeLog @@ -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) diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest index 53d9a65c78e0..6bccb8c7a8a4 100644 --- a/dev-python/pygtk/Manifest +++ b/dev-python/pygtk/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 297e00c2b16ea3228adbfb3aef9c750b pygtk-2.2.0.ebuild 2172 MD5 17378951adbc6dc775e2d2d5e5a54e2a pygtk-2.0.0-r1.ebuild 2062 MD5 c44b5d453b04018744b211ed212a7100 pygtk-1.99.13-r1.ebuild 993 @@ -14,6 +11,7 @@ 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 37faf656d64c7591763c7e5ae54974bf pygtk-2.4.0.ebuild 2285 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 +23,4 @@ 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 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBWbre2jLqHNfbg2URAk7MAJ9BJPsI+Th4jqUfJ/bFjCY5mUVzDgCdEVVa -EYMrRKhQLXMTJrGwCLSYhR4= -=T8mm ------END PGP SIGNATURE----- +MD5 928b221404d07fcc1913b00f8498cf3d files/digest-pygtk-2.4.0 64 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 index 000000000000..7793289f0707 --- /dev/null +++ b/dev-python/pygtk/files/digest-pygtk-2.4.0 @@ -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 index 000000000000..c72f47b10e1f --- /dev/null +++ b/dev-python/pygtk/pygtk-2.4.0.ebuild @@ -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] +} |