From c89e571cb194ce6e02d70d38a7c44a6e4b6e5a33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 20:06:41 +0100 Subject: [PATCH] sci-libs/mathgl: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../{mathgl-2.4.1-r1.ebuild => mathgl-2.4.1-r2.ebuild} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename sci-libs/mathgl/{mathgl-2.4.1-r1.ebuild => mathgl-2.4.1-r2.ebuild} (96%) diff --git a/sci-libs/mathgl/mathgl-2.4.1-r1.ebuild b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild 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 81c1241a2fa6..e07d56b6edf5 100644 --- a/sci-libs/mathgl/mathgl-2.4.1-r1.ebuild +++ b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild @@ -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? ( -- 2.26.2