summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 17:41:56 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:27:32 +0100
commit69de0da4f7f7b8a11e731acc4744585d5e74a9bb (patch)
treeb043b593ef4e23d7cc754e1151f542ebb2784b9e /media-libs/opencv
parentmedia-libs/pymemphis: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-69de0da4f7f7b8a11e731acc4744585d5e74a9bb.tar.gz
gentoo-69de0da4f7f7b8a11e731acc4744585d5e74a9bb.tar.bz2
gentoo-69de0da4f7f7b8a11e731acc4744585d5e74a9bb.zip
media-libs/opencv: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/opencv')
-rw-r--r--media-libs/opencv/opencv-2.4.13-r4.ebuild (renamed from media-libs/opencv/opencv-2.4.13-r3.ebuild)10
1 files changed, 6 insertions, 4 deletions
diff --git a/media-libs/opencv/opencv-2.4.13-r3.ebuild b/media-libs/opencv/opencv-2.4.13-r4.ebuild
index caceec0fd66e..e678316f625b 100644
--- a/media-libs/opencv/opencv-2.4.13-r3.ebuild
+++ b/media-libs/opencv/opencv-2.4.13-r4.ebuild
@@ -53,10 +53,12 @@ RDEPEND="
png? ( media-libs/libpng:0= )
python? (
${PYTHON_DEPS}
- || (
- 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}]
+ )
+ ')
)
qt5? (
dev-qt/qtconcurrent:5