diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-04 13:18:05 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-04 13:18:05 +0000 |
commit | 25af08244c82dd562d3f5d86f61d5fd6bf11c6d9 (patch) | |
tree | 8833bb5aae2ea67698a8eba9ea60cc840c8321d7 /dev-python | |
parent | Version bumped. (diff) | |
download | historical-25af08244c82dd562d3f5d86f61d5fd6bf11c6d9.tar.gz historical-25af08244c82dd562d3f5d86f61d5fd6bf11c6d9.tar.bz2 historical-25af08244c82dd562d3f5d86f61d5fd6bf11c6d9.zip |
Use virtual/libffi wrt #255488.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygobject/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pygobject/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.16.1-r1.ebuild | 77 |
3 files changed, 86 insertions, 2 deletions
diff --git a/dev-python/pygobject/ChangeLog b/dev-python/pygobject/ChangeLog index e5600fa60df8..b9e66e6c7019 100644 --- a/dev-python/pygobject/ChangeLog +++ b/dev-python/pygobject/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pygobject # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.64 2009/04/27 13:11:12 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.65 2009/06/04 13:18:05 ssuominen Exp $ + +*pygobject-2.16.1-r1 (04 Jun 2009) + + 04 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> + +pygobject-2.16.1-r1.ebuild: + Use virtual/libffi wrt #255488. 27 Apr 2009; Jeroen Roovers <jer@gentoo.org> pygobject-2.16.1: Stable for HPPA (bug #260063). diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index af7cb743b1c2..252668757050 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -10,6 +10,7 @@ EBUILD pygobject-2.14.0.ebuild 2415 RMD160 23b11eb49f64c9e0b2b87b37061951870dffe EBUILD pygobject-2.14.2.ebuild 2712 RMD160 597c7bb562c61397258939803523c042c5de5bf9 SHA1 5701f596794cf5a159bc9d8c6df63d1dcbe93db3 SHA256 1034613ae3aea3f1c02d6fb3c7bf0c0d5a915d1d21eeb42186f424121f4e7a5a EBUILD pygobject-2.15.4.ebuild 2168 RMD160 5368334f822671d623fb00bd1a718eff2239ecef SHA1 e164a3df6414ed7f11bfcfef46f8e725ce1be336 SHA256 3157d376415713a98904e566c25a94c6d4fb11d7a12ba6f084101979fa93f768 EBUILD pygobject-2.16.0.ebuild 2277 RMD160 18392c740c45aa120693a8dec4eb825894a6d23b SHA1 55b2925505d4918588b40168ba15f4a970f0758f SHA256 a495a04bd45f1712eea1c15063cb38ddec2158c1eac2d64b7e525b1a99d9899b +EBUILD pygobject-2.16.1-r1.ebuild 2179 RMD160 bab1aa4a2f3cf9cce72fc0dec8d3f7e884f80818 SHA1 34631723c6e4b13301fe7c2fce796dac1983e2ee SHA256 8bfc884f183b10fe9b3ee581316a13ce0c0d827df607e3e2679533a344164aca EBUILD pygobject-2.16.1.ebuild 2266 RMD160 99ba86f34db41b30eeca54d367898caddecbcb6f SHA1 84ec57b5309292b56e9c8de361157ce631f809a2 SHA256 26581f3cedb92c88130df529d5d9e5b31e459fb2470a7486091da1f4375fb89d -MISC ChangeLog 8540 RMD160 37d42819e4fdffc32296a1a87ca4cb9472f9702a SHA1 d5aeba09e3b732d66968950cf56e07972687c8f5 SHA256 e38ac29279e6743b2fc62db4610388c7e4a99d9eb9e2d52fbbe090fb75fb9662 +MISC ChangeLog 8702 RMD160 e0d159e4469c4a929286aa735f35ebebf7b30a62 SHA1 272298a344cb33f88af7520eca63ccae70e57fef SHA256 9543ffdc1424fc71e91bd33dbad3ae916734108b1d27c2c397eaa520920e2149 MISC metadata.xml 263 RMD160 aa9b8ada798575f5d2b94042357d5ed59f4b1cbf SHA1 0843ae5e9b5a9a0ea54f4c79539bf781522e9b10 SHA256 993400d5ee19f0bd67c463d999d24e4184e8c077b4e535adf6a00678ced0c46c diff --git a/dev-python/pygobject/pygobject-2.16.1-r1.ebuild b/dev-python/pygobject/pygobject-2.16.1-r1.ebuild new file mode 100644 index 000000000000..ac57acb281a8 --- /dev/null +++ b/dev-python/pygobject/pygobject-2.16.1-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.16.1-r1.ebuild,v 1.1 2009/06/04 13:18:05 ssuominen Exp $ + +inherit autotools gnome2 python virtualx + +DESCRIPTION="GLib's GObject library bindings for Python" +HOMEPAGE="http://www.pygtk.org/" + +LICENSE="LGPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc examples libffi" + +RDEPEND=">=dev-lang/python-2.4.4-r5 + >=dev-libs/glib-2.16 + !<dev-python/pygtk-2.13 + libffi? ( virtual/libffi )" +DEPEND="${RDEPEND} + doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) + >=dev-util/pkgconfig-0.12.0" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} $(use_enable doc docs) $(use_with libffi ffi)" +} + +src_unpack() { + gnome2_src_unpack + + # Fix FHS compliance, see upstream bug #535524 + epatch "${FILESDIR}/${PN}-2.15.4-fix-codegen-location.patch" + + # needed to build on a libtool-1 system, bug #255542 + rm m4/lt* m4/libtool.m4 ltmain.sh + + eautoreconf + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s $(type -P true) py-compile +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + Xemake check || die "tests failed" +} + +src_install() { + gnome2_src_install + + if use examples; then + insinto /usr/share/doc/${P} + doins -r examples + fi + + 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 +} + +pkg_postinst() { + python_version + python_mod_optimize /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 + python_need_rebuild +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |