summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-10 23:02:54 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-11 00:22:38 +0100
commit064af661d0c9a31cecdf348632bc5603333a9149 (patch)
tree2202373a7cafcb8a761d32747d4f62263aed64d5 /dev-lang
parentdev-python/passlib: keyworded 1.7.1-r2 for hppa, bug #700918 (diff)
downloadgentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.gz
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.bz2
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.zip
*/*: [QA] Fix trivial cases of MissingTestRestrict
The result was achieved via the following pipeline: pkgcheck scan -c RestrictTestCheck -R FormatReporter \ --format '{category}/{package}/{package}-{version}.ebuild' | xargs -n32 grep -L RESTRICT | xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"' The resulting metadata was compared before and after the change. Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip added by the eclass. Two ebuilds have to be fixed because of multiline IUSE. Suggested-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13942 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/bff/bff-1.0.5.ebuild3
-rw-r--r--dev-lang/ghc/ghc-8.6.4.ebuild1
-rw-r--r--dev-lang/ghc/ghc-8.6.5.ebuild1
-rw-r--r--dev-lang/ghc/ghc-8.8.1.ebuild1
-rw-r--r--dev-lang/lua/lua-5.2.4-r1.ebuild1
-rw-r--r--dev-lang/lua/lua-5.2.4.ebuild1
-rw-r--r--dev-lang/lua/lua-5.3.5-r1.ebuild1
-rw-r--r--dev-lang/lua/lua-5.3.5.ebuild1
-rw-r--r--dev-lang/nqp/nqp-2018.06-r1.ebuild1
-rw-r--r--dev-lang/nqp/nqp-2018.08-r1.ebuild1
-rw-r--r--dev-lang/nqp/nqp-2018.09-r1.ebuild1
-rw-r--r--dev-lang/nqp/nqp-2018.12-r1.ebuild1
-rw-r--r--dev-lang/nqp/nqp-2019.03-r1.ebuild1
-rw-r--r--dev-lang/nqp/nqp-2019.07.1.ebuild1
-rw-r--r--dev-lang/nqp/nqp-9999.ebuild1
-rw-r--r--dev-lang/polyml/polyml-5.4.1.ebuild3
-rw-r--r--dev-lang/polyml/polyml-5.5.0.ebuild3
-rw-r--r--dev-lang/polyml/polyml-5.5.1.ebuild3
-rw-r--r--dev-lang/polyml/polyml-5.5.2.ebuild3
-rw-r--r--dev-lang/polyml/polyml-5.6.ebuild1
-rw-r--r--dev-lang/polyml/polyml-5.8.ebuild1
-rw-r--r--dev-lang/rakudo/rakudo-2018.06.ebuild3
-rw-r--r--dev-lang/rakudo/rakudo-2018.08.ebuild3
-rw-r--r--dev-lang/rakudo/rakudo-2018.09.ebuild3
-rw-r--r--dev-lang/rakudo/rakudo-2018.12.ebuild1
-rw-r--r--dev-lang/rakudo/rakudo-2019.03.ebuild1
-rw-r--r--dev-lang/rakudo/rakudo-9999.ebuild3
-rw-r--r--dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild1
-rw-r--r--dev-lang/spidermonkey/spidermonkey-1.8.5-r7.ebuild1
-rw-r--r--dev-lang/spidermonkey/spidermonkey-1.8.5-r9.ebuild1
-rw-r--r--dev-lang/swi-prolog/swi-prolog-8.1.14.ebuild1
-rw-r--r--dev-lang/swi-prolog/swi-prolog-8.1.15.ebuild1
-rw-r--r--dev-lang/tcc/tcc-0.9.26-r3.ebuild3
-rw-r--r--dev-lang/tcc/tcc-0.9.27.ebuild3
-rw-r--r--dev-lang/tcc/tcc-9999.ebuild3
-rw-r--r--dev-lang/tuprolog/tuprolog-2.9.2.ebuild3
-rw-r--r--dev-lang/tuprolog/tuprolog-3.0.1.ebuild3
-rw-r--r--dev-lang/tuprolog/tuprolog-3.1.0.ebuild3
-rw-r--r--dev-lang/vala/vala-0.36.18.ebuild1
-rw-r--r--dev-lang/vala/vala-0.36.20.ebuild1
-rw-r--r--dev-lang/vala/vala-0.40.14.ebuild1
-rw-r--r--dev-lang/vala/vala-0.40.16.ebuild1
-rw-r--r--dev-lang/vala/vala-0.42.7.ebuild1
-rw-r--r--dev-lang/vala/vala-0.44.9.ebuild1
-rw-r--r--dev-lang/vala/vala-0.46.3.ebuild1
45 files changed, 60 insertions, 15 deletions
diff --git a/dev-lang/bff/bff-1.0.5.ebuild b/dev-lang/bff/bff-1.0.5.ebuild
index ee9b8d706a87..152dde43bbbb 100644
--- a/dev-lang/bff/bff-1.0.5.ebuild
+++ b/dev-lang/bff/bff-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm ia64 m68k ppc ppc64 s390 sh x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND=""
diff --git a/dev-lang/ghc/ghc-8.6.4.ebuild b/dev-lang/ghc/ghc-8.6.4.ebuild
index 85887f1f738a..9400b701afb3 100644
--- a/dev-lang/ghc/ghc-8.6.4.ebuild
+++ b/dev-lang/ghc/ghc-8.6.4.ebuild
@@ -74,6 +74,7 @@ SLOT="0/${PV}"
#will need big tree sync
#KEYWORDS="~amd64 ~x86"
IUSE="doc ghcbootstrap ghcmakebinary +gmp profile test"
+RESTRICT="!test? ( test )"
IUSE+=" binary"
RDEPEND="
diff --git a/dev-lang/ghc/ghc-8.6.5.ebuild b/dev-lang/ghc/ghc-8.6.5.ebuild
index 9ef1702b9c59..63cc1241c218 100644
--- a/dev-lang/ghc/ghc-8.6.5.ebuild
+++ b/dev-lang/ghc/ghc-8.6.5.ebuild
@@ -74,6 +74,7 @@ SLOT="0/${PV}"
# to be rekeyworded when most of revdeps are updated
#KEYWORDS="~amd64 ~x86"
IUSE="doc ghcbootstrap ghcmakebinary +gmp profile test"
+RESTRICT="!test? ( test )"
IUSE+=" binary"
RDEPEND="
diff --git a/dev-lang/ghc/ghc-8.8.1.ebuild b/dev-lang/ghc/ghc-8.8.1.ebuild
index 571fd3176d33..b91c9d0ba44d 100644
--- a/dev-lang/ghc/ghc-8.8.1.ebuild
+++ b/dev-lang/ghc/ghc-8.8.1.ebuild
@@ -73,6 +73,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS=""
IUSE="doc elfutils ghcbootstrap ghcmakebinary +gmp numa profile test"
+RESTRICT="!test? ( test )"
IUSE+=" binary"
RDEPEND="
diff --git a/dev-lang/lua/lua-5.2.4-r1.ebuild b/dev-lang/lua/lua-5.2.4-r1.ebuild
index 2193b7adb7f9..9c9a43b0628b 100644
--- a/dev-lang/lua/lua-5.2.4-r1.ebuild
+++ b/dev-lang/lua/lua-5.2.4-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="5.2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+deprecated emacs readline static test test-complete"
+RESTRICT="!test? ( test )"
RDEPEND="readline? ( sys-libs/readline:0= )
app-eselect/eselect-lua
diff --git a/dev-lang/lua/lua-5.2.4.ebuild b/dev-lang/lua/lua-5.2.4.ebuild
index 27f943fb7514..00d64576127b 100644
--- a/dev-lang/lua/lua-5.2.4.ebuild
+++ b/dev-lang/lua/lua-5.2.4.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="5.2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+deprecated emacs readline static test test-complete"
+RESTRICT="!test? ( test )"
RDEPEND="readline? ( sys-libs/readline:0= )
app-eselect/eselect-lua
diff --git a/dev-lang/lua/lua-5.3.5-r1.ebuild b/dev-lang/lua/lua-5.3.5-r1.ebuild
index d4223693f13a..de85ecaa336c 100644
--- a/dev-lang/lua/lua-5.3.5-r1.ebuild
+++ b/dev-lang/lua/lua-5.3.5-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="5.3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+deprecated emacs readline static test test-complete"
+RESTRICT="!test? ( test )"
RDEPEND="readline? ( sys-libs/readline:0= )
app-eselect/eselect-lua
diff --git a/dev-lang/lua/lua-5.3.5.ebuild b/dev-lang/lua/lua-5.3.5.ebuild
index 30babeb5b650..672f6d77cf1b 100644
--- a/dev-lang/lua/lua-5.3.5.ebuild
+++ b/dev-lang/lua/lua-5.3.5.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="5.3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+deprecated emacs readline static test test-complete"
+RESTRICT="!test? ( test )"
RDEPEND="readline? ( sys-libs/readline:0= )
app-eselect/eselect-lua
diff --git a/dev-lang/nqp/nqp-2018.06-r1.ebuild b/dev-lang/nqp/nqp-2018.06-r1.ebuild
index 12c384f52897..663242f61de6 100644
--- a/dev-lang/nqp/nqp-2018.06-r1.ebuild
+++ b/dev-lang/nqp/nqp-2018.06-r1.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://rakudo.org"
LICENSE="Artistic-2"
SLOT="0"
IUSE="doc clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="java? (
diff --git a/dev-lang/nqp/nqp-2018.08-r1.ebuild b/dev-lang/nqp/nqp-2018.08-r1.ebuild
index 12c384f52897..663242f61de6 100644
--- a/dev-lang/nqp/nqp-2018.08-r1.ebuild
+++ b/dev-lang/nqp/nqp-2018.08-r1.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://rakudo.org"
LICENSE="Artistic-2"
SLOT="0"
IUSE="doc clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="java? (
diff --git a/dev-lang/nqp/nqp-2018.09-r1.ebuild b/dev-lang/nqp/nqp-2018.09-r1.ebuild
index 12c384f52897..663242f61de6 100644
--- a/dev-lang/nqp/nqp-2018.09-r1.ebuild
+++ b/dev-lang/nqp/nqp-2018.09-r1.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://rakudo.org"
LICENSE="Artistic-2"
SLOT="0"
IUSE="doc clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="java? (
diff --git a/dev-lang/nqp/nqp-2018.12-r1.ebuild b/dev-lang/nqp/nqp-2018.12-r1.ebuild
index 12c384f52897..663242f61de6 100644
--- a/dev-lang/nqp/nqp-2018.12-r1.ebuild
+++ b/dev-lang/nqp/nqp-2018.12-r1.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://rakudo.org"
LICENSE="Artistic-2"
SLOT="0"
IUSE="doc clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="java? (
diff --git a/dev-lang/nqp/nqp-2019.03-r1.ebuild b/dev-lang/nqp/nqp-2019.03-r1.ebuild
index 12c384f52897..663242f61de6 100644
--- a/dev-lang/nqp/nqp-2019.03-r1.ebuild
+++ b/dev-lang/nqp/nqp-2019.03-r1.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://rakudo.org"
LICENSE="Artistic-2"
SLOT="0"
IUSE="doc clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="java? (
diff --git a/dev-lang/nqp/nqp-2019.07.1.ebuild b/dev-lang/nqp/nqp-2019.07.1.ebuild
index 120648d125d4..c6689cf62d83 100644
--- a/dev-lang/nqp/nqp-2019.07.1.ebuild
+++ b/dev-lang/nqp/nqp-2019.07.1.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://rakudo.org"
LICENSE="Artistic-2"
SLOT="0"
IUSE="doc clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="java? (
diff --git a/dev-lang/nqp/nqp-9999.ebuild b/dev-lang/nqp/nqp-9999.ebuild
index 120648d125d4..c6689cf62d83 100644
--- a/dev-lang/nqp/nqp-9999.ebuild
+++ b/dev-lang/nqp/nqp-9999.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://rakudo.org"
LICENSE="Artistic-2"
SLOT="0"
IUSE="doc clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="java? (
diff --git a/dev-lang/polyml/polyml-5.4.1.ebuild b/dev-lang/polyml/polyml-5.4.1.ebuild
index 34eabcdb7de5..8909e4e033c2 100644
--- a/dev-lang/polyml/polyml-5.4.1.ebuild
+++ b/dev-lang/polyml/polyml-5.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="X elibc_glibc +gmp portable test +threads"
+RESTRICT="!test? ( test )"
RDEPEND="X? ( x11-libs/motif:0 )
gmp? ( >=dev-libs/gmp-5 )
diff --git a/dev-lang/polyml/polyml-5.5.0.ebuild b/dev-lang/polyml/polyml-5.5.0.ebuild
index 44b3faff1569..5a8e3e560661 100644
--- a/dev-lang/polyml/polyml-5.5.0.ebuild
+++ b/dev-lang/polyml/polyml-5.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -18,6 +18,7 @@ LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="X elibc_glibc +gmp portable test +threads"
+RESTRICT="!test? ( test )"
RDEPEND="X? ( x11-libs/motif:0 )
gmp? ( >=dev-libs/gmp-5 )
diff --git a/dev-lang/polyml/polyml-5.5.1.ebuild b/dev-lang/polyml/polyml-5.5.1.ebuild
index ce4a090ed6cc..6b1bcd7ecab0 100644
--- a/dev-lang/polyml/polyml-5.5.1.ebuild
+++ b/dev-lang/polyml/polyml-5.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="X elibc_glibc +gmp portable test +threads"
+RESTRICT="!test? ( test )"
RDEPEND="X? ( x11-libs/motif:0 )
gmp? ( >=dev-libs/gmp-5 )
diff --git a/dev-lang/polyml/polyml-5.5.2.ebuild b/dev-lang/polyml/polyml-5.5.2.ebuild
index f54f6675ccf8..a04a5c764f77 100644
--- a/dev-lang/polyml/polyml-5.5.2.ebuild
+++ b/dev-lang/polyml/polyml-5.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="X elibc_glibc +gmp portable test +threads"
+RESTRICT="!test? ( test )"
RDEPEND="X? ( x11-libs/motif:0 )
gmp? ( >=dev-libs/gmp-5 )
diff --git a/dev-lang/polyml/polyml-5.6.ebuild b/dev-lang/polyml/polyml-5.6.ebuild
index 6ec40e592410..37fc5a07d0fe 100644
--- a/dev-lang/polyml/polyml-5.6.ebuild
+++ b/dev-lang/polyml/polyml-5.6.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="X elibc_glibc +gmp portable test +threads"
+RESTRICT="!test? ( test )"
RDEPEND="X? ( x11-libs/motif:0 )
gmp? ( >=dev-libs/gmp-5 )
diff --git a/dev-lang/polyml/polyml-5.8.ebuild b/dev-lang/polyml/polyml-5.8.ebuild
index b38959ceb053..82e42d8d208d 100644
--- a/dev-lang/polyml/polyml-5.8.ebuild
+++ b/dev-lang/polyml/polyml-5.8.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="X elibc_glibc +gmp portable test +threads"
+RESTRICT="!test? ( test )"
RDEPEND="X? ( x11-libs/motif:0 )
gmp? ( >=dev-libs/gmp-5 )
diff --git a/dev-lang/rakudo/rakudo-2018.06.ebuild b/dev-lang/rakudo/rakudo-2018.06.ebuild
index 5d27b8d2e3cd..cd8697211547 100644
--- a/dev-lang/rakudo/rakudo-2018.06.ebuild
+++ b/dev-lang/rakudo/rakudo-2018.06.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -21,6 +21,7 @@ LICENSE="Artistic-2"
SLOT="0"
# TODO: add USE="javascript" once that's usable in nqp
IUSE="clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
diff --git a/dev-lang/rakudo/rakudo-2018.08.ebuild b/dev-lang/rakudo/rakudo-2018.08.ebuild
index 5d27b8d2e3cd..cd8697211547 100644
--- a/dev-lang/rakudo/rakudo-2018.08.ebuild
+++ b/dev-lang/rakudo/rakudo-2018.08.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -21,6 +21,7 @@ LICENSE="Artistic-2"
SLOT="0"
# TODO: add USE="javascript" once that's usable in nqp
IUSE="clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
diff --git a/dev-lang/rakudo/rakudo-2018.09.ebuild b/dev-lang/rakudo/rakudo-2018.09.ebuild
index 4b639192fdbc..cd8697211547 100644
--- a/dev-lang/rakudo/rakudo-2018.09.ebuild
+++ b/dev-lang/rakudo/rakudo-2018.09.ebuild
@@ -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
@@ -21,6 +21,7 @@ LICENSE="Artistic-2"
SLOT="0"
# TODO: add USE="javascript" once that's usable in nqp
IUSE="clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
diff --git a/dev-lang/rakudo/rakudo-2018.12.ebuild b/dev-lang/rakudo/rakudo-2018.12.ebuild
index 6342a84cd882..cd8697211547 100644
--- a/dev-lang/rakudo/rakudo-2018.12.ebuild
+++ b/dev-lang/rakudo/rakudo-2018.12.ebuild
@@ -21,6 +21,7 @@ LICENSE="Artistic-2"
SLOT="0"
# TODO: add USE="javascript" once that's usable in nqp
IUSE="clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
diff --git a/dev-lang/rakudo/rakudo-2019.03.ebuild b/dev-lang/rakudo/rakudo-2019.03.ebuild
index 6342a84cd882..cd8697211547 100644
--- a/dev-lang/rakudo/rakudo-2019.03.ebuild
+++ b/dev-lang/rakudo/rakudo-2019.03.ebuild
@@ -21,6 +21,7 @@ LICENSE="Artistic-2"
SLOT="0"
# TODO: add USE="javascript" once that's usable in nqp
IUSE="clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
diff --git a/dev-lang/rakudo/rakudo-9999.ebuild b/dev-lang/rakudo/rakudo-9999.ebuild
index 070e46942a8d..bc57e9847276 100644
--- a/dev-lang/rakudo/rakudo-9999.ebuild
+++ b/dev-lang/rakudo/rakudo-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -21,6 +21,7 @@ LICENSE="Artistic-2"
SLOT="0"
# TODO: add USE="javascript" once that's usable in nqp
IUSE="clang java +moar test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( java moar )"
CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
diff --git a/dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild b/dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild
index 80dc86048437..b321cd6258c0 100644
--- a/dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild
@@ -21,6 +21,7 @@ LICENSE="NPL-1.1"
SLOT="0/mozjs185"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 ~x64-macos"
IUSE="debug minimal static-libs test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
BUILDDIR="${S}/js/src"
diff --git a/dev-lang/spidermonkey/spidermonkey-1.8.5-r7.ebuild b/dev-lang/spidermonkey/spidermonkey-1.8.5-r7.ebuild
index 25970362cfc0..0c2a681d84e0 100644
--- a/dev-lang/spidermonkey/spidermonkey-1.8.5-r7.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-1.8.5-r7.ebuild
@@ -21,6 +21,7 @@ LICENSE="NPL-1.1"
SLOT="0/mozjs185"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 ~x64-macos"
IUSE="debug minimal static-libs test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
BUILDDIR="${S}/js/src"
diff --git a/dev-lang/spidermonkey/spidermonkey-1.8.5-r9.ebuild b/dev-lang/spidermonkey/spidermonkey-1.8.5-r9.ebuild
index 2231a2a25cf6..bca669838263 100644
--- a/dev-lang/spidermonkey/spidermonkey-1.8.5-r9.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-1.8.5-r9.ebuild
@@ -21,6 +21,7 @@ LICENSE="NPL-1.1"
SLOT="0/mozjs185"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos"
IUSE="debug minimal static-libs test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
BUILDDIR="${S}/js/src"
diff --git a/dev-lang/swi-prolog/swi-prolog-8.1.14.ebuild b/dev-lang/swi-prolog/swi-prolog-8.1.14.ebuild
index b986aa50d899..6f028803afe7 100644
--- a/dev-lang/swi-prolog/swi-prolog-8.1.14.ebuild
+++ b/dev-lang/swi-prolog/swi-prolog-8.1.14.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="archive berkdb debug doc +gmp java +libedit libressl minimal odbc pcre qt5 readline ssl test uuid X yaml"
+RESTRICT="!test? ( test )"
RDEPEND="sys-libs/ncurses:=
sys-libs/zlib
diff --git a/dev-lang/swi-prolog/swi-prolog-8.1.15.ebuild b/dev-lang/swi-prolog/swi-prolog-8.1.15.ebuild
index cdc33c687ea7..8b822e794107 100644
--- a/dev-lang/swi-prolog/swi-prolog-8.1.15.ebuild
+++ b/dev-lang/swi-prolog/swi-prolog-8.1.15.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="archive berkdb debug doc +gmp java +libedit libressl minimal odbc pcre qt5 readline ssl test uuid X yaml"
+RESTRICT="!test? ( test )"
RDEPEND="sys-libs/ncurses:=
sys-libs/zlib
diff --git a/dev-lang/tcc/tcc-0.9.26-r3.ebuild b/dev-lang/tcc/tcc-0.9.26-r3.ebuild
index edcf65c95fd7..9148d63ce5d1 100644
--- a/dev-lang/tcc/tcc-0.9.26-r3.ebuild
+++ b/dev-lang/tcc/tcc-0.9.26-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -17,6 +17,7 @@ DEPEND="dev-lang/perl" # doc generation
# Both tendra and tinycc install /usr/bin/tcc
RDEPEND="!dev-lang/tendra"
IUSE="test"
+RESTRICT="!test? ( test )"
src_prepare() {
# Don't strip
diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild
index c9bb96edd47e..4fee67f37dc2 100644
--- a/dev-lang/tcc/tcc-0.9.27.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -17,6 +17,7 @@ DEPEND="dev-lang/perl" # doc generation
# Both tendra and tinycc install /usr/bin/tcc
RDEPEND="!dev-lang/tendra"
IUSE="test"
+RESTRICT="!test? ( test )"
src_prepare() {
# Don't strip
diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index dbc3af48d0a5..4c61d36c9431 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -25,6 +25,7 @@ DEPEND="dev-lang/perl" # doc generation
# Both tendra and tinycc install /usr/bin/tcc
RDEPEND="!dev-lang/tendra"
IUSE="test"
+RESTRICT="!test? ( test )"
src_prepare() {
# Don't strip
diff --git a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild b/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
index 7de1440cd339..ee49fbe50a3c 100644
--- a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
+++ b/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=virtual/jdk-1.7:=
dev-java/javassist:3"
diff --git a/dev-lang/tuprolog/tuprolog-3.0.1.ebuild b/dev-lang/tuprolog/tuprolog-3.0.1.ebuild
index e33e5e5b7142..8ca8d7d6bb73 100644
--- a/dev-lang/tuprolog/tuprolog-3.0.1.ebuild
+++ b/dev-lang/tuprolog/tuprolog-3.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ LICENSE="LGPL-3 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=virtual/jdk-1.8:=
dev-java/javassist:3
diff --git a/dev-lang/tuprolog/tuprolog-3.1.0.ebuild b/dev-lang/tuprolog/tuprolog-3.1.0.ebuild
index 3da80e1506c2..d04f8f0fad18 100644
--- a/dev-lang/tuprolog/tuprolog-3.1.0.ebuild
+++ b/dev-lang/tuprolog/tuprolog-3.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ LICENSE="LGPL-3 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=virtual/jdk-1.8:=
dev-java/javassist:3
diff --git a/dev-lang/vala/vala-0.36.18.ebuild b/dev-lang/vala/vala-0.36.18.ebuild
index e0228299b4f0..9a7ac30ecf3a 100644
--- a/dev-lang/vala/vala-0.36.18.ebuild
+++ b/dev-lang/vala/vala-0.36.18.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1"
SLOT="0.36"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.32:2
diff --git a/dev-lang/vala/vala-0.36.20.ebuild b/dev-lang/vala/vala-0.36.20.ebuild
index 51d63a02f966..5a401a62733d 100644
--- a/dev-lang/vala/vala-0.36.20.ebuild
+++ b/dev-lang/vala/vala-0.36.20.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1"
SLOT="0.36"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.32:2
diff --git a/dev-lang/vala/vala-0.40.14.ebuild b/dev-lang/vala/vala-0.40.14.ebuild
index 800e17c47e72..e433ec9bf106 100644
--- a/dev-lang/vala/vala-0.40.14.ebuild
+++ b/dev-lang/vala/vala-0.40.14.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0.40"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-linux"
IUSE="test valadoc"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.40.0:2
diff --git a/dev-lang/vala/vala-0.40.16.ebuild b/dev-lang/vala/vala-0.40.16.ebuild
index f8c03b63981e..14649dc7f4fe 100644
--- a/dev-lang/vala/vala-0.40.16.ebuild
+++ b/dev-lang/vala/vala-0.40.16.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0.40"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-linux"
IUSE="test valadoc"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.40.0:2
diff --git a/dev-lang/vala/vala-0.42.7.ebuild b/dev-lang/vala/vala-0.42.7.ebuild
index 41dfbcb6869a..1a4265b067e3 100644
--- a/dev-lang/vala/vala-0.42.7.ebuild
+++ b/dev-lang/vala/vala-0.42.7.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0.42"
KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-linux"
IUSE="test valadoc"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.40.0:2
diff --git a/dev-lang/vala/vala-0.44.9.ebuild b/dev-lang/vala/vala-0.44.9.ebuild
index b3de1616d410..4696a3f4ba89 100644
--- a/dev-lang/vala/vala-0.44.9.ebuild
+++ b/dev-lang/vala/vala-0.44.9.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1+"
SLOT="0.44"
KEYWORDS="alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-linux"
IUSE="test valadoc"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.40.0:2
diff --git a/dev-lang/vala/vala-0.46.3.ebuild b/dev-lang/vala/vala-0.46.3.ebuild
index f91cf48b154d..365332156e80 100644
--- a/dev-lang/vala/vala-0.46.3.ebuild
+++ b/dev-lang/vala/vala-0.46.3.ebuild
@@ -12,6 +12,7 @@ LICENSE="LGPL-2.1+"
SLOT="0.46"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
IUSE="test valadoc"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.48.0:2