commit: 45b19783429594560bd571bdd9ec394cc928768a Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Thu Jul 30 13:28:02 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Thu Jul 30 15:02:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45b19783
dev-ros/rqt_py_common: proper test message handling Closes: https://bugs.gentoo.org/734712 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild | 8 +++++++- dev-ros/rqt_py_common/rqt_py_common-9999.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild b/dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild index 28811998d49..7f032e6025d 100644 --- a/dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild +++ b/dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild @@ -6,6 +6,8 @@ EAPI=7 KEYWORDS="~amd64" ROS_REPO_URI="https://github.com/ros-visualization/rqt" ROS_SUBDIR=${PN} +# Tests have messages +CATKIN_HAS_MESSAGES=yes inherit ros-catkin @@ -22,4 +24,8 @@ RDEPEND=" dev-ros/rostopic[${PYTHON_SINGLE_USEDEP}] >=dev-ros/python_qt_binding-0.2.19[${PYTHON_SINGLE_USEDEP}] " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( + dev-ros/std_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] + ) +" diff --git a/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild b/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild index 28811998d49..7f032e6025d 100644 --- a/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild +++ b/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild @@ -6,6 +6,8 @@ EAPI=7 KEYWORDS="~amd64" ROS_REPO_URI="https://github.com/ros-visualization/rqt" ROS_SUBDIR=${PN} +# Tests have messages +CATKIN_HAS_MESSAGES=yes inherit ros-catkin @@ -22,4 +24,8 @@ RDEPEND=" dev-ros/rostopic[${PYTHON_SINGLE_USEDEP}] >=dev-ros/python_qt_binding-0.2.19[${PYTHON_SINGLE_USEDEP}] " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( + dev-ros/std_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] + ) +"
