sci-libs/cantera: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 19:04:15 +0000 (20:04 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:35:28 +0000 (17:35 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/cantera/cantera-2.4.0-r1.ebuild
sci-libs/cantera/cantera-2.4.0-r3.ebuild [moved from sci-libs/cantera/cantera-2.4.0-r2.ebuild with 95% similarity]

index edaded328a204fd40a77ff300ea6a6e4eb099155..cd27ff27f63741a2f423dc23720c97b6e0a74d1b 100644 (file)
@@ -28,7 +28,9 @@ REQUIRED_USE="
 RDEPEND="
        ${PYTHON_DEPS}
        python? (
-               dev-python/numpy[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+               ')
        )
        <sci-libs/sundials-4.0.0:0=
 "
@@ -39,7 +41,9 @@ DEPEND="
        dev-libs/boost
        dev-libs/libfmt
        python? (
-               dev-python/cython[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/cython[${PYTHON_MULTI_USEDEP}]
+               ')
        )
        test? (
                >=dev-cpp/gtest-1.8.0
similarity index 95%
rename from sci-libs/cantera/cantera-2.4.0-r2.ebuild
rename to sci-libs/cantera/cantera-2.4.0-r3.ebuild
index f82bfa0863969c24aa164458ec3d10c7ee69bb37..29345e36058ca68f8c71c8a33a18b05fdac8d5c3 100644 (file)
@@ -28,7 +28,9 @@ REQUIRED_USE="
 RDEPEND="
        ${PYTHON_DEPS}
        python? (
-               dev-python/numpy[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+               ')
        )
        <sci-libs/sundials-5.1.0:0=
 "
@@ -39,7 +41,9 @@ DEPEND="
        dev-libs/boost
        dev-libs/libfmt
        python? (
-               dev-python/cython[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/cython[${PYTHON_MULTI_USEDEP}]
+               ')
        )
        test? (
                >=dev-cpp/gtest-1.8.0