# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # # Original Author: Jim Ramsay # Purpose: Centralizes functions needed to split up the huge # 'gnome-python-desktop' package into its constituent bindings # # Important enviroment variables: # # MY_BINDING: The actual '--enable-' name, which by default is the end # of ${PN} after the final '-'. May be overridden if necessary. # inherit gnome2 python eutils autotools MY_BINDING=${PN##*-} MY_PN="gnome-python-desktop" DESCRIPTION="provides python interfacing modules for some GNOME desktop libraries" HOMEPAGE="http://pygtk.org/" PVP=(${PV//[-\._]/ }) SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP[0]}.${PVP[1]}/${MY_PN}-${PV}.tar.bz2 http://dev.gentoo.org/~lack/patches/${MY_PN}-${PV}-split.patch.gz" LICENSE="LGPL-2.1 GPL-2" SLOT="0" RDEPEND="virtual/python >=dev-python/pygtk-2.10.3 >=dev-libs/glib-2.6.0 >=x11-libs/gtk+-2.4.0 >=dev-python/gnome-python-2.10.0 !