diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-29 03:10:28 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-29 03:10:28 +0000 |
commit | 23b9640d0639e83b75fa7f2b6ee2bb6e29c9970c (patch) | |
tree | abdcbc5e388b7a1292acc7eaa7ba18e6c2e14106 /dev-python/pygtk | |
parent | Version bump. Set SUPPORT_PYTHON_ABIS. (diff) | |
download | historical-23b9640d0639e83b75fa7f2b6ee2bb6e29c9970c.tar.gz historical-23b9640d0639e83b75fa7f2b6ee2bb6e29c9970c.tar.bz2 historical-23b9640d0639e83b75fa7f2b6ee2bb6e29c9970c.zip |
Version bump.
Package-Manager: portage-14166-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r-- | dev-python/pygtk/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pygtk/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.16.0.ebuild | 106 |
3 files changed, 116 insertions, 2 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog index e4d441623548..305619e8a32c 100644 --- a/dev-python/pygtk/ChangeLog +++ b/dev-python/pygtk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pygtk # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.220 2009/08/27 18:45:47 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.221 2009/08/29 03:10:28 arfrever Exp $ + +*pygtk-2.16.0 (29 Aug 2009) + + 29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pygtk-2.16.0.ebuild: + Version bump. *pygtk-2.14.1-r2 (27 Aug 2009) diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest index db7f138e1ed0..ba026fef8d61 100644 --- a/dev-python/pygtk/Manifest +++ b/dev-python/pygtk/Manifest @@ -7,9 +7,11 @@ AUX pygtk-2.14.1-ltihooks.patch 5848 RMD160 60856d3e3ad24661a79997b0474b407e7aa9 AUX pygtk-2.14.1-numpy.patch 3716 RMD160 0819ea958038150832072a8a6778778a83ff77a0 SHA1 2bffdbf76fefcd355752af61db586410b073ade6 SHA256 fa8a8b4c3449b11c349bb9a14f3277edd69df669382a16f71b29677eaffab315 DIST pygtk-2.12.1.tar.bz2 2175955 RMD160 c368deab52524248593b77984e93f18150efa0f4 SHA1 7a7d095f53829895174640d693c4e4af16122d98 SHA256 4100ed4bf295b03106308f1cfb9931cc22910401dab785f8bd3af9935f1fe13d DIST pygtk-2.14.1.tar.bz2 2210535 RMD160 ee32b54b5a5b12ca5718cf53505542b89e97347b SHA1 9a9a29c9de2a31e08a96f38ade43ce93ec569400 SHA256 733a5e2e1ca2ca6cf9dae0de9c035d3a428c6ec52774977f60d0618a1a27591a +DIST pygtk-2.16.0.tar.bz2 2253202 RMD160 76ef8d362975e8928e2e5499d8b5dffc32a5c9d8 SHA1 b8998ca94841906e71b2475319bb47c841b188e8 SHA256 7fae5e01af217a01738eae41c38ad7f86d1f538f444300d0fa2847aafb7444a8 EBUILD pygtk-2.12.1-r2.ebuild 2268 RMD160 d855924e176081da8da70aac76c6748c94a6a902 SHA1 3c27d724670f00d61b58c25681bbf57a31412897 SHA256 a5a8495a164b71747a249f3eb8bf234ac8eebc816a607e2aee1ca67eb2735283 EBUILD pygtk-2.14.1-r1.ebuild 2461 RMD160 dff936f1561d82ab3190a1c986b1ca10ec2b024f SHA1 8cd74eee6ccbc25bf03e4b91b3f17976f7412aeb SHA256 1acca14efecb03aeb6e496026df76b9019d9e20cfbcdbf02d26274d9da9f40d8 EBUILD pygtk-2.14.1-r2.ebuild 2867 RMD160 da063a811b0ec914c2110d9b0ac135457adbcd2d SHA1 997a74b046ced96afb1be45cc6614195758fe0bc SHA256 756c84f4bf80e38ae6e59e64c640392856414193b9e3831f9fe3d77bb1540c7e EBUILD pygtk-2.14.1.ebuild 2093 RMD160 08bdbc706363e56503d96bdf7b82e5365499d955 SHA1 550294d5e8ef56a013a9fa1a817e4d548e8737eb SHA256 37ca03642fd40683f721f5fdeadbbca070920549da75ba3d73d020598d0122d5 -MISC ChangeLog 27489 RMD160 56c6571392f5cfe5fefaeb31d759c3f69c062518 SHA1 913604c71e122a57e0b01369600d464066467b81 SHA256 4626c12b1f34571799cbead06ac824b09533e8ee886ee3ddc90aa07964bfc5c8 +EBUILD pygtk-2.16.0.ebuild 2515 RMD160 7efa43b48258da5f69cf92f5505e84c81571ca74 SHA1 13b28e920c8bf42b3622de8a37d08d5b5dca5dab SHA256 c1ccb0589fd61b10ea6d487db76e4075ad877584673fce6f3dc9790d2e5c4470 +MISC ChangeLog 27632 RMD160 d87c890be596f1c8194742a583d72d7610ed9871 SHA1 c9e0396722fb9ab4c1eb7531580aa81c5d925e8f SHA256 1444d22da67961c5c7aad63375a76f2b1e179e0953bccb189ca4a92f8a8268f8 MISC metadata.xml 934 RMD160 5160cf3a201fe5209f575b0633ba8dd40d7b5ed5 SHA1 e62fb7156a43df5b3380a77f9ad7616130075f7d SHA256 6a0af6b71bbaca6634e59f933775fbf76053472b54ff3989bf26a065a4c9c426 diff --git a/dev-python/pygtk/pygtk-2.16.0.ebuild b/dev-python/pygtk/pygtk-2.16.0.ebuild new file mode 100644 index 000000000000..749376086c18 --- /dev/null +++ b/dev-python/pygtk/pygtk-2.16.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.16.0.ebuild,v 1.1 2009/08/29 03:10:28 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit alternatives autotools eutils flag-o-matic gnome.org python virtualx + +DESCRIPTION="GTK+2 bindings for Python" +HOMEPAGE="http://www.pygtk.org/" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc examples" + +RDEPEND=">=dev-libs/glib-2.8.0 + >=x11-libs/pango-1.16.0 + >=dev-libs/atk-1.12.0 + >=x11-libs/gtk+-2.13.6 + >=gnome-base/libglade-2.5.0 + >=dev-lang/python-2.4.4-r5 + >=dev-python/pycairo-1.0.2 + >=dev-python/pygobject-2.15.3 + dev-python/numpy" + +DEPEND="${RDEPEND} + doc? ( + dev-libs/libxslt + >=app-text/docbook-xsl-stylesheets-1.70.1 ) + >=dev-util/pkgconfig-0.9" + +RESTRICT_PYTHON_ABIS="3*" + +src_prepare() { + # Fix declaration of codegen in .pc + epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" + + # Disable pyc compiling + mv "${S}"/py-compile "${S}"/py-compile.orig + ln -s $(type -P true) "${S}"/py-compile + + AT_M4DIR="m4" eautoreconf + + python_copy_sources +} + +src_configure() { + configuration() { + use hppa && append-flags -ffunction-sections + econf $(use_enable doc docs) --enable-thread + } + python_execute_function -s configuration +} + +src_compile() { + python_execute_function -d -s +} + +src_install() { + python_execute_function -d -s + 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 +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + + testing() { + if has ${PYTHON_ABI} 2.4 2.5; then + einfo "Skipping tests with Python ${PYTHON_ABI}. dev-python/pycairo supports only Python >=2.6." + return 0 + fi + + cd tests + Xemake check-local + } + python_execute_function -s testing +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize gtk-2.0 + + create_symlinks() { + alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] + alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] + } + python_execute_function create_symlinks +} + +pkg_postrm() { + python_mod_cleanup gtk-2.0 + + create_symlinks() { + alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] + alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] + } + python_execute_function create_symlinks +} |