From 8426dcea239705af24e223f68d14d2aa42f3a5a4 Mon Sep 17 00:00:00 2001 From: Lukasz Strzygowski Date: Fri, 9 Feb 2007 13:50:49 +0000 Subject: [PATCH] - Version bump - Fixed docs installation - Fixed bug #165672 - Added examples use-flag - Added NEED_PYTHON=2.3.5 Package-Manager: portage-2.1.2-r7 --- dev-python/pygtk/ChangeLog | 11 ++- dev-python/pygtk/Manifest | 26 ++++++- dev-python/pygtk/files/digest-pygtk-2.10.4 | 6 ++ dev-python/pygtk/pygtk-2.10.4.ebuild | 88 ++++++++++++++++++++++ 4 files changed, 126 insertions(+), 5 deletions(-) create mode 100644 dev-python/pygtk/files/digest-pygtk-2.10.4 create mode 100644 dev-python/pygtk/pygtk-2.10.4.ebuild diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog index 715f639d61e0..378a77ab6361 100644 --- a/dev-python/pygtk/ChangeLog +++ b/dev-python/pygtk/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-python/pygtk # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.143 2007/01/20 02:39:39 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.144 2007/02/09 13:50:49 lucass Exp $ + +*pygtk-2.10.4 (09 Feb 2007) + + 09 Feb 2007; Lukasz Strzygowski +pygtk-2.10.4.ebuild: + - Version bump + - Fixed docs installation + - Fixed bug #165672 + - Added examples use-flag + - Added NEED_PYTHON=2.3.5 20 Jan 2007; Jeroen Roovers pygtk-2.10.3.ebuild: Stable for HPPA (bug #156662). diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest index bdf39754d911..880a0f8065d5 100644 --- a/dev-python/pygtk/Manifest +++ b/dev-python/pygtk/Manifest @@ -1,4 +1,8 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST pygtk-2.10.3.tar.bz2 1977441 RMD160 4e10583da73f4c135c86788e2af7ef11d3c57dd2 SHA1 a8d2ac12b4ba3801a00269e49a2444fa472169a7 SHA256 03a605f106e30bea448b04007635a21140eeaba4c8844188d661c3b133cbee89 +DIST pygtk-2.10.4.tar.bz2 1888801 RMD160 7f3d301ee866d6c3b893b6ff05ef0bdf7fb10c4e SHA1 04cae6e3abfe66eea4c8b9b7c93ec0918f6e5e51 SHA256 ab9ad4481af435894db27e78010f6bbc21c62252dbe7a254121453419edde8f5 DIST pygtk-2.6.1.tar.bz2 729460 RMD160 75c88308bda1c9c245b8e1d618e61b8b62d84ddb SHA1 a34cedeaeb9e794c9d3a2ce2b35387382b985a3a SHA256 bc21e7df103bffb0fda1d629d6ebab155f95d422d2186c27d686f822267110ed DIST pygtk-2.6.2.tar.bz2 731185 RMD160 464639d4d9d4dbb39175a3615126c29c5453b2a2 SHA1 3d1ecf9c9dbff44b8388fab4e04c5061ecd41a7e SHA256 297523f29307fdca907dfafa7b832969bad12a15c9b3443e5752bcfc0f1fd042 DIST pygtk-2.8.6.tar.bz2 756885 RMD160 f2bc07556b15444add5cd31c0e494e85ad52b89b SHA1 088e5aeddee9e42f8c8ea0e1a171f1b8f363ba33 SHA256 dee1ec46a43bf624f1ff796903bd2d49e65c1cc8396385f46bf1489817bd6e60 @@ -8,6 +12,10 @@ EBUILD pygtk-2.10.3.ebuild 2259 RMD160 321c2241ac38faefc0cb4baf2222b93392b8d376 MD5 47c5c545fc089f1a6bce14a85758c4ce pygtk-2.10.3.ebuild 2259 RMD160 321c2241ac38faefc0cb4baf2222b93392b8d376 pygtk-2.10.3.ebuild 2259 SHA256 0596389fc677fcaa46810e468ffea0a6d970f03842611b8c86499194bd42a142 pygtk-2.10.3.ebuild 2259 +EBUILD pygtk-2.10.4.ebuild 2353 RMD160 685d7fb78abd8c8e94a86331c617de531342edbe SHA1 5b836dcba78b9e6e962153fb0d494dd2ded04f9a SHA256 0e180970fa9309f15d2de195d272cd6ea0583385b5dabd363dc31345445dfd41 +MD5 1ba30c3829b82187192c1d5a00084ec9 pygtk-2.10.4.ebuild 2353 +RMD160 685d7fb78abd8c8e94a86331c617de531342edbe pygtk-2.10.4.ebuild 2353 +SHA256 0e180970fa9309f15d2de195d272cd6ea0583385b5dabd363dc31345445dfd41 pygtk-2.10.4.ebuild 2353 EBUILD pygtk-2.6.1.ebuild 2534 RMD160 84bb5cc153157b39d599e30194f5349879a633cf SHA1 8685c3b6cc32fd01b4165033b76fb9cc365bf0a7 SHA256 b43f9ccc767b3e60b825f514537cf07273b4c8455dcb7dd119d5eac3744ee101 MD5 c514e0b6cb5f7d6bd660b4a0296f9ad2 pygtk-2.6.1.ebuild 2534 RMD160 84bb5cc153157b39d599e30194f5349879a633cf pygtk-2.6.1.ebuild 2534 @@ -20,10 +28,10 @@ EBUILD pygtk-2.8.6.ebuild 2680 RMD160 0420b1536a67f91e3c2f7a91a901970447636ef6 S MD5 85ee8e7d4f5624ec6245611d9a41c23f pygtk-2.8.6.ebuild 2680 RMD160 0420b1536a67f91e3c2f7a91a901970447636ef6 pygtk-2.8.6.ebuild 2680 SHA256 0ca29b0356b71bc414386b10d89cec9f282d066e88011a5a4532bdfcd92c0175 pygtk-2.8.6.ebuild 2680 -MISC ChangeLog 17564 RMD160 6087981363e0edcb01c5a354b52b7393283cd68f SHA1 3b823a2df04963cc68f4a658ab089e07f8c3e659 SHA256 71f35ca538bc01cec815df027e8224bebd4d94aa75e3b842bcc3dfa897ad8996 -MD5 0d62e0c0e0fecb831a7d587c626374bc ChangeLog 17564 -RMD160 6087981363e0edcb01c5a354b52b7393283cd68f ChangeLog 17564 -SHA256 71f35ca538bc01cec815df027e8224bebd4d94aa75e3b842bcc3dfa897ad8996 ChangeLog 17564 +MISC ChangeLog 17796 RMD160 6b97f8d4dbdd64a682802ea1be79c9a3076721e0 SHA1 246d78fafb66a824b258ec1a155bc7e6885f326f SHA256 ae93cc12f280b41d647e4f9ba5c908e1bba600c99cdfa53042de4ad846a17081 +MD5 b0e1244863d46667e0a7476771ab367a ChangeLog 17796 +RMD160 6b97f8d4dbdd64a682802ea1be79c9a3076721e0 ChangeLog 17796 +SHA256 ae93cc12f280b41d647e4f9ba5c908e1bba600c99cdfa53042de4ad846a17081 ChangeLog 17796 MISC metadata.xml 934 RMD160 5160cf3a201fe5209f575b0633ba8dd40d7b5ed5 SHA1 e62fb7156a43df5b3380a77f9ad7616130075f7d SHA256 6a0af6b71bbaca6634e59f933775fbf76053472b54ff3989bf26a065a4c9c426 MD5 72046b076a995f9b14882970d4e8b677 metadata.xml 934 RMD160 5160cf3a201fe5209f575b0633ba8dd40d7b5ed5 metadata.xml 934 @@ -31,6 +39,9 @@ SHA256 6a0af6b71bbaca6634e59f933775fbf76053472b54ff3989bf26a065a4c9c426 metadata MD5 e59e917f1687cd7b5438beda0fcd1dc1 files/digest-pygtk-2.10.3 512 RMD160 9c4944ed0106cd5edd4150edb992816c63b88682 files/digest-pygtk-2.10.3 512 SHA256 1f2528279a0ee4e399b754c654445c27657423cbb3fd3499bf216f7502b8c17c files/digest-pygtk-2.10.3 512 +MD5 f873c68750efdae89f50e5ff5d89b1b9 files/digest-pygtk-2.10.4 512 +RMD160 27073ab1b335d9b34ee6d1ad753ef9ba316e7cbe files/digest-pygtk-2.10.4 512 +SHA256 2629c67e88b7674dd09a31cab2609581c6f61a685805813690fd8e6d1c3a242c files/digest-pygtk-2.10.4 512 MD5 e94544d17ff2def0be38bb2f17ba3b89 files/digest-pygtk-2.6.1 479 RMD160 587411ebb1ec38a49e3a1585bf44db77c385c662 files/digest-pygtk-2.6.1 479 SHA256 e168f28b34497691895cfc624460249494297d85d1b5f8caa6127bbd02dead3a files/digest-pygtk-2.6.1 479 @@ -40,3 +51,10 @@ SHA256 f76e92cdccd1a8d783e0d0cf6ed64b05af93561df5c9915a361dbbdad492bae0 files/di MD5 586072dad1d37a363bbcc2bfc42af557 files/digest-pygtk-2.8.6 479 RMD160 71ff336209e299f679dc202319fd3aa038bdb7ea files/digest-pygtk-2.8.6 479 SHA256 4bae4e78337b902815088c4bd6e0c48b933df10c5ee9d7b1638cce6b6b0e5869 files/digest-pygtk-2.8.6 479 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.2 (GNU/Linux) + +iD8DBQFFzHxG2jLqHNfbg2URAg5sAKDQ4YFMK8X7xgEkkDlkMcIxZgXFYACgiI03 +T2UCpEvDS90iMeg+ZR+hKF8= +=29oR +-----END PGP SIGNATURE----- diff --git a/dev-python/pygtk/files/digest-pygtk-2.10.4 b/dev-python/pygtk/files/digest-pygtk-2.10.4 new file mode 100644 index 000000000000..f8e0d65a460a --- /dev/null +++ b/dev-python/pygtk/files/digest-pygtk-2.10.4 @@ -0,0 +1,6 @@ +MD5 89afe242275a3fce57b4ffb5fadc5888 pygtk-2.10.4.tar.bz2 1888801 +RMD160 7f3d301ee866d6c3b893b6ff05ef0bdf7fb10c4e pygtk-2.10.4.tar.bz2 1888801 +SHA256 ab9ad4481af435894db27e78010f6bbc21c62252dbe7a254121453419edde8f5 pygtk-2.10.4.tar.bz2 1888801 +MD5 ad0624dd26a19fbb9286c1c7711a60bc pygtk2reference-2.9.0.tar.bz2 759824 +RMD160 966cae10fa93b512f565aa0d552a8c83fe5de53f pygtk2reference-2.9.0.tar.bz2 759824 +SHA256 a01cf19a26aca49b2522f6c987cb48bcc9a2a393b4383709707acd5a994e00fd pygtk2reference-2.9.0.tar.bz2 759824 diff --git a/dev-python/pygtk/pygtk-2.10.4.ebuild b/dev-python/pygtk/pygtk-2.10.4.ebuild new file mode 100644 index 000000000000..8417bfe8e8cd --- /dev/null +++ b/dev-python/pygtk/pygtk-2.10.4.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.4.ebuild,v 1.1 2007/02/09 13:50:49 lucass Exp $ + +NEED_PYTHON=2.3.5 + +inherit gnome.org python flag-o-matic + +DESCRIPTION="GTK+2 bindings for Python" +HOMEPAGE="http://www.pygtk.org/" + +DOC_FILE="pygtk2reference-2.9.0.tar.bz2" +SRC_URI="${SRC_URI} + doc? ( mirror://gnome/sources/pygtk2reference/2.9/${DOC_FILE} )" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="doc examples opengl" + +RDEPEND=">=dev-libs/glib-2.8.0 + >=x11-libs/pango-1.10.0 + >=dev-libs/atk-1.8.0 + >=x11-libs/gtk+-2.10.0 + >=gnome-base/libglade-2.5.0 + >=dev-python/pycairo-1.0.2 + >=dev-python/pygobject-2.12.1 + !arm? ( dev-python/numeric ) + opengl? ( virtual/opengl + dev-python/pyopengl + >=x11-libs/gtkglarea-1.99 + )" + +DEPEND="${RDEPEND} + doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) + >=dev-util/pkgconfig-0.9" + +src_unpack() { + unpack ${A} + use doc || sed -e 's/\(SUBDIRS =.*\) docs$/\1/' -i "${S}"/Makefile.am + + # 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 $(use_enable doc docs) --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 + + if use examples; then + rm examples/Makefile* + insinto /usr/share/doc/${PF} + doins -r examples + fi + + if use doc; then + insinto /usr/share/gtk-doc/html/pygtk + cd "${WORKDIR}"/pygtk2reference + doins -r cursors icons images + 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 +} + +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] +} -- 2.26.2