diff options
-rw-r--r-- | dev-python/pygtk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pygtk/Manifest | 40 | ||||
-rw-r--r-- | dev-python/pygtk/files/digest-pygtk-2.7.4 | 2 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.7.4.ebuild | 87 |
4 files changed, 111 insertions, 25 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog index bb9c66c2f73a..948d7dea6c01 100644 --- a/dev-python/pygtk/ChangeLog +++ b/dev-python/pygtk/ChangeLog @@ -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 diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest index 660cc00cfc56..1a34a5d37b67 100644 --- a/dev-python/pygtk/Manifest +++ b/dev-python/pygtk/Manifest @@ -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 index 000000000000..9f2e2b9197c0 --- /dev/null +++ b/dev-python/pygtk/files/digest-pygtk-2.7.4 @@ -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 index 000000000000..fdf0eefa10e9 --- /dev/null +++ b/dev-python/pygtk/pygtk-2.7.4.ebuild @@ -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] +} |