summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-09-23 15:14:09 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-09-23 15:14:09 +0200
commit0c5dd17a885d1e2f2e5caaec9a55d09a7e6124fc (patch)
treec17fdebee5ae215ad93046004698ce6d87731e27 /dev-ros/opencv_tests
parentdev-ros/camera_calibration: fix broken deps on opencv (diff)
downloadgentoo-0c5dd17a885d1e2f2e5caaec9a55d09a7e6124fc.tar.gz
gentoo-0c5dd17a885d1e2f2e5caaec9a55d09a7e6124fc.tar.bz2
gentoo-0c5dd17a885d1e2f2e5caaec9a55d09a7e6124fc.zip
dev-ros/opencv_tests: Fix broken deps on opencv.
Package-Manager: portage-2.2.21
Diffstat (limited to 'dev-ros/opencv_tests')
-rw-r--r--dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild3
-rw-r--r--dev-ros/opencv_tests/opencv_tests-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild b/dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild
index 9c9cf256119a..770ea0be049c 100644
--- a/dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild
+++ b/dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild
@@ -5,6 +5,7 @@
EAPI=5
ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
KEYWORDS="~amd64 ~arm"
+# Be careful: It needs opencv with python support but opencv is python-single-r1
PYTHON_COMPAT=( python2_7 )
ROS_SUBDIR=${PN}
@@ -18,7 +19,7 @@ IUSE=""
RDEPEND="
dev-ros/cv_bridge[${PYTHON_USEDEP}]
dev-ros/rospy[${PYTHON_USEDEP}]
- media-libs/opencv[python,${PYTHON_USEDEP}]
+ media-libs/opencv[python,python_single_target_python2_7]
dev-python/numpy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
diff --git a/dev-ros/opencv_tests/opencv_tests-9999.ebuild b/dev-ros/opencv_tests/opencv_tests-9999.ebuild
index 9c9cf256119a..770ea0be049c 100644
--- a/dev-ros/opencv_tests/opencv_tests-9999.ebuild
+++ b/dev-ros/opencv_tests/opencv_tests-9999.ebuild
@@ -5,6 +5,7 @@
EAPI=5
ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
KEYWORDS="~amd64 ~arm"
+# Be careful: It needs opencv with python support but opencv is python-single-r1
PYTHON_COMPAT=( python2_7 )
ROS_SUBDIR=${PN}
@@ -18,7 +19,7 @@ IUSE=""
RDEPEND="
dev-ros/cv_bridge[${PYTHON_USEDEP}]
dev-ros/rospy[${PYTHON_USEDEP}]
- media-libs/opencv[python,${PYTHON_USEDEP}]
+ media-libs/opencv[python,python_single_target_python2_7]
dev-python/numpy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"