summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-08-04 13:46:53 +0300
committerMart Raudsepp <leio@gentoo.org>2019-08-04 13:46:53 +0300
commit974b83e7f227237f33d554eec706e4813e7bff69 (patch)
tree9df565e0b7f8d91bdea66ddf0da1fcba34829350 /dev-python/gnome-python-base
parentx11-libs/vte: fix vala:0.44 compatibility properly (diff)
downloadgentoo-974b83e7f227237f33d554eec706e4813e7bff69.tar.gz
gentoo-974b83e7f227237f33d554eec706e4813e7bff69.tar.bz2
gentoo-974b83e7f227237f33d554eec706e4813e7bff69.zip
dev-python/gnome-python*-base: Fix python eclass usage
Closes: https://bugs.gentoo.org/691406 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'dev-python/gnome-python-base')
-rw-r--r--dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild b/dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild
index 540f323b3815..6083501408e4 100644
--- a/dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild
+++ b/dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python2_7 )
-inherit versionator eutils gnome2 python-any-r1
+inherit versionator eutils gnome2 python-r1
# This ebuild does nothing -- we just want to get the pkgconfig file installed
@@ -16,6 +16,7 @@ PVP="$(get_version_component_range 1-2)"
SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP}/${MY_PN}-${PV}.tar.bz2"
IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
LICENSE="LGPL-2.1"
SLOT="2"
RESTRICT="${RESTRICT} test"
@@ -23,10 +24,9 @@ RESTRICT="${RESTRICT} test"
# From the gnome-python eclass
RDEPEND=">=x11-libs/gtk+-2.6:2
>=dev-libs/glib-2.6:2
- $(python_gen_any_dep '
- >=dev-python/pygtk-2.14.0:2[${PYTHON_USEDEP}]
- >=dev-python/pygobject-2.17:2[${PYTHON_USEDEP}]
- ')
+ ${PYTHON_DEPS}
+ >=dev-python/pygtk-2.14.0:2[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-2.17:2[${PYTHON_USEDEP}]
!<dev-python/gnome-python-2.22.1"
DEPEND="${RDEPEND}
virtual/pkgconfig"