sci-electronics/gresistor: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Feb 2020 06:57:57 +0000 (07:57 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:46:48 +0000 (17:46 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-electronics/gresistor/gresistor-0.0.2-r1.ebuild [moved from sci-electronics/gresistor/gresistor-0.0.2.ebuild with 78% similarity]

similarity index 78%
rename from sci-electronics/gresistor/gresistor-0.0.2.ebuild
rename to sci-electronics/gresistor/gresistor-0.0.2-r1.ebuild
index fa0b5112d491544d3a22015b537e9c57e85b5281..1a626f02b10809e000e41595bf9305dbbb4cce77 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,9 +18,11 @@ KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="
-       dev-python/pygtk:2[${PYTHON_USEDEP}]
-       x11-libs/gtk+:2
-       gnome-base/libglade:2.0[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
+       ')
+       gnome-base/libglade:2.0[${PYTHON_SINGLE_USEDEP}]
+       x11-libs/gtk+:2"
 RDEPEND="${DEPEND}"
 
 src_prepare() {