# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r50.ebuild,v 1.2 2011/11/15 05:40:32 tetromino Exp $ EAPI="3" GCONF_DEBUG="no" GNOME_TARBALL_SUFFIX="xz" GNOME2_LA_PUNT="yes" SUPPORT_PYTHON_ABIS="1" # pygobject is partially incompatible with Python 3. # PYTHON_DEPEND="2:2.6 3:3.1" # RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython" PYTHON_DEPEND="2:2.6" RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" # XXX: Is the alternatives stuff needed anymore? inherit alternatives autotools gnome2 python virtualx DESCRIPTION="GLib's GObject library 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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples +introspection libffi test" # FIXME: tests require introspection support, but we can't enable introspection, # or we get file collisions with slot 3 :/ RESTRICT="test" COMMON_DEPEND=">=dev-libs/glib-2.24.0:2 libffi? ( virtual/libffi )" DEPEND="${COMMON_DEPEND} doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) test? ( media-fonts/font-cursor-misc media-fonts/font-misc-misc ) >=dev-util/pkgconfig-0.12" RDEPEND="${COMMON_DEPEND} !