dev-ros/test_roslaunch: rostest is mandatory at buildtime, bug #568960
authorAlexis Ballier <aballier@gentoo.org>
Mon, 21 Dec 2015 14:21:32 +0000 (15:21 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 21 Dec 2015 14:22:59 +0000 (15:22 +0100)
Package-Manager: portage-2.2.26
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/test_roslaunch/test_roslaunch-1.11.16-r1.ebuild [new file with mode: 0644]
dev-ros/test_roslaunch/test_roslaunch-9999.ebuild

diff --git a/dev-ros/test_roslaunch/test_roslaunch-1.11.16-r1.ebuild b/dev-ros/test_roslaunch/test_roslaunch-1.11.16-r1.ebuild
new file mode 100644 (file)
index 0000000..e5299e8
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ROS_REPO_URI="https://github.com/ros/ros_comm"
+KEYWORDS="~amd64 ~arm"
+ROS_SUBDIR=test/${PN}
+PYTHON_COMPAT=( python2_7 )
+
+inherit ros-catkin
+
+DESCRIPTION="Unit tests for roslaunch"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       dev-ros/rostest[${PYTHON_USEDEP}]
+       test? (
+               dev-ros/roslaunch[${PYTHON_USEDEP}]
+               dev-python/rospkg[${PYTHON_USEDEP}]
+       )
+"
index 665859925fc094d3b26de5f5b1e07874b05789f6..e5299e80d7b945df11acc5ef092f091f1a2daa09 100644 (file)
@@ -18,8 +18,8 @@ IUSE=""
 
 RDEPEND=""
 DEPEND="${RDEPEND}
+       dev-ros/rostest[${PYTHON_USEDEP}]
        test? (
-               dev-ros/rostest[${PYTHON_USEDEP}]
                dev-ros/roslaunch[${PYTHON_USEDEP}]
                dev-python/rospkg[${PYTHON_USEDEP}]
        )