commit:     311c69f50b6b1ea2d6adc61154c8513c43b690be
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 00:59:46 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 00:59:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=311c69f5

eclass/ros-catkin.eclass: add RESTRICT for tests

* Eclass is inherited only by dev-ros/* and ros-meta/* consumers which do not
set any RESTRICT in ebuilds.

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 eclass/ros-catkin.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass
index 667ecd4583f..838c2e4d631 100644
--- a/eclass/ros-catkin.eclass
+++ b/eclass/ros-catkin.eclass
@@ -56,6 +56,7 @@ inherit ${SCM} python-r1 cmake-utils flag-o-matic
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 IUSE="test"
+RESTRICT="!test? ( test )"
 RDEPEND="${PYTHON_DEPS}"
 DEPEND="${RDEPEND}
        dev-util/catkin[${PYTHON_USEDEP}]

Reply via email to