dev-python/clang-python: Restrict tests with USE=-test
authorMichał Górny <mgorny@gentoo.org>
Fri, 15 Dec 2017 15:59:43 +0000 (16:59 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 15 Dec 2017 16:20:16 +0000 (17:20 +0100)
dev-python/clang-python/clang-python-5.0.9999.ebuild
dev-python/clang-python/clang-python-9999.ebuild

index 4e4190e443d96c45086d72aefc22d75b712c55ed..f82f870388cf7d49c46557eec820ab58ddb145d0 100644 (file)
@@ -17,6 +17,7 @@ LICENSE="UoI-NCSA"
 SLOT="0"
 KEYWORDS=""
 IUSE="test"
+RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # The module is opening libclang.so directly, and doing some blasphemy
index d59b5b98bb8fe0f2c4441d1fb00c8f46d801f68b..0e636d4e4c11cd32f36390c947535266a55d2b1f 100644 (file)
@@ -16,6 +16,7 @@ LICENSE="UoI-NCSA"
 SLOT="0"
 KEYWORDS=""
 IUSE="test"
+RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # The module is opening libclang.so directly, and doing some blasphemy