From 974b83e7f227237f33d554eec706e4813e7bff69 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sun, 4 Aug 2019 13:46:53 +0300 Subject: [PATCH] dev-python/gnome-python*-base: Fix python eclass usage Closes: https://bugs.gentoo.org/691406 Signed-off-by: Mart Raudsepp --- .../gnome-python-base-2.28.1-r1.ebuild | 10 +++++----- .../gnome-python-desktop-base-2.32.0-r1.ebuild | 6 ++++-- .../gnome-python-extras-base-2.25.3-r1.ebuild | 8 +++++--- eclass/gnome-python-common-r1.eclass | 4 ++-- 4 files changed, 16 insertions(+), 12 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/pygtk-2.10.3:2[${PYTHON_USEDEP}] >=dev-libs/glib-2.6.0:2 >=x11-libs/gtk+-2.4.0:2 !