commit: 495170f86afa8156fea97d4aa5668ffc5aff3290
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 18:55:50 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:35:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495170f8
sci-electronics/geda-xgsch2pcb: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
...cb-0.1.3-r3.ebuild => geda-xgsch2pcb-0.1.3-r5.ebuild} | 16 +++++++++++-----
...cb-0.1.3-r4.ebuild => geda-xgsch2pcb-0.1.3-r6.ebuild} | 10 ++++++----
2 files changed, 17 insertions(+), 9 deletions(-)
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 e7beae977e1..f7db10a7e69 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 44789cb2543..b9b2d426a6a 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 )