diff options
author | 2012-03-28 01:01:48 +0000 | |
---|---|---|
committer | 2012-03-28 01:01:48 +0000 | |
commit | 57bcac9e875b0abd79a125e7e8f2b72b28dcd707 (patch) | |
tree | 1b81d0908cf5ea16adf5c30d79a238f43a1a6553 /dev-python | |
parent | remove stale version, fix bug #409747 (diff) | |
download | historical-57bcac9e875b0abd79a125e7e8f2b72b28dcd707.tar.gz historical-57bcac9e875b0abd79a125e7e8f2b72b28dcd707.tar.bz2 historical-57bcac9e875b0abd79a125e7e8f2b72b28dcd707.zip |
Version bump. Adds a pygtk compatibility layer, lots of Gtk.TreeView improvements, and various bugfixes.
Package-Manager: portage-2.2.0_alpha95/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygobject/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pygobject/Manifest | 14 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-3.2.0.ebuild | 115 |
3 files changed, 131 insertions, 7 deletions
diff --git a/dev-python/pygobject/ChangeLog b/dev-python/pygobject/ChangeLog index b1e3515e5311..c439ae8a0ce1 100644 --- a/dev-python/pygobject/ChangeLog +++ b/dev-python/pygobject/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/pygobject # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.149 2012/03/25 16:04:45 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.150 2012/03/28 01:01:48 tetromino Exp $ + +*pygobject-3.2.0 (28 Mar 2012) + + 28 Mar 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + +pygobject-3.2.0.ebuild: + Version bump. Adds a pygtk compatibility layer, lots of Gtk.TreeView + improvements, and various bugfixes. 25 Mar 2012; Raúl Porcel <armin76@gentoo.org> pygobject-2.28.6-r51.ebuild, pygobject-3.0.2.ebuild: diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index 643563cfc9a4..8156d0eb8eff 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 AUX pygobject-2.15.4-fix-codegen-location.patch 1519 RMD160 e4721ae2d9a2d05e3b129627c762acf177521974 SHA1 02e9446db952de3b934a264ce77648d2cd5c6d97 SHA256 6ab22def2c57a4dd44dedc787cb660dc326a62b518c3dc747fbe600ca2c20b8c AUX pygobject-2.18.0-support_multiple_python_versions.patch 2349 RMD160 054080d2a62b466ffe2ba9e182e5e796c652161f SHA1 d1ac7d308cb82caab4a5c56256ebd53b13cb9a3b SHA256 d66bcf31acf8b310ad346b9803d5e41d9840cfbca3c62d19b5c99f605c58066d @@ -23,6 +23,7 @@ DIST pygobject-2.28.6.tar.xz 747248 RMD160 4bc5e8546a5029d3d6b154629ab3fa4023d96 DIST pygobject-3.0.2.tar.xz 545072 RMD160 afb2479933c047025ee8d467efda163915c074ce SHA1 6bb3cd5977d6992792cbfabc919b5b46bb8c2a8f SHA256 e1eccc37afd2d4cbeb329b92ce3d71287d662dc2fec430c08a0471153e52a462 DIST pygobject-3.0.3.tar.xz 546420 RMD160 33e29224696db50025198351e80991a78d841a6a SHA1 763d84eb295ec6917deb1132731b2bfabd5e201c SHA256 088b1e682be02a969a0a3f2e650e4fe72bb3638ee8229819841d3e8f4cde2d7c DIST pygobject-3.0.4.tar.xz 547180 RMD160 f72d82b862359fee51bffc12076c29a49b9c4b6a SHA1 72df1cdd6e34d52ada6e32f1bbd7f36f4be67512 SHA256 f457b1d7f6b8bfa727593c3696d2b405da66b4a8d34cd7d3362ebda1221f0661 +DIST pygobject-3.2.0.tar.xz 561820 RMD160 5b0f6bf22dc5f6e30b50c26daab12867c96112ef SHA1 42ec81a638ddc735c062d0dae7389235242d7732 SHA256 1a2140c4c4ce0c1a5d7abe74eeb7a7040f426cb17943c3ae7e57695b355151c3 EBUILD pygobject-2.26.0-r1.ebuild 3805 RMD160 f4eda78700dc36db931cee6fa7711c332b09d6dc SHA1 c0693b0ada40802d258c5716107e751a16f48cb3 SHA256 092b3815e0abb0a05f912ed2eafc6fc4b2b3fe937a4f677ced8779a9f81beac4 EBUILD pygobject-2.28.6-r50.ebuild 4160 RMD160 8e277738db5efdeb4ac41078a43acb199d4baac5 SHA1 b3c79d07a67902f4b7a035b4f3a276c40643c830 SHA256 3c88737baf10c76e6d5cc69d1f2c582657a1c9d0b3c36afab9ec9ef3ae540b66 EBUILD pygobject-2.28.6-r51.ebuild 4153 RMD160 dc12d5333ff19de4458cb95bc2b692a27e0c7947 SHA1 ab12c26098b81327dabfd1cef57d2f299743bef9 SHA256 4328143400084955d71e4df6320018bb7d56f0d379e8e784a4a72afdaa943496 @@ -30,12 +31,13 @@ EBUILD pygobject-2.28.6.ebuild 3829 RMD160 128b944f0d0dae81ddf6d5a65f76528acca91 EBUILD pygobject-3.0.2.ebuild 3236 RMD160 57928438cb460c5a47df3f922753421585ec4e58 SHA1 6573772f692d9d4ce6c5b5ea59a691f98a573064 SHA256 d4b5cf919f824add343f7e0dfd780ec15e03dcac2f65120a4a67c1480eb1b7c8 EBUILD pygobject-3.0.3.ebuild 3571 RMD160 a32bd4b55252305ce72675b404cca7cc5f72fdef SHA1 a33ff7cf649e7c3d1bd63c87cce1804dd376fc14 SHA256 befe117f9dc3453c1769fddc1156343d9d68036a5487692346759283ba49ca0e EBUILD pygobject-3.0.4.ebuild 3420 RMD160 77bf85312a90d28e8303dd2e38444d6ea6d7391d SHA1 d0b5534d58dfc4816767e8d34b508a4f502aed45 SHA256 1bdac8fbb813ad0e3248bc1c7a681e7120ff062ecb43b523f8b9c826f40040e7 -MISC ChangeLog 24171 RMD160 6a65d0f5f70b15c2a320fa0e3f00f1f822402d73 SHA1 2906a92a25f3fc80e010d5f7452fedb9bd995d7e SHA256 dcfc77ab0bf9e1cfe345620bafc1981aeac8b6f92d6921ea57761dff57b167c6 +EBUILD pygobject-3.2.0.ebuild 3033 RMD160 a72deeb34bb6d874ef36c4fef8edb97a39986854 SHA1 376f7f5f6c542f308d984e359c428a52d73cf5fc SHA256 e4192b7ee9740b95b6e2578a279cb28ee1dd46ca26953a118bb75e3e3ab80be5 +MISC ChangeLog 24401 RMD160 072ee03c01f45df3dfce606908ac0c62a76fbf1e SHA1 c94654d429f03452905b29a5e75b0d6e7a9d153d SHA256 b51ed710c534134b7fb3b9426308117b5f10fba09e56d9798d7c32272d4f67e4 MISC metadata.xml 291 RMD160 2226a820b502bdd20583331e1601bb9cd04f96be SHA1 f5d19f3ae1f337179858f1818fc195a20ad7e4d9 SHA256 5a3c7fa667eaf9da2744f966afc82db0a4a45cc642157b8224104f17bdb4af5c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk9vQiQACgkQuQc30/atMkDP0QCfXtvsYG3FMy85q1eBIjPw95Sn -CyUAn0+zHjfGt0er9k4199UhrwpYRo/Y -=5bN9 +iF4EAREIAAYFAk9yYwMACgkQdjK8w9WeBnCASQEAt7LAcVBPWHD+LkDMzcM9azK4 +ugDfJeExwdtgUxPDEXEA/jmy/2z75Y9oHMkyB4S7QATQ5QWvczFzTfwEht0/qTzK +=bb30 -----END PGP SIGNATURE----- diff --git a/dev-python/pygobject/pygobject-3.2.0.ebuild b/dev-python/pygobject/pygobject-3.2.0.ebuild new file mode 100644 index 000000000000..15eff2fa2cc3 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.2.0.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.2.0.ebuild,v 1.1 2012/03/28 01:01:48 tetromino Exp $ + +EAPI="4" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +SUPPORT_PYTHON_ABIS="1" +PYTHON_DEPEND="2:2.6 3:3.1" +RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*" + +inherit autotools gnome2 python virtualx + +DESCRIPTION="GLib's GObject library bindings for Python" +HOMEPAGE="http://www.pygtk.org/" + +LICENSE="LGPL-2.1" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test +threads" # doc + +COMMON_DEPEND=">=dev-libs/glib-2.31.0:2 + >=dev-libs/gobject-introspection-1.31.20 + virtual/libffi + cairo? ( >=dev-python/pycairo-1.10.0 )" +DEPEND="${COMMON_DEPEND} + test? ( + media-fonts/font-cursor-misc + media-fonts/font-misc-misc + >=dev-libs/gobject-introspection-1.29.17 ) + >=dev-util/pkgconfig-0.12" +# docs disabled for now per upstream default since they are very out of date +# doc? ( +# app-text/docbook-xml-dtd:4.1.2 +# dev-libs/libxslt +# >=app-text/docbook-xsl-stylesheets-1.70.1 ) + +# We now disable introspection support in slot 2 per upstream recommendation +# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however, +# older versions of slot 2 installed their own site-packages/gi, and +# slot 3 will collide with them. +RDEPEND="${COMMON_DEPEND} + !<dev-python/pygtk-2.13 + !<dev-python/pygobject-2.28.6-r50:2[introspection]" + +pkg_setup() { + DOCS="AUTHORS ChangeLog* NEWS README" + # Hard-enable libffi support since both gobject-introspection and + # glib-2.29.x rdepend on it anyway + G2CONF="${G2CONF} + --disable-dependency-tracking + --with-ffi + $(use_enable cairo) + $(use_enable threads thread)" + + python_pkg_setup +} + +src_prepare() { + # Do not build tests if unneeded, bug #226345 + epatch "${FILESDIR}/${PN}-2.90.1-make_check.patch" + + # Disable tests that fail + #epatch "${FILESDIR}/${PN}-2.28.3-disable-failing-tests.patch" + + python_clean_py-compile_files + + eautoreconf + gnome2_src_prepare + + python_copy_sources +} + +src_configure() { + configuration() { + PYTHON="$(PYTHON)" gnome2_src_configure + } + python_execute_function -s configuration +} + +src_compile() { + python_src_compile +} + +# FIXME: With python multiple ABI support, tests return 1 even when they pass +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + + testing() { + export XDG_CACHE_HOME="${T}/$(PYTHON --ABI)" + Xemake check PYTHON=$(PYTHON -a) + unset XDG_CACHE_HOME + } + python_execute_function -s testing + unset GIO_USE_VFS +} + +src_install() { + python_execute_function -s gnome2_src_install + python_clean_installation_image + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} + +pkg_postinst() { + python_mod_optimize gi +} + +pkg_postrm() { + python_mod_cleanup gi +} |