commit:     c2730034d27b574e5725cb7948658334adce6ff2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 17:57:01 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:35:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2730034

sci-calculators/gonvert: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../gonvert/{gonvert-0.2.39.ebuild => gonvert-0.2.39-r1.ebuild}     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-calculators/gonvert/gonvert-0.2.39.ebuild 
b/sci-calculators/gonvert/gonvert-0.2.39-r1.ebuild
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 5650b346b05..94ef697d8f0 100644
--- a/sci-calculators/gonvert/gonvert-0.2.39.ebuild
+++ b/sci-calculators/gonvert/gonvert-0.2.39-r1.ebuild
@@ -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 )

Reply via email to