summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2019-12-12 14:57:15 +0100
committerAlexis Ballier <aballier@gentoo.org>2019-12-12 15:46:59 +0100
commitfc1fb03a18c0521fed33e9aa8a0a39c8fe5867d9 (patch)
treea2ff210d95bb702463caad1e8314f02e95085f89 /dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild
parentdev-ros/test_rospy: Remove old (diff)
downloadgentoo-fc1fb03a18c0521fed33e9aa8a0a39c8fe5867d9.tar.gz
gentoo-fc1fb03a18c0521fed33e9aa8a0a39c8fe5867d9.tar.bz2
gentoo-fc1fb03a18c0521fed33e9aa8a0a39c8fe5867d9.zip
dev-ros/test_rospy: upstream py3 fixes
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild')
-rw-r--r--dev-ros/test_rospy/test_rospy-1.14.3-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
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" )