Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/gonvert/
Date: Sun, 09 Feb 2020 16:36:35
Message-Id: 1581266117.c2730034d27b574e5725cb7948658334adce6ff2.mgorny@gentoo
1 commit: c2730034d27b574e5725cb7948658334adce6ff2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 17:57:01 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:35:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2730034
7
8 sci-calculators/gonvert: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../gonvert/{gonvert-0.2.39.ebuild => gonvert-0.2.39-r1.ebuild} | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/sci-calculators/gonvert/gonvert-0.2.39.ebuild b/sci-calculators/gonvert/gonvert-0.2.39-r1.ebuild
16 similarity index 86%
17 rename from sci-calculators/gonvert/gonvert-0.2.39.ebuild
18 rename to sci-calculators/gonvert/gonvert-0.2.39-r1.ebuild
19 index 5650b346b05..94ef697d8f0 100644
20 --- a/sci-calculators/gonvert/gonvert-0.2.39.ebuild
21 +++ b/sci-calculators/gonvert/gonvert-0.2.39-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2016 Gentoo Foundation
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28 @@ -20,7 +20,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
29
30 RDEPEND="
31 ${PYTHON_DEPS}
32 - dev-python/pygtk:2[${PYTHON_USEDEP}]"
33 + $(python_gen_cond_dep '
34 + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
35 + ')"
36 DEPEND="${RDEPEND}"
37
38 PATCHES=( "${FILESDIR}"/0.2.23-paths.patch )