From: Michał Górny Date: Fri, 7 Feb 2020 18:55:50 +0000 (+0100) Subject: sci-electronics/geda-xgsch2pcb: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=495170f86afa8156fea97d4aa5668ffc5aff3290;p=gentoo.git sci-electronics/geda-xgsch2pcb: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- 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 )