commit:     0c5dd17a885d1e2f2e5caaec9a55d09a7e6124fc
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 13:14:09 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 13:14:09 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5dd17a

dev-ros/opencv_tests: Fix broken deps on opencv.

Package-Manager: portage-2.2.21

 dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild | 3 ++-
 dev-ros/opencv_tests/opencv_tests-9999.ebuild   | 3 ++-
 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 9c9cf25..770ea0b 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 9c9cf25..770ea0b 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}"

Reply via email to