commit:     2194f5634c7b93bfe293878483fcc89febd8ae23
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 13:30:44 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 14:36:25 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2194f563

dev-ros/rospy: Install test nodes since tests of other packages need it.

Package-Manager: portage-2.2.21

 dev-ros/rospy/rospy-1.11.14.ebuild | 7 +++++++
 dev-ros/rospy/rospy-9999.ebuild    | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/dev-ros/rospy/rospy-1.11.14.ebuild 
b/dev-ros/rospy/rospy-1.11.14.ebuild
index 1d2ec33..720ae2d 100644
--- a/dev-ros/rospy/rospy-1.11.14.ebuild
+++ b/dev-ros/rospy/rospy-1.11.14.ebuild
@@ -23,3 +23,10 @@ RDEPEND="
        dev-python/rospkg[${PYTHON_USEDEP}]
 "
 DEPEND="${RDEPEND}"
+
+src_install() {
+       ros-catkin_src_install
+       # Other tests need these nodes
+       exeinto /usr/share/${PN}
+       doexe test_nodes/*
+}

diff --git a/dev-ros/rospy/rospy-9999.ebuild b/dev-ros/rospy/rospy-9999.ebuild
index 1d2ec33..720ae2d 100644
--- a/dev-ros/rospy/rospy-9999.ebuild
+++ b/dev-ros/rospy/rospy-9999.ebuild
@@ -23,3 +23,10 @@ RDEPEND="
        dev-python/rospkg[${PYTHON_USEDEP}]
 "
 DEPEND="${RDEPEND}"
+
+src_install() {
+       ros-catkin_src_install
+       # Other tests need these nodes
+       exeinto /usr/share/${PN}
+       doexe test_nodes/*
+}

Reply via email to