dev-ros/camera_calibration_parsers: Set proper python dependencies, bug #608330
authorAlexis Ballier <aballier@gentoo.org>
Fri, 10 Feb 2017 17:14:50 +0000 (18:14 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 10 Feb 2017 17:21:00 +0000 (18:21 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-ros/camera_calibration_parsers/camera_calibration_parsers-1.11.12.ebuild
dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild

index 47a14fde7f711e3f9445d065509c7c38bf61ccdb..36edaa11f6ed6695c515e81f88f8b899949054bb 100644 (file)
@@ -6,6 +6,7 @@ EAPI=5
 ROS_REPO_URI="https://github.com/ros-perception/image_common"
 KEYWORDS="~amd64 ~arm"
 ROS_SUBDIR=${PN}
+PYTHON_COMPAT=( python2_7 )
 
 inherit ros-catkin
 
@@ -15,8 +16,8 @@ SLOT="0"
 IUSE=""
 
 RDEPEND="
-       dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
-       dev-libs/boost:=[python]
+       dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+       dev-libs/boost:=[python,${PYTHON_USEDEP}]
        dev-ros/rosconsole
        >=dev-cpp/yaml-cpp-0.5
 "
index f8a8503e099102fc9a5dd02dbc2f8aef91709763..36edaa11f6ed6695c515e81f88f8b899949054bb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,6 +6,7 @@ EAPI=5
 ROS_REPO_URI="https://github.com/ros-perception/image_common"
 KEYWORDS="~amd64 ~arm"
 ROS_SUBDIR=${PN}
+PYTHON_COMPAT=( python2_7 )
 
 inherit ros-catkin
 
@@ -15,8 +16,8 @@ SLOT="0"
 IUSE=""
 
 RDEPEND="
-       dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
-       dev-libs/boost:=[python]
+       dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+       dev-libs/boost:=[python,${PYTHON_USEDEP}]
        dev-ros/rosconsole
        >=dev-cpp/yaml-cpp-0.5
 "