commit:     f902dc2a5fb048b225b878199d3e6196b7ac42af
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 19:07:21 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:35:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f902dc2a

sci-libs/shogun: Switch to PYTHON_MULTI_USEDEP API

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

 sci-libs/shogun/{shogun-5.0.0.ebuild => shogun-5.0.0-r1.ebuild} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild 
b/sci-libs/shogun/shogun-5.0.0-r1.ebuild
similarity index 96%
rename from sci-libs/shogun/shogun-5.0.0.ebuild
rename to sci-libs/shogun/shogun-5.0.0-r1.ebuild
index 3bca4c41c56..1db83f206fa 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0-r1.ebuild
@@ -55,7 +55,9 @@ RDEPEND="
        opencl? ( virtual/opencl )
        python? (
                ${PYTHON_DEPS}
-               dev-python/numpy[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+               ')
        )
        R? ( dev-lang/R )
        ruby? ( dev-ruby/narray )"
@@ -76,7 +78,9 @@ DEPEND="${RDEPEND}
        R? ( >=dev-lang/swig-3.0.12 )
        ruby? ( >=dev-lang/swig-3.0.12 )
        test? (
-               dev-python/jinja[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/jinja[${PYTHON_MULTI_USEDEP}]
+               ')
                >=dev-cpp/gtest-1.8.0
        )"
 

Reply via email to