[dev-python/pygobject*] provide split ebuilds version of pygobject

dev-python/pygobject[cairo] is starting to be required for several
graphical application that otherwise fail to run at runtime. The
list of apps includes the in-development Entropy Rigo Browser.
Unfortunately, dev-python/pygobject[cairo] pulls in a shitload
of deps: half X -> mesa -> llvm/clang. This is unwanted on
X-less images we have (SpinBase) due to the big amount of extra
software we would have to ship with.
We cannot remove dev-python/pygobject from ISO images because
Anaconda requires it.
This commit is contained in:
Fabio Erculiani
2012-02-12 08:33:22 +01:00
parent 67b3a5a878
commit 45194bb5db
19 changed files with 921 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
EBUILD pygobject-3.0.4.ebuild 663 RMD160 328e5ec95a9124eca6b89f0709b0d6c79a754c6c SHA1 cd3b957af6bd65fbaada47f76e55e13b8cd16e9d SHA256 2a91d2674347845e61ea00b632ad9ebd5fe017056731e6c3a15405c4426f2fa1
MISC metadata.xml 291 RMD160 2226a820b502bdd20583331e1601bb9cd04f96be SHA1 f5d19f3ae1f337179858f1818fc195a20ad7e4d9 SHA256 5a3c7fa667eaf9da2744f966afc82db0a4a45cc642157b8224104f17bdb4af5c
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
<herd>python</herd>
<use>
<flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for
introspection</flag>
</use>
</pkgmetadata>
@@ -0,0 +1,18 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
DESCRIPTION="GLib's GObject library bindings for Python, meta package"
HOMEPAGE="http://www.pygtk.org"
LICENSE="LGPL-2.1"
SLOT="3"
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="+cairo examples test +threads" # doc
COMMON_DEPEND="
~dev-python/pygobject-base-${PV}[threads=,examples=,test=]
cairo? ( ~dev-python/pygobject-cairo-${PV}[threads=] )"
DEPEND="${COMMON_DEPEND}"