diff options
author | Lukasz Strzygowski <lucass@gentoo.org> | 2004-07-29 21:23:39 +0000 |
---|---|---|
committer | Lukasz Strzygowski <lucass@gentoo.org> | 2004-07-29 21:23:39 +0000 |
commit | 02be2ad8053d9bfbaf97f4d09835ed901d247eba (patch) | |
tree | 136e09735280f0d046338c77120d2f3a78dfa067 /dev-python/pygtk | |
parent | ~mipsing (Manifest recommit) (diff) | |
download | gentoo-2-02be2ad8053d9bfbaf97f4d09835ed901d247eba.tar.gz gentoo-2-02be2ad8053d9bfbaf97f4d09835ed901d247eba.tar.bz2 gentoo-2-02be2ad8053d9bfbaf97f4d09835ed901d247eba.zip |
Version bump.
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r-- | dev-python/pygtk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pygtk/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pygtk/files/digest-pygtk-2.3.94 | 1 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.3.94.ebuild | 75 |
4 files changed, 84 insertions, 1 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog index 35caaa8cab2a..9e169ea71339 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.53 2004/07/25 13:19:33 lucass Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.54 2004/07/29 21:23:39 lucass Exp $ + +*pygtk-2.3.94 (29 Jul 2004) + + 29 Jul 2004; Lukasz Strzygowski <lucass@gentoo.org> +pygtk-2.3.94.ebuild: + Version bump. *pygtk-2.3.93 (25 Jul 2004) diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest index 7002016b9e01..bb1f0fe13dc3 100644 --- a/dev-python/pygtk/Manifest +++ b/dev-python/pygtk/Manifest @@ -8,6 +8,7 @@ MD5 3860f14c6c0853cbf4a3ed536dc7303d ChangeLog 6923 MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487 MD5 d6aad0563020d6765ac99b4c8885ae04 pygtk-2.3.92.ebuild 2176 MD5 259449a445316a98d7acfe1150ab9c61 pygtk-2.3.93.ebuild 2285 +MD5 259449a445316a98d7acfe1150ab9c61 pygtk-2.3.94.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 @@ -16,3 +17,4 @@ MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11-r1 64 MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0-r1 64 MD5 de97a18eed2c782271422c5cf5b4547e files/digest-pygtk-2.3.92 65 MD5 b27a01a602fb3885e62260608eea98cc files/digest-pygtk-2.3.93 65 +MD5 ddd1d78657aebbac287f5228864fe71a files/digest-pygtk-2.3.94 65 diff --git a/dev-python/pygtk/files/digest-pygtk-2.3.94 b/dev-python/pygtk/files/digest-pygtk-2.3.94 new file mode 100644 index 000000000000..676ff8892e5a --- /dev/null +++ b/dev-python/pygtk/files/digest-pygtk-2.3.94 @@ -0,0 +1 @@ +MD5 10cd7a734ce3ea908db755a310f4c4c0 pygtk-2.3.94.tar.bz2 629651 diff --git a/dev-python/pygtk/pygtk-2.3.94.ebuild b/dev-python/pygtk/pygtk-2.3.94.ebuild new file mode 100644 index 000000000000..b00928be4b9d --- /dev/null +++ b/dev-python/pygtk/pygtk-2.3.94.ebuild @@ -0,0 +1,75 @@ +# 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.3.94.ebuild,v 1.1 2004/07/29 21:23:39 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.3/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64" +IUSE="gnome opengl" + +RDEPEND=">=dev-lang/python-2.2 + >=x11-libs/pango-1 + >=x11-libs/gtk+-2.4.0 + >=dev-libs/atk-1 + >=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] +} |