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-physics/rivet/
Date: Sun, 09 Feb 2020 16:36:44
Message-Id: 1581266137.18293ee771f79b1e640bf08678c56009af2b4c91.mgorny@gentoo
1 commit: 18293ee771f79b1e640bf08678c56009af2b4c91
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 19:10:27 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:35:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18293ee7
7
8 sci-physics/rivet: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../rivet/{rivet-2.6.0-r1.ebuild => rivet-2.6.0-r2.ebuild} | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/sci-physics/rivet/rivet-2.6.0-r1.ebuild b/sci-physics/rivet/rivet-2.6.0-r2.ebuild
16 similarity index 93%
17 rename from sci-physics/rivet/rivet-2.6.0-r1.ebuild
18 rename to sci-physics/rivet/rivet-2.6.0-r2.ebuild
19 index 273705fb73d..551de2ab59e 100644
20 --- a/sci-physics/rivet/rivet-2.6.0-r1.ebuild
21 +++ b/sci-physics/rivet/rivet-2.6.0-r2.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2018 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 @@ -28,7 +28,11 @@ RDEPEND="
29 python? ( ${PYTHON_DEPS} )"
30 DEPEND="${RDEPEND}
31 doc? ( app-doc/doxygen[latex,dot] )
32 - python? ( dev-python/cython[${PYTHON_USEDEP}] )"
33 + python? (
34 + $(python_gen_cond_dep '
35 + dev-python/cython[${PYTHON_MULTI_USEDEP}]
36 + ')
37 + )"
38
39 S="${WORKDIR}/${P^}"