commit: 1bd6dd295318d207480428a27a2a14d2146fc017
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 30 21:16:55 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 30 21:26:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd6dd29
media-libs/opencv: Permit numpy-python2 in 2*
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-libs/opencv/opencv-2.4.13-r3.ebuild | 10 ++++++++--
1 file 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 d4379a93e73..caceec0fd66 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