# Copyright owners: Gentoo Foundation # Arfrever Frehtes Taifersar Arahesis # Distributed under the terms of the GNU General Public License v2 EAPI="5-progress" GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" PYTHON_MULTIPLE_ABIS="1" PYTHON_RESTRICTED_ABIS="2.5 *-jython *-pypy-*" inherit autotools eutils gnome2 python virtualx DESCRIPTION="GLib's GObject library bindings for Python" HOMEPAGE="http://www.pygtk.org/" LICENSE="LGPL-2.1+" SLOT="3" KEYWORDS="~*" IUSE="+cairo examples test +threads" REQUIRED_USE="test? ( cairo )" COMMON_DEPEND=">=dev-libs/glib-2.31.0:2 >=dev-libs/gobject-introspection-1.34.1.1 virtual/libffi:= cairo? ( $(python_abi_depend ">=dev-python/pycairo-1.10.0") )" DEPEND="${COMMON_DEPEND} x11-libs/cairo[glib] virtual/pkgconfig test? ( dev-libs/atk[introspection] $(python_abi_depend -i "2.6 3.1" dev-python/unittest2) media-fonts/font-cursor-misc media-fonts/font-misc-misc x11-libs/gdk-pixbuf:2[introspection] x11-libs/gtk+:3[introspection] x11-libs/pango[introspection] )" # 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} !