1 |
commit: 45b19783429594560bd571bdd9ec394cc928768a |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 30 13:28:02 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 30 15:02:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45b19783 |
7 |
|
8 |
dev-ros/rqt_py_common: proper test message handling |
9 |
|
10 |
Closes: https://bugs.gentoo.org/734712 |
11 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
12 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
13 |
|
14 |
dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild | 8 +++++++- |
15 |
dev-ros/rqt_py_common/rqt_py_common-9999.ebuild | 8 +++++++- |
16 |
2 files changed, 14 insertions(+), 2 deletions(-) |
17 |
|
18 |
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 |
19 |
index 28811998d49..7f032e6025d 100644 |
20 |
--- a/dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild |
21 |
+++ b/dev-ros/rqt_py_common/rqt_py_common-0.5.2.ebuild |
22 |
@@ -6,6 +6,8 @@ EAPI=7 |
23 |
KEYWORDS="~amd64" |
24 |
ROS_REPO_URI="https://github.com/ros-visualization/rqt" |
25 |
ROS_SUBDIR=${PN} |
26 |
+# Tests have messages |
27 |
+CATKIN_HAS_MESSAGES=yes |
28 |
|
29 |
inherit ros-catkin |
30 |
|
31 |
@@ -22,4 +24,8 @@ RDEPEND=" |
32 |
dev-ros/rostopic[${PYTHON_SINGLE_USEDEP}] |
33 |
>=dev-ros/python_qt_binding-0.2.19[${PYTHON_SINGLE_USEDEP}] |
34 |
" |
35 |
-DEPEND="${RDEPEND}" |
36 |
+DEPEND="${RDEPEND} |
37 |
+ test? ( |
38 |
+ dev-ros/std_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] |
39 |
+ ) |
40 |
+" |
41 |
|
42 |
diff --git a/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild b/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild |
43 |
index 28811998d49..7f032e6025d 100644 |
44 |
--- a/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild |
45 |
+++ b/dev-ros/rqt_py_common/rqt_py_common-9999.ebuild |
46 |
@@ -6,6 +6,8 @@ EAPI=7 |
47 |
KEYWORDS="~amd64" |
48 |
ROS_REPO_URI="https://github.com/ros-visualization/rqt" |
49 |
ROS_SUBDIR=${PN} |
50 |
+# Tests have messages |
51 |
+CATKIN_HAS_MESSAGES=yes |
52 |
|
53 |
inherit ros-catkin |
54 |
|
55 |
@@ -22,4 +24,8 @@ RDEPEND=" |
56 |
dev-ros/rostopic[${PYTHON_SINGLE_USEDEP}] |
57 |
>=dev-ros/python_qt_binding-0.2.19[${PYTHON_SINGLE_USEDEP}] |
58 |
" |
59 |
-DEPEND="${RDEPEND}" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ test? ( |
62 |
+ dev-ros/std_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |