sci-calculators/gonvert: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 17:57:01 +0000 (18:57 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:35:17 +0000 (17:35 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-calculators/gonvert/gonvert-0.2.39-r1.ebuild [moved from sci-calculators/gonvert/gonvert-0.2.39.ebuild with 86% similarity]

similarity index 86%
rename from sci-calculators/gonvert/gonvert-0.2.39.ebuild
rename to sci-calculators/gonvert/gonvert-0.2.39-r1.ebuild
index 5650b346b056e6e4022bcb7458bdbb53b0b200f6..94ef697d8f02962e8ddb88ac48a1e3a2ef6983c7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,7 +20,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
        ${PYTHON_DEPS}
-       dev-python/pygtk:2[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
+       ')"
 DEPEND="${RDEPEND}"
 
 PATCHES=( "${FILESDIR}"/0.2.23-paths.patch )