diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-05-13 13:24:22 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-05-13 16:07:05 +0200 |
commit | d6a6d234d7ab1020ad78ebc7124aa6b695485cb3 (patch) | |
tree | 803e1ea2aaf93793e8c45241187bc01cd8055faa | |
parent | dev-ros/rosgraph: Bump to 1.15.4. (diff) | |
download | gentoo-d6a6d234d7ab1020ad78ebc7124aa6b695485cb3.tar.gz gentoo-d6a6d234d7ab1020ad78ebc7124aa6b695485cb3.tar.bz2 gentoo-d6a6d234d7ab1020ad78ebc7124aa6b695485cb3.zip |
dev-ros/roslaunch: Bump to 1.15.4.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
-rw-r--r-- | dev-ros/roslaunch/Manifest | 1 | ||||
-rw-r--r-- | dev-ros/roslaunch/roslaunch-1.15.4.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-ros/roslaunch/Manifest b/dev-ros/roslaunch/Manifest index 3d0a1ebaa18a..61884545d536 100644 --- a/dev-ros/roslaunch/Manifest +++ b/dev-ros/roslaunch/Manifest @@ -1 +1,2 @@ DIST ros_comm-1.14.3.tar.gz 1045287 BLAKE2B c079983aa730e70028d1bf2c365d01d99ce09ced0c0f6443b18f9d0fb83715f6af4b313d6db4eb99dcc10052c81fa3e6560e7b3591b2fbe14b9ec20fac24babe SHA512 52df24f10f476697ee6fa340da354b45431f35018a25e2674dc9306f175929a4b0368753503ea143f87aeb4945a2e67c37f83d833f54b53f9a76a81022c280a3 +DIST ros_comm-1.15.4.tar.gz 1071246 BLAKE2B 57867c192bfd48f3a0534762808c668031081a6155510879e68f9618226b9c5eff0d5fc9ec0e7ec8d0cc1f0d74794a4e55151036275ae6fc5bb613cc42137ddc SHA512 f92233cbf5ee97832023545730d3e756dfa08507072c074ac3e0763db1c2c2ab9fcbb0c90995a0c5d43f0ddc2ee528c185173a664b19abe4f8159aa3f3cb20dc diff --git a/dev-ros/roslaunch/roslaunch-1.15.4.ebuild b/dev-ros/roslaunch/roslaunch-1.15.4.ebuild new file mode 100644 index 000000000000..7263b4b91248 --- /dev/null +++ b/dev-ros/roslaunch/roslaunch-1.15.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 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=tools/${PN} +PYTHON_COMPAT=( python{2_7,3_6} pypy3 ) + +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" "${FILESDIR}/yaml.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 +} |