diff options
Diffstat (limited to 'dev-python/pygobject/pygobject-9999.ebuild')
-rw-r--r-- | dev-python/pygobject/pygobject-9999.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
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 } |