From 495170f86afa8156fea97d4aa5668ffc5aff3290 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 19:55:50 +0100 Subject: [PATCH] sci-electronics/geda-xgsch2pcb: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- ...-r3.ebuild => geda-xgsch2pcb-0.1.3-r5.ebuild} | 16 +++++++++++----- ...-r4.ebuild => geda-xgsch2pcb-0.1.3-r6.ebuild} | 10 ++++++---- 2 files changed, 17 insertions(+), 9 deletions(-) rename sci-electronics/geda-xgsch2pcb/{geda-xgsch2pcb-0.1.3-r3.ebuild => geda-xgsch2pcb-0.1.3-r5.ebuild} (78%) rename sci-electronics/geda-xgsch2pcb/{geda-xgsch2pcb-0.1.3-r4.ebuild => geda-xgsch2pcb-0.1.3-r6.ebuild} (84%) diff --git a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r3.ebuild b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r5.ebuild similarity index 78% rename from sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r3.ebuild rename to sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r5.ebuild index e7beae977e1c..f7db10a7e691 100644 --- a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r3.ebuild +++ b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,16 +19,22 @@ IUSE="gnome nls" REQUIRED_USE="${PYTHON_REQUIRED_USE}" CDEPEND="${PYTHON_DEPS} - dev-python/pygtk:2[${PYTHON_USEDEP}] - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}] + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + ') sci-electronics/pcb[dbus] sci-electronics/geda nls? ( virtual/libintl ) " RDEPEND="${CDEPEND} sci-electronics/electronics-menu - gnome? ( dev-python/gnome-vfs-python[${PYTHON_USEDEP}] ) + gnome? ( + $(python_gen_cond_dep ' + dev-python/gnome-vfs-python[${PYTHON_MULTI_USEDEP}] + ') + ) " DEPEND="${CDEPEND} dev-util/intltool diff --git a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r6.ebuild similarity index 84% rename from sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild rename to sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r6.ebuild index 44789cb25430..b9b2d426a6ae 100644 --- a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild +++ b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,9 +19,11 @@ IUSE="nls" REQUIRED_USE="${PYTHON_REQUIRED_USE}" CDEPEND="${PYTHON_DEPS} - dev-python/pygtk:2[${PYTHON_USEDEP}] - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}] + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + ') sci-electronics/pcb[dbus] sci-electronics/geda nls? ( virtual/libintl ) -- 2.26.2