sci-libs/shogun: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 19:07:21 +0000 (20:07 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:35:33 +0000 (17:35 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/shogun/shogun-5.0.0-r1.ebuild [moved from sci-libs/shogun/shogun-5.0.0.ebuild with 96% similarity]

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 3bca4c41c568032ea3ab9247f18d9097a538691f..1db83f206fad32bb860d858e66f900fb04306224 100644 (file)
@@ -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
        )"