From fc1fb03a18c0521fed33e9aa8a0a39c8fe5867d9 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 12 Dec 2019 14:57:15 +0100 Subject: dev-ros/test_rospy: upstream py3 fixes Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier --- dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild (limited to 'dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild') diff --git a/dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild b/dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild new file mode 100644 index 000000000000..2cf6f2717553 --- /dev/null +++ b/dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +ROS_REPO_URI="https://github.com/ros/ros_comm" +KEYWORDS="~amd64 ~arm" +ROS_SUBDIR=test/${PN} +CATKIN_HAS_MESSAGES=yes +CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/test_rosmaster" + +PYTHON_COMPAT=( python2_7 ) + +inherit ros-catkin + +DESCRIPTION="Unit tests for rospy" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-ros/rostest[${PYTHON_USEDEP}] + dev-ros/std_msgs[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}] + dev-ros/test_rosmaster[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}] + dev-ros/rosunit[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-ros/rosbuild + dev-ros/rosgraph[${PYTHON_USEDEP}] + dev-ros/rospy[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" +PATCHES=( "${FILESDIR}/py3.patch" "${FILESDIR}/py3-2.patch" ) -- cgit v1.2.3-65-gdbad