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

similarity index 97%
rename from sci-libs/plplot/plplot-5.15.0.ebuild
rename to sci-libs/plplot/plplot-5.15.0-r1.ebuild
index bafe731a8d4669a242c84ca181702c9fef1b579b..f0f9d5c4247afde5ac1d030d3842321d9ac8f4ad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -49,8 +49,10 @@ RDEPEND="
        pdf? ( media-libs/libharu:0= )
        python? (
                ${PYTHON_DEPS}
-               dev-python/numpy[${PYTHON_USEDEP}]
-               qt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] )
+               $(python_gen_cond_dep '
+                       dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+                       qt5? ( dev-python/PyQt5[${PYTHON_MULTI_USEDEP}] )
+               ')
        )
        qhull? ( media-libs/qhull:0= )
        qt5? (