eclass/ros-catkin.eclass: add RESTRICT for tests
authorAaron Bauman <bman@gentoo.org>
Wed, 11 Dec 2019 00:59:46 +0000 (19:59 -0500)
committerAaron Bauman <bman@gentoo.org>
Wed, 11 Dec 2019 00:59:46 +0000 (19:59 -0500)
* 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@gentoo.org>
eclass/ros-catkin.eclass

index 667ecd4583f79b858bdee6be11b315824df22bea..838c2e4d6319962fcd7e0b3bc97215ea7f0d404e 100644 (file)
@@ -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}]