From 0c5dd17a885d1e2f2e5caaec9a55d09a7e6124fc Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 23 Sep 2015 15:14:09 +0200 Subject: [PATCH] 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 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}" -- 2.26.2