dev-util/cpputest: add missing conditional test RESTRICT
authorTim Harder <radhermit@gentoo.org>
Thu, 15 Aug 2019 04:49:21 +0000 (22:49 -0600)
committerTim Harder <radhermit@gentoo.org>
Thu, 15 Aug 2019 04:50:18 +0000 (22:50 -0600)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
dev-util/cpputest/cpputest-3.8.ebuild

index 4c3046bb40e404c725391f015e23a53b3823050e..f76d8b2c919005eed8fad4c193c7e5df122e6dbc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,9 +11,8 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~arm x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
-DEPEND="
-       test? ( >=dev-cpp/gtest-1.8.0 )
-"
+DEPEND="test? ( >=dev-cpp/gtest-1.8.0 )"
 
 DOCS=( AUTHORS README.md README_CppUTest_for_C.txt )