diff options
author | Lukasz Strzygowski <lucass@gentoo.org> | 2004-07-25 13:19:33 +0000 |
---|---|---|
committer | Lukasz Strzygowski <lucass@gentoo.org> | 2004-07-25 13:19:33 +0000 |
commit | f029b610c5091403434dbf51f23cfe42241999b4 (patch) | |
tree | af158604f4ed7dd54953ed13c9dea7c917ed0852 /dev-python | |
parent | minor MAKEOPTS cleanup (Manifest recommit) (diff) | |
download | gentoo-2-f029b610c5091403434dbf51f23cfe42241999b4.tar.gz gentoo-2-f029b610c5091403434dbf51f23cfe42241999b4.tar.bz2 gentoo-2-f029b610c5091403434dbf51f23cfe42241999b4.zip |
Version bump. Now it install also examples. Added src_test.
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygtk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pygtk/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pygtk/files/digest-pygtk-2.3.93 | 1 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.3.93.ebuild | 75 |
4 files changed, 85 insertions, 2 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog index fd8b32ecbdc5..35caaa8cab2a 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.52 2004/07/20 20:03:37 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.53 2004/07/25 13:19:33 lucass Exp $ + +*pygtk-2.3.93 (25 Jul 2004) + + 25 Jul 2004; Lukasz Strzygowski <lucass@gentoo.org> +pygtk-2.3.93.ebuild: + Version bump. Now it install also examples. Added src_test. 20 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> pygtk-0.6.11-r1.ebuild, pygtk-1.99.13-r1.ebuild, pygtk-2.0.0-r1.ebuild, pygtk-2.0.0.ebuild, diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest index b72fcb820b83..303f9ce84333 100644 --- a/dev-python/pygtk/Manifest +++ b/dev-python/pygtk/Manifest @@ -7,10 +7,12 @@ MD5 83e215f5d87a4d1cc873a9ee771232d7 pygtk-0.6.11-r1.ebuild 1943 MD5 270fe3be0f3967f30f6c486b8f383a9a ChangeLog 6755 MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487 MD5 d6aad0563020d6765ac99b4c8885ae04 pygtk-2.3.92.ebuild 2176 +MD5 d6aad0563020d6765ac99b4c8885ae04 pygtk-2.3.93.ebuild 2176 MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11 64 -MD5 de97a18eed2c782271422c5cf5b4547e files/digest-pygtk-2.3.92 65 MD5 24c9de51067b362e1e30dd1d3019e1b0 files/digest-pygtk-1.99.13-r1 65 MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0 64 MD5 a6372d851a8b936f2df258b93a5bc719 files/digest-pygtk-2.2.0 64 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 diff --git a/dev-python/pygtk/files/digest-pygtk-2.3.93 b/dev-python/pygtk/files/digest-pygtk-2.3.93 new file mode 100644 index 000000000000..d74019138f7e --- /dev/null +++ b/dev-python/pygtk/files/digest-pygtk-2.3.93 @@ -0,0 +1 @@ +MD5 e7233959193536b62713df9b45c1e02c pygtk-2.3.93.tar.bz2 628645 diff --git a/dev-python/pygtk/pygtk-2.3.93.ebuild b/dev-python/pygtk/pygtk-2.3.93.ebuild new file mode 100644 index 000000000000..2cd4189f410a --- /dev/null +++ b/dev-python/pygtk/pygtk-2.3.93.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.93.ebuild,v 1.1 2004/07/25 13:19:33 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] +} |