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

similarity index 96%
rename from sci-libs/mathgl/mathgl-2.4.1-r1.ebuild
rename to sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
index 81c1241a2fa6bc5abd82843cf50ca2e6404c27ef..e07d56b6edf5e78efda7f02d6ad77e863e2e7320 100644 (file)
@@ -39,10 +39,12 @@ RDEPEND="
        pdf? ( media-libs/libharu )
        png? ( media-libs/libpng:0 )
        python? (
-               || (
-                       dev-python/numpy-python2[${PYTHON_USEDEP}]
-                       dev-python/numpy[${PYTHON_USEDEP}]
-               )
+               $(python_gen_cond_dep '
+                       || (
+                               dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+                               dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+                       )
+               ')
                ${PYTHON_DEPS}
        )
        qt5? (