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-libs/shogun/
Date: Sun, 09 Feb 2020 16:36:42
Message-Id: 1581266133.f902dc2a5fb048b225b878199d3e6196b7ac42af.mgorny@gentoo
1 commit: f902dc2a5fb048b225b878199d3e6196b7ac42af
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 19:07:21 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:35:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f902dc2a
7
8 sci-libs/shogun: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sci-libs/shogun/{shogun-5.0.0.ebuild => shogun-5.0.0-r1.ebuild} | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0-r1.ebuild
16 similarity index 96%
17 rename from sci-libs/shogun/shogun-5.0.0.ebuild
18 rename to sci-libs/shogun/shogun-5.0.0-r1.ebuild
19 index 3bca4c41c56..1db83f206fa 100644
20 --- a/sci-libs/shogun/shogun-5.0.0.ebuild
21 +++ b/sci-libs/shogun/shogun-5.0.0-r1.ebuild
22 @@ -55,7 +55,9 @@ RDEPEND="
23 opencl? ( virtual/opencl )
24 python? (
25 ${PYTHON_DEPS}
26 - dev-python/numpy[${PYTHON_USEDEP}]
27 + $(python_gen_cond_dep '
28 + dev-python/numpy[${PYTHON_MULTI_USEDEP}]
29 + ')
30 )
31 R? ( dev-lang/R )
32 ruby? ( dev-ruby/narray )"
33 @@ -76,7 +78,9 @@ DEPEND="${RDEPEND}
34 R? ( >=dev-lang/swig-3.0.12 )
35 ruby? ( >=dev-lang/swig-3.0.12 )
36 test? (
37 - dev-python/jinja[${PYTHON_USEDEP}]
38 + $(python_gen_cond_dep '
39 + dev-python/jinja[${PYTHON_MULTI_USEDEP}]
40 + ')
41 >=dev-cpp/gtest-1.8.0
42 )"