diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-11-14 16:39:21 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-11-15 07:57:41 +0100 |
commit | 527a4ac52b0c51f52f92baa7a7fa2b9b0d981743 (patch) | |
tree | 9090c9264bb75fd58eefcc7f0a64902db3dfaf7c /dev-ros/roslaunch/roslaunch-1.13.5.ebuild | |
parent | dev-ros/rosgraph: Bump to 1.13.5. (diff) | |
download | gentoo-527a4ac52b0c51f52f92baa7a7fa2b9b0d981743.tar.gz gentoo-527a4ac52b0c51f52f92baa7a7fa2b9b0d981743.tar.bz2 gentoo-527a4ac52b0c51f52f92baa7a7fa2b9b0d981743.zip |
dev-ros/roslaunch: Bump to 1.13.5.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'dev-ros/roslaunch/roslaunch-1.13.5.ebuild')
-rw-r--r-- | dev-ros/roslaunch/roslaunch-1.13.5.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/dev-ros/roslaunch/roslaunch-1.13.5.ebuild b/dev-ros/roslaunch/roslaunch-1.13.5.ebuild new file mode 100644 index 000000000000..a728c34f206b --- /dev/null +++ b/dev-ros/roslaunch/roslaunch-1.13.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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=tools/${PN} +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) + +inherit ros-catkin user + +DESCRIPTION="Tool for easily launching multiple ROS nodes" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-ros/roslib[${PYTHON_USEDEP}] + dev-python/rospkg[${PYTHON_USEDEP}] + dev-ros/rosclean[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-ros/rosgraph_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] + dev-ros/rosparam[${PYTHON_USEDEP}] + dev-ros/rosmaster[${PYTHON_USEDEP}] + dev-ros/rosout +" +DEPEND="${RDEPEND} + test? ( + dev-util/rosdep[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-ros/test_rosmaster + )" +PATCHES=( "${FILESDIR}/timeout.patch" ) + +src_test() { + rosdep update + ros-catkin_src_test +} + +src_install() { + ros-catkin_src_install + + dodir /etc/ros + sed -e "s/@PKG_VERSION@/${PV}/" "${FILESDIR}/roscore.xml.in" > "${ED}/etc/ros/roscore.xml" || die + + newinitd "${FILESDIR}/roscore.initd" roscore + newconfd "${FILESDIR}/roscore.confd" roscore + + newinitd "${FILESDIR}/roslaunch.initd" roslaunch + newconfd "${FILESDIR}/roslaunch.confd" roslaunch + + doenvd "${FILESDIR}/40roslaunch" + + # Needed by test_roslaunch + insinto /usr/share/${PN} + doins test/xml/noop.launch +} + +pkg_preinst() { + enewgroup ros + enewuser ros -1 -1 /home/ros ros +} |