From: Alexis Ballier Date: Wed, 23 Sep 2015 13:14:09 +0000 (+0200) Subject: dev-ros/opencv_tests: Fix broken deps on opencv. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c5dd17a885d1e2f2e5caaec9a55d09a7e6124fc;p=gentoo.git dev-ros/opencv_tests: Fix broken deps on opencv. Package-Manager: portage-2.2.21 --- 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}"