dev-python/gnome-python*-base: Fix python eclass usage

Closes: https://bugs.gentoo.org/691406
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2019-08-04 13:46:53 +03:00
parent 7594a51367
commit 974b83e7f2
4 changed files with 16 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 )
GNOME_ORG_MODULE="gnome-python-desktop"
GNOME_TARBALL_SUFFIX="bz2"
inherit gnome2 python-any-r1
inherit gnome2 python-r1
# This ebuild does nothing -- we just want to get the pkgconfig file installed
@@ -17,11 +17,13 @@ HOMEPAGE="http://pygtk.org/"
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
LICENSE="LGPL-2.1"
SLOT="0"
# From the gnome-python-desktop eclass
RDEPEND="$(python_gen_any_dep '>=dev-python/pygtk-2.10.3:2[${PYTHON_USEDEP}]')
RDEPEND="${PYTHON_DEPS}
>=dev-python/pygtk-2.10.3:2[${PYTHON_USEDEP}]
>=dev-libs/glib-2.6.0:2
>=x11-libs/gtk+-2.4.0:2
!<dev-python/gnome-python-extras-2.13