summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-15 16:59:43 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-15 17:20:16 +0100
commit720f1974c7792cf906dd74721a35c932a938b4dd (patch)
treeac4f644bec2ef3b0238e28e8ea13336a059f9a79
parentsys-devel/clang: Restrict tests with USE=-test (diff)
downloadgentoo-720f1974c7792cf906dd74721a35c932a938b4dd.tar.gz
gentoo-720f1974c7792cf906dd74721a35c932a938b4dd.tar.bz2
gentoo-720f1974c7792cf906dd74721a35c932a938b4dd.zip
dev-python/clang-python: Restrict tests with USE=-test
-rw-r--r--dev-python/clang-python/clang-python-5.0.9999.ebuild1
-rw-r--r--dev-python/clang-python/clang-python-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/clang-python/clang-python-5.0.9999.ebuild b/dev-python/clang-python/clang-python-5.0.9999.ebuild
index 4e4190e443d9..f82f870388cf 100644
--- a/dev-python/clang-python/clang-python-5.0.9999.ebuild
+++ b/dev-python/clang-python/clang-python-5.0.9999.ebuild
@@ -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
diff --git a/dev-python/clang-python/clang-python-9999.ebuild b/dev-python/clang-python/clang-python-9999.ebuild
index d59b5b98bb8f..0e636d4e4c11 100644
--- a/dev-python/clang-python/clang-python-9999.ebuild
+++ b/dev-python/clang-python/clang-python-9999.ebuild
@@ -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