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 /net-misc
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 'net-misc')
-rw-r--r--net-misc/clusterssh/clusterssh-4.03.03.ebuild3
-rw-r--r--net-misc/clusterssh/clusterssh-4.30.600.ebuild3
-rw-r--r--net-misc/clusterssh/clusterssh-9999.ebuild3
-rw-r--r--net-misc/crossbar/crossbar-17.12.1.ebuild1
-rw-r--r--net-misc/crossbar/crossbar-17.6.1_p3-r1.ebuild3
-rw-r--r--net-misc/crossbar/crossbar-17.8.1.ebuild1
-rw-r--r--net-misc/crossbar/crossbar-17.9.1.ebuild1
-rw-r--r--net-misc/crossbar/crossbar-18.3.1.ebuild1
-rw-r--r--net-misc/csync/csync-0.50.0-r1.ebuild3
-rw-r--r--net-misc/csync/csync-0.50.0.ebuild3
-rw-r--r--net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild1
-rw-r--r--net-misc/freerdp/freerdp-2.0.0_rc4.ebuild1
-rw-r--r--net-misc/freerdp/freerdp-9999.ebuild1
-rw-r--r--net-misc/httpie/httpie-1.0.3.ebuild1
-rw-r--r--net-misc/ipv6calc/ipv6calc-1.0.0.ebuild1
-rw-r--r--net-misc/ipv6calc/ipv6calc-2.1.0.ebuild1
-rw-r--r--net-misc/mobile-broadband-provider-info/mobile-broadband-provider-info-20190618.ebuild1
-rw-r--r--net-misc/networkmanager/networkmanager-1.18.4-r1.ebuild1
-rw-r--r--net-misc/nyx/nyx-2.0.4.ebuild1
-rw-r--r--net-misc/nyx/nyx-2.1.0.ebuild1
-rw-r--r--net-misc/openssh/openssh-7.5_p1-r4.ebuild1
-rw-r--r--net-misc/quagga/quagga-1.2.4.ebuild3
-rw-r--r--net-misc/radvd/radvd-2.14.ebuild3
-rw-r--r--net-misc/radvd/radvd-2.17-r1.ebuild3
-rw-r--r--net-misc/radvd/radvd-2.17-r2.ebuild3
-rw-r--r--net-misc/radvd/radvd-2.18.ebuild1
-rw-r--r--net-misc/rygel/rygel-0.36.2.ebuild1
-rw-r--r--net-misc/seafile-client/seafile-client-6.2.11.ebuild1
-rw-r--r--net-misc/seafile-client/seafile-client-7.0.2.ebuild1
-rw-r--r--net-misc/sks/sks-1.1.6-r2.ebuild3
-rw-r--r--net-misc/sks/sks-1.1.6-r4.ebuild3
-rw-r--r--net-misc/sks/sks-1.1.6-r5.ebuild3
-rw-r--r--net-misc/streamlink/streamlink-0.14.2-r1.ebuild1
-rw-r--r--net-misc/streamlink/streamlink-1.0.0.ebuild1
-rw-r--r--net-misc/streamlink/streamlink-1.1.1.ebuild1
-rw-r--r--net-misc/streamlink/streamlink-9999.ebuild1
-rw-r--r--net-misc/valve/valve-1.0-r1.ebuild3
37 files changed, 51 insertions, 14 deletions
diff --git a/net-misc/clusterssh/clusterssh-4.03.03.ebuild b/net-misc/clusterssh/clusterssh-4.03.03.ebuild
index 863fe1fd08fc..c121d86103db 100644
--- a/net-misc/clusterssh/clusterssh-4.03.03.ebuild
+++ b/net-misc/clusterssh/clusterssh-4.03.03.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-perl/Exception-Class
diff --git a/net-misc/clusterssh/clusterssh-4.30.600.ebuild b/net-misc/clusterssh/clusterssh-4.30.600.ebuild
index 46eaa9f27080..bb6b7e86a265 100644
--- a/net-misc/clusterssh/clusterssh-4.30.600.ebuild
+++ b/net-misc/clusterssh/clusterssh-4.30.600.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -20,6 +20,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-perl/Config-Simple
diff --git a/net-misc/clusterssh/clusterssh-9999.ebuild b/net-misc/clusterssh/clusterssh-9999.ebuild
index 28e0fdc6d1d7..666c202462f3 100644
--- a/net-misc/clusterssh/clusterssh-9999.ebuild
+++ b/net-misc/clusterssh/clusterssh-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 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="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-perl/Exception-Class
diff --git a/net-misc/crossbar/crossbar-17.12.1.ebuild b/net-misc/crossbar/crossbar-17.12.1.ebuild
index f583671c1506..e19adec356fe 100644
--- a/net-misc/crossbar/crossbar-17.12.1.ebuild
+++ b/net-misc/crossbar/crossbar-17.12.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test tor"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/attrs-17.2.0[${PYTHON_USEDEP}]
diff --git a/net-misc/crossbar/crossbar-17.6.1_p3-r1.ebuild b/net-misc/crossbar/crossbar-17.6.1_p3-r1.ebuild
index e146bb877647..29ce90de46a4 100644
--- a/net-misc/crossbar/crossbar-17.6.1_p3-r1.ebuild
+++ b/net-misc/crossbar/crossbar-17.6.1_p3-r1.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
@@ -19,6 +19,7 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/setuptools-36.0.1[${PYTHON_USEDEP}]
diff --git a/net-misc/crossbar/crossbar-17.8.1.ebuild b/net-misc/crossbar/crossbar-17.8.1.ebuild
index 3d83b60f86ef..4520fa8a4f1a 100644
--- a/net-misc/crossbar/crossbar-17.8.1.ebuild
+++ b/net-misc/crossbar/crossbar-17.8.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test tor"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/attrs-17.2.0[${PYTHON_USEDEP}]
diff --git a/net-misc/crossbar/crossbar-17.9.1.ebuild b/net-misc/crossbar/crossbar-17.9.1.ebuild
index 393fe4e08568..5218923f9413 100644
--- a/net-misc/crossbar/crossbar-17.9.1.ebuild
+++ b/net-misc/crossbar/crossbar-17.9.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test tor"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/attrs-17.2.0[${PYTHON_USEDEP}]
diff --git a/net-misc/crossbar/crossbar-18.3.1.ebuild b/net-misc/crossbar/crossbar-18.3.1.ebuild
index 0e5de6b82bcf..f90a14aa47c8 100644
--- a/net-misc/crossbar/crossbar-18.3.1.ebuild
+++ b/net-misc/crossbar/crossbar-18.3.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/attrs-17.2.0[${PYTHON_USEDEP}]
diff --git a/net-misc/csync/csync-0.50.0-r1.ebuild b/net-misc/csync/csync-0.50.0-r1.ebuild
index 5374066247df..4439f480f684 100644
--- a/net-misc/csync/csync-0.50.0-r1.ebuild
+++ b/net-misc/csync/csync-0.50.0-r1.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
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc iconv samba +sftp test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-db/sqlite-3.4:3
net-libs/neon[ssl]
diff --git a/net-misc/csync/csync-0.50.0.ebuild b/net-misc/csync/csync-0.50.0.ebuild
index e94ffa92f273..188fcabcab5f 100644
--- a/net-misc/csync/csync-0.50.0.ebuild
+++ b/net-misc/csync/csync-0.50.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
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc iconv samba +sftp test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-db/sqlite-3.4:3
net-libs/neon[ssl]
diff --git a/net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild b/net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild
index 7e5cfb6e5906..fdbeb49fd217 100644
--- a/net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild
+++ b/net-misc/freerdp/freerdp-2.0.0_rc2-r1.ebuild
@@ -22,6 +22,7 @@ HOMEPAGE="http://www.freerdp.com/"
LICENSE="Apache-2.0"
SLOT="0/2"
IUSE="alsa +client cpu_flags_arm_neon cups debug doc ffmpeg gstreamer jpeg libav libressl openh264 pulseaudio server smartcard systemd test usb wayland X xinerama xv"
+RESTRICT="!test? ( test )"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
diff --git a/net-misc/freerdp/freerdp-2.0.0_rc4.ebuild b/net-misc/freerdp/freerdp-2.0.0_rc4.ebuild
index 2e2b4e41b520..741e74e65869 100644
--- a/net-misc/freerdp/freerdp-2.0.0_rc4.ebuild
+++ b/net-misc/freerdp/freerdp-2.0.0_rc4.ebuild
@@ -23,6 +23,7 @@ HOMEPAGE="http://www.freerdp.com/"
LICENSE="Apache-2.0"
SLOT="0/2"
IUSE="alsa +client cpu_flags_arm_neon cups debug doc ffmpeg gstreamer jpeg libav libressl openh264 pulseaudio server smartcard systemd test usb wayland X xinerama xv"
+RESTRICT="!test? ( test )"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
diff --git a/net-misc/freerdp/freerdp-9999.ebuild b/net-misc/freerdp/freerdp-9999.ebuild
index 7091b2f1eb7d..7c33bd96354a 100644
--- a/net-misc/freerdp/freerdp-9999.ebuild
+++ b/net-misc/freerdp/freerdp-9999.ebuild
@@ -21,6 +21,7 @@ HOMEPAGE="http://www.freerdp.com/"
LICENSE="Apache-2.0"
SLOT="0/2"
IUSE="alsa +client cpu_flags_arm_neon cups debug doc ffmpeg gstreamer jpeg libav libressl openh264 pulseaudio server smartcard systemd test usb wayland X xinerama xv"
+RESTRICT="!test? ( test )"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
diff --git a/net-misc/httpie/httpie-1.0.3.ebuild b/net-misc/httpie/httpie-1.0.3.ebuild
index ece6fbac393f..526bb639658f 100644
--- a/net-misc/httpie/httpie-1.0.3.ebuild
+++ b/net-misc/httpie/httpie-1.0.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
>=dev-python/requests-2.19.1[${PYTHON_USEDEP}]"
diff --git a/net-misc/ipv6calc/ipv6calc-1.0.0.ebuild b/net-misc/ipv6calc/ipv6calc-1.0.0.ebuild
index 995376c6640e..ff23d37cf910 100644
--- a/net-misc/ipv6calc/ipv6calc-1.0.0.ebuild
+++ b/net-misc/ipv6calc/ipv6calc-1.0.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ppc sparc x86 ~amd64-linux ~x86-linux"
IUSE="geoip libressl test"
+RESTRICT="!test? ( test )"
RDEPEND="
!libressl? ( dev-libs/openssl:= )
diff --git a/net-misc/ipv6calc/ipv6calc-2.1.0.ebuild b/net-misc/ipv6calc/ipv6calc-2.1.0.ebuild
index 898a06fd0de2..65630c1080ec 100644
--- a/net-misc/ipv6calc/ipv6calc-2.1.0.ebuild
+++ b/net-misc/ipv6calc/ipv6calc-2.1.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="geoip libressl test"
+RESTRICT="!test? ( test )"
RDEPEND="
!libressl? ( dev-libs/openssl:= )
diff --git a/net-misc/mobile-broadband-provider-info/mobile-broadband-provider-info-20190618.ebuild b/net-misc/mobile-broadband-provider-info/mobile-broadband-provider-info-20190618.ebuild
index 4b4321836f0f..3a762f11ef5b 100644
--- a/net-misc/mobile-broadband-provider-info/mobile-broadband-provider-info-20190618.ebuild
+++ b/net-misc/mobile-broadband-provider-info/mobile-broadband-provider-info-20190618.ebuild
@@ -12,6 +12,7 @@ LICENSE="CC-PD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-libs/libxslt
diff --git a/net-misc/networkmanager/networkmanager-1.18.4-r1.ebuild b/net-misc/networkmanager/networkmanager-1.18.4-r1.ebuild
index 8daaabf70907..25d4a61e581c 100644
--- a/net-misc/networkmanager/networkmanager-1.18.4-r1.ebuild
+++ b/net-misc/networkmanager/networkmanager-1.18.4-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-2+"
SLOT="0" # add subslot if libnm-util.so.2 or libnm-glib.so.4 bumps soname version
IUSE="audit bluetooth connection-sharing consolekit +dhclient dhcpcd elogind gnutls +introspection iwd json kernel_linux +nss +modemmanager ncurses ofono ovs policykit +ppp resolvconf selinux systemd teamd test vala +wext +wifi"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
bluetooth? ( modemmanager )
diff --git a/net-misc/nyx/nyx-2.0.4.ebuild b/net-misc/nyx/nyx-2.0.4.ebuild
index 47a846523c3b..768da7eff156 100644
--- a/net-misc/nyx/nyx-2.0.4.ebuild
+++ b/net-misc/nyx/nyx-2.0.4.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/net-misc/nyx/nyx-2.1.0.ebuild b/net-misc/nyx/nyx-2.1.0.ebuild
index 47a846523c3b..768da7eff156 100644
--- a/net-misc/nyx/nyx-2.1.0.ebuild
+++ b/net-misc/nyx/nyx-2.1.0.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/net-misc/openssh/openssh-7.5_p1-r4.ebuild b/net-misc/openssh/openssh-7.5_p1-r4.ebuild
index 4b4ae5463ae3..cebd6ad71ed6 100644
--- a/net-misc/openssh/openssh-7.5_p1-r4.ebuild
+++ b/net-misc/openssh/openssh-7.5_p1-r4.ebuild
@@ -28,6 +28,7 @@ SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
# Probably want to drop ssl defaulting to on in a future version.
IUSE="abi_mips_n32 audit bindist debug ${HPN_PATCH:++}hpn kerberos kernel_linux ldap ldns libedit libressl livecd pam +pie sctp selinux skey ssh1 +ssl static test X X509"
+RESTRICT="!test? ( test )"
REQUIRED_USE="ldns? ( ssl )
pie? ( !static )
ssh1? ( ssl )
diff --git a/net-misc/quagga/quagga-1.2.4.ebuild b/net-misc/quagga/quagga-1.2.4.ebuild
index bac79f4ac542..788e47a3c8f3 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.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 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam protobuf +readline snmp tcp-zebra test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="
caps? ( sys-libs/libcap )
diff --git a/net-misc/radvd/radvd-2.14.ebuild b/net-misc/radvd/radvd-2.14.ebuild
index 64c4a4c91346..8f55c47281ee 100644
--- a/net-misc/radvd/radvd-2.14.ebuild
+++ b/net-misc/radvd/radvd-2.14.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=5
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 hppa ppc sparc x86"
IUSE="kernel_FreeBSD selinux test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-libs/libdaemon"
DEPEND="${CDEPEND}
diff --git a/net-misc/radvd/radvd-2.17-r1.ebuild b/net-misc/radvd/radvd-2.17-r1.ebuild
index 79f1e7f13898..4b9d53ef901a 100644
--- a/net-misc/radvd/radvd-2.17-r1.ebuild
+++ b/net-misc/radvd/radvd-2.17-r1.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
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 hppa ppc sparc x86"
IUSE="kernel_FreeBSD selinux test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-libs/libdaemon"
DEPEND="${CDEPEND}
diff --git a/net-misc/radvd/radvd-2.17-r2.ebuild b/net-misc/radvd/radvd-2.17-r2.ebuild
index 7715570cbd92..7ad88c71c468 100644
--- a/net-misc/radvd/radvd-2.17-r2.ebuild
+++ b/net-misc/radvd/radvd-2.17-r2.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
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~sparc ~x86"
IUSE="kernel_FreeBSD selinux test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-libs/libdaemon"
DEPEND="${CDEPEND}
diff --git a/net-misc/radvd/radvd-2.18.ebuild b/net-misc/radvd/radvd-2.18.ebuild
index e9d632e6d082..2076f18bb70c 100644
--- a/net-misc/radvd/radvd-2.18.ebuild
+++ b/net-misc/radvd/radvd-2.18.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ppc sparc x86"
IUSE="kernel_FreeBSD selinux test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-libs/libdaemon"
DEPEND="${CDEPEND}
diff --git a/net-misc/rygel/rygel-0.36.2.ebuild b/net-misc/rygel/rygel-0.36.2.ebuild
index 9872de3d9e4f..5c5186b3df90 100644
--- a/net-misc/rygel/rygel-0.36.2.ebuild
+++ b/net-misc/rygel/rygel-0.36.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="X +introspection +sqlite tracker test transcode"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.40.0:2
diff --git a/net-misc/seafile-client/seafile-client-6.2.11.ebuild b/net-misc/seafile-client/seafile-client-6.2.11.ebuild
index 422282c9fbb9..311ec1fd77c6 100644
--- a/net-misc/seafile-client/seafile-client-6.2.11.ebuild
+++ b/net-misc/seafile-client/seafile-client-6.2.11.ebuild
@@ -12,6 +12,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="shibboleth test"
+RESTRICT="!test? ( test )"
RDEPEND="net-libs/libsearpc
~net-misc/seafile-${PV}
diff --git a/net-misc/seafile-client/seafile-client-7.0.2.ebuild b/net-misc/seafile-client/seafile-client-7.0.2.ebuild
index 8305fcd55b44..972e54b95f82 100644
--- a/net-misc/seafile-client/seafile-client-7.0.2.ebuild
+++ b/net-misc/seafile-client/seafile-client-7.0.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="shibboleth test"
+RESTRICT="!test? ( test )"
RDEPEND="net-libs/libsearpc
~net-misc/seafile-${PV}
diff --git a/net-misc/sks/sks-1.1.6-r2.ebuild b/net-misc/sks/sks-1.1.6-r2.ebuild
index b51abaff4132..0f55ebd8306c 100644
--- a/net-misc/sks/sks-1.1.6-r2.ebuild
+++ b/net-misc/sks/sks-1.1.6-r2.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=6
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="optimize test"
+RESTRICT="!test? ( test )"
DOC_CONTENTS="To get sks running, first build the database,
start the database, import atleast one key, then
run a cleandb. See the sks man page for more information
diff --git a/net-misc/sks/sks-1.1.6-r4.ebuild b/net-misc/sks/sks-1.1.6-r4.ebuild
index d08143afcd76..89cc2ec999a4 100644
--- a/net-misc/sks/sks-1.1.6-r4.ebuild
+++ b/net-misc/sks/sks-1.1.6-r4.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=6
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="optimize test"
+RESTRICT="!test? ( test )"
DOC_CONTENTS="To get sks running, first build the database,
start the database, import atleast one key, then
run a cleandb. See the sks man page for more information
diff --git a/net-misc/sks/sks-1.1.6-r5.ebuild b/net-misc/sks/sks-1.1.6-r5.ebuild
index 8b50b33a7cf5..6555ea2c8bf6 100644
--- a/net-misc/sks/sks-1.1.6-r5.ebuild
+++ b/net-misc/sks/sks-1.1.6-r5.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=6
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="optimize test"
+RESTRICT="!test? ( test )"
DOC_CONTENTS="To get sks running, first build the database,
start the database, import atleast one key, then
run a cleandb. See the sks man page for more information
diff --git a/net-misc/streamlink/streamlink-0.14.2-r1.ebuild b/net-misc/streamlink/streamlink-0.14.2-r1.ebuild
index 902f04a6bf10..7da7b06bc738 100644
--- a/net-misc/streamlink/streamlink-0.14.2-r1.ebuild
+++ b/net-misc/streamlink/streamlink-0.14.2-r1.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~x86"
LICENSE="BSD-2 Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/python-futures[${PYTHON_USEDEP}]
diff --git a/net-misc/streamlink/streamlink-1.0.0.ebuild b/net-misc/streamlink/streamlink-1.0.0.ebuild
index 667a5f466f57..eb8f741e43e7 100644
--- a/net-misc/streamlink/streamlink-1.0.0.ebuild
+++ b/net-misc/streamlink/streamlink-1.0.0.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~x86"
LICENSE="BSD-2 Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# >=urllib3-1.23 only needed for python2, but requests pulls some version anyways, so we might as well guarantee at least that ver for py3 too
RDEPEND="
diff --git a/net-misc/streamlink/streamlink-1.1.1.ebuild b/net-misc/streamlink/streamlink-1.1.1.ebuild
index 667a5f466f57..eb8f741e43e7 100644
--- a/net-misc/streamlink/streamlink-1.1.1.ebuild
+++ b/net-misc/streamlink/streamlink-1.1.1.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~x86"
LICENSE="BSD-2 Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# >=urllib3-1.23 only needed for python2, but requests pulls some version anyways, so we might as well guarantee at least that ver for py3 too
RDEPEND="
diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild
index 3ceafa2b28e2..4419ab99197d 100644
--- a/net-misc/streamlink/streamlink-9999.ebuild
+++ b/net-misc/streamlink/streamlink-9999.ebuild
@@ -16,6 +16,7 @@ KEYWORDS=""
LICENSE="BSD-2 Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
diff --git a/net-misc/valve/valve-1.0-r1.ebuild b/net-misc/valve/valve-1.0-r1.ebuild
index 52f73b5320ce..5510f27b19f5 100644
--- a/net-misc/valve/valve-1.0-r1.ebuild
+++ b/net-misc/valve/valve-1.0-r1.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=6
@@ -11,6 +11,7 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test doc"
+RESTRICT="!test? ( test )"
DOCS=( README INSTALL valve.pdf )