summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-30 22:16:55 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-30 22:26:12 +0100
commit1bd6dd295318d207480428a27a2a14d2146fc017 (patch)
tree38ad29417d8adf9270913d37526acbf567ddd92f /media-libs/opencv
parentmedia-libs/opencv: Remove py2 where possible (diff)
downloadgentoo-1bd6dd295318d207480428a27a2a14d2146fc017.tar.gz
gentoo-1bd6dd295318d207480428a27a2a14d2146fc017.tar.bz2
gentoo-1bd6dd295318d207480428a27a2a14d2146fc017.zip
media-libs/opencv: Permit numpy-python2 in 2*
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-r3.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/media-libs/opencv/opencv-2.4.13-r3.ebuild b/media-libs/opencv/opencv-2.4.13-r3.ebuild
index d4379a93e73c..caceec0fd66e 100644
--- a/media-libs/opencv/opencv-2.4.13-r3.ebuild
+++ b/media-libs/opencv/opencv-2.4.13-r3.ebuild
@@ -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
@@ -51,7 +51,13 @@ RDEPEND="
openexr? ( media-libs/openexr )
opengl? ( virtual/opengl virtual/glu )
png? ( media-libs/libpng:0= )
- python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] )
+ python? (
+ ${PYTHON_DEPS}
+ || (
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+ )
qt5? (
dev-qt/qtconcurrent:5
dev-qt/qtcore:5