diff options
Diffstat (limited to 'dev-ros/roswtf/roswtf-1.15.8.ebuild')
-rw-r--r-- | dev-ros/roswtf/roswtf-1.15.8.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ros/roswtf/roswtf-1.15.8.ebuild b/dev-ros/roswtf/roswtf-1.15.8.ebuild new file mode 100644 index 000000000000..f29c9e72edb3 --- /dev/null +++ b/dev-ros/roswtf/roswtf-1.15.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ROS_REPO_URI="https://github.com/ros/ros_comm" +KEYWORDS="~amd64 ~arm" +ROS_SUBDIR=utilities/${PN} + +inherit ros-catkin + +DESCRIPTION="Tool for diagnosing issues with a running ROS system" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + $(python_gen_cond_dep "dev-python/paramiko[\${PYTHON_USEDEP}]") + dev-ros/roslib[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep "dev-python/rospkg[\${PYTHON_USEDEP}]") +" +DEPEND="${RDEPEND} + test? ( + dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep "dev-util/rosdep[\${PYTHON_USEDEP}]") + $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") + )" + +src_test() { + # Needed for tests to find internal launch file + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} |