summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2009-06-04 11:36:48 +0530
committerNirbheek Chauhan <nirbheek@gentoo.org>2009-06-04 13:16:28 +0530
commitbdf972da9c9328c894499063f3fc629473923c96 (patch)
treec123ede876ca6ed737b22d514da6796e5958b6fd
parentdev-libs/libgweather: Sync with tree (diff)
downloadgnome-live-bdf972da9c9328c894499063f3fc629473923c96.tar.gz
gnome-live-bdf972da9c9328c894499063f3fc629473923c96.tar.bz2
gnome-live-bdf972da9c9328c894499063f3fc629473923c96.zip
dev-python/pygobject: Sync with tree
* virtual/libffi for libffi
-rw-r--r--dev-python/pygobject/Manifest2
-rw-r--r--dev-python/pygobject/pygobject-9999.ebuild18
2 files changed, 10 insertions, 10 deletions
diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest
index 6017bbe..afc6d17 100644
--- a/dev-python/pygobject/Manifest
+++ b/dev-python/pygobject/Manifest
@@ -1,2 +1,2 @@
AUX pygobject-fix-codegen-location.patch 1519 RMD160 e4721ae2d9a2d05e3b129627c762acf177521974 SHA1 02e9446db952de3b934a264ce77648d2cd5c6d97 SHA256 6ab22def2c57a4dd44dedc787cb660dc326a62b518c3dc747fbe600ca2c20b8c
-EBUILD pygobject-9999.ebuild 1812 RMD160 35d87036a60520c8a1390190ebb4315931efc0ec SHA1 4a1140c7d5424ce3db36458c29a2c863f8dcbadc SHA256 ee8fe7474c481b4006148d4a7d8f5d54834906c719c8bfbae20508ee7be2348a
+EBUILD pygobject-9999.ebuild 1914 RMD160 e129ded285a5b58e3e76bd805a872526892098d9 SHA1 5e56a835f77e955ee1a57e80f831057635ceeb0e SHA256 9aa5e8593df4b66e733ed3f533493ba3be488bf66614e8b7285d25ba8ba691fd
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index 68c6189..afe5be9 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.16.1.ebuild,v 1.8 2009/04/27 13:11:12 jer Exp $
inherit autotools gnome2 python virtualx gnome2-live
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.pygtk.org/"
LICENSE="LGPL-2"
SLOT="2"
-KEYWORDS="~amd64 ~x86"
+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
@@ -17,17 +17,16 @@ RDEPEND=">=dev-lang/python-2.4.4-r5
!<dev-python/pygtk-2.13"
DEPEND="${RDEPEND}
doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 )
+ libffi? ( virtual/libffi )
>=dev-util/pkgconfig-0.12.0"
DOCS="AUTHORS ChangeLog NEWS README"
-PATCHES="${PN}-fix-codegen-location.patch"
+PATCHES="${FILESDIR}/${PN}-fix-codegen-location.patch"
pkg_setup() {
- if use libffi && ! built_with_use sys-devel/gcc libffi; then
- eerror "libffi support not found in sys-devel/gcc." && die
- fi
-
- G2CONF="${G2CONF} $(use_enable doc docs) $(use_with libffi)"
+ G2CONF="${G2CONF}
+ $(use_enable doc docs)
+ $(use_with libffi ffi)"
}
src_test() {
@@ -56,6 +55,7 @@ pkg_postinst() {
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
gnome2-live_pkg_postinst
}