sci-electronics/geda-xgsch2pcb: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 18:55:50 +0000 (19:55 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:35:22 +0000 (17:35 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r5.ebuild [moved from sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r3.ebuild with 78% similarity]
sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r6.ebuild [moved from sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild with 84% similarity]

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 e7beae977e1c81357a52b36a385222b768d4c368..f7db10a7e6911369f9cd54a1018060c65718059c 100644 (file)
@@ -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
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 44789cb254304163c8903a3ebe9f7828305b6a9a..b9b2d426a6ae0ce260492f6590196f7c797779f0 100644 (file)
@@ -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 )