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-libs
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-libs')
-rw-r--r--dev-libs/appstream/appstream-0.12.7.ebuild1
-rw-r--r--dev-libs/appstream/appstream-0.12.9.ebuild1
-rw-r--r--dev-libs/atcore/atcore-1.0.0.ebuild1
-rw-r--r--dev-libs/atk/atk-2.28.1.ebuild1
-rw-r--r--dev-libs/aws-c-common/aws-c-common-0.4.11.ebuild1
-rw-r--r--dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild1
-rw-r--r--dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild1
-rw-r--r--dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.7.178.ebuild1
-rw-r--r--dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild1
-rw-r--r--dev-libs/c-blosc/c-blosc-1.11.2.ebuild3
-rw-r--r--dev-libs/capnproto/capnproto-0.6.0.ebuild3
-rw-r--r--dev-libs/capnproto/capnproto-0.6.1.ebuild3
-rw-r--r--dev-libs/capnproto/capnproto-0.7.0.ebuild1
-rw-r--r--dev-libs/cereal/cereal-1.2.1.ebuild3
-rw-r--r--dev-libs/cereal/cereal-1.2.2.ebuild3
-rw-r--r--dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild1
-rw-r--r--dev-libs/dbus-glib/dbus-glib-0.110.ebuild1
-rw-r--r--dev-libs/ding-libs/ding-libs-0.4.0.ebuild3
-rw-r--r--dev-libs/ding-libs/ding-libs-0.5.0.ebuild3
-rw-r--r--dev-libs/ding-libs/ding-libs-0.6.0.ebuild3
-rw-r--r--dev-libs/ding-libs/ding-libs-0.6.1.ebuild1
-rw-r--r--dev-libs/double-conversion/double-conversion-3.1.4-r1.ebuild1
-rw-r--r--dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild1
-rw-r--r--dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild1
-rw-r--r--dev-libs/folks/folks-0.11.4-r1.ebuild1
-rw-r--r--dev-libs/gjs/gjs-1.48.7.ebuild3
-rw-r--r--dev-libs/glib/glib-2.58.3-r1.ebuild1
-rw-r--r--dev-libs/glib/glib-2.60.6.ebuild1
-rw-r--r--dev-libs/glib/glib-2.60.7.ebuild1
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild1
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.58.3.ebuild1
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild1
-rw-r--r--dev-libs/gumbo/gumbo-0.10.1.ebuild3
-rw-r--r--dev-libs/hiredis/hiredis-0.13.3.ebuild3
-rw-r--r--dev-libs/hiredis/hiredis-0.14.0.ebuild3
-rw-r--r--dev-libs/leatherman/leatherman-1.3.0.ebuild3
-rw-r--r--dev-libs/leatherman/leatherman-1.8.0.ebuild1
-rw-r--r--dev-libs/leatherman/leatherman-1.9.0.ebuild1
-rw-r--r--dev-libs/leatherman/leatherman-1.9.1.ebuild1
-rw-r--r--dev-libs/leveldb/leveldb-1.20.ebuild1
-rw-r--r--dev-libs/libaio/libaio-0.3.110.ebuild3
-rw-r--r--dev-libs/libaio/libaio-0.3.111.ebuild1
-rw-r--r--dev-libs/libaio/libaio-0.3.112.ebuild1
-rw-r--r--dev-libs/libaio/libaio-9999.ebuild1
-rw-r--r--dev-libs/libcdio/libcdio-0.93.ebuild3
-rw-r--r--dev-libs/libcdio/libcdio-0.94-r1.ebuild3
-rw-r--r--dev-libs/libcdio/libcdio-1.1.0.ebuild3
-rw-r--r--dev-libs/libcdio/libcdio-2.0.0-r1.ebuild3
-rw-r--r--dev-libs/libcdio/libcdio-2.0.0.ebuild3
-rw-r--r--dev-libs/libcdio/libcdio-2.1.0-r1.ebuild1
-rw-r--r--dev-libs/libcgroup/libcgroup-0.41-r5.ebuild1
-rw-r--r--dev-libs/libcroco/libcroco-0.6.12-r1.ebuild3
-rw-r--r--dev-libs/libcroco/libcroco-0.6.13.ebuild1
-rw-r--r--dev-libs/libcss/libcss-0.8.0-r1.ebuild1
-rw-r--r--dev-libs/libdynd/libdynd-0.7.2.ebuild3
-rw-r--r--dev-libs/libestr/libestr-0.1.10.ebuild1
-rw-r--r--dev-libs/libestr/libestr-0.1.11.ebuild1
-rw-r--r--dev-libs/libevent/libevent-2.1.11.ebuild1
-rw-r--r--dev-libs/libevent/libevent-2.1.8.ebuild1
-rw-r--r--dev-libs/libfmt/libfmt-5.3.0.ebuild1
-rw-r--r--dev-libs/libfmt/libfmt-6.0.0.ebuild1
-rw-r--r--dev-libs/libgdata/libgdata-0.17.8.ebuild3
-rw-r--r--dev-libs/libgdata/libgdata-0.17.9-r1.ebuild1
-rw-r--r--dev-libs/libgpiod/libgpiod-1.4.1.ebuild1
-rw-r--r--dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild3
-rw-r--r--dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild3
-rw-r--r--dev-libs/libical/libical-3.0.5.ebuild1
-rw-r--r--dev-libs/libical/libical-3.0.6.ebuild1
-rw-r--r--dev-libs/libindicator/libindicator-12.10.1-r201.ebuild3
-rw-r--r--dev-libs/libindicator/libindicator-12.10.1-r301.ebuild1
-rw-r--r--dev-libs/liblognorm/liblognorm-2.0.5.ebuild1
-rw-r--r--dev-libs/liblognorm/liblognorm-2.0.6.ebuild1
-rw-r--r--dev-libs/libmodbus/libmodbus-3.1.4.ebuild1
-rw-r--r--dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild1
-rw-r--r--dev-libs/libofx/libofx-0.9.15.ebuild1
-rw-r--r--dev-libs/liboil/liboil-0.3.17-r2.ebuild3
-rw-r--r--dev-libs/libparserutils/libparserutils-0.2.3.ebuild3
-rw-r--r--dev-libs/libparserutils/libparserutils-0.2.4-r1.ebuild1
-rw-r--r--dev-libs/libpipeline/libpipeline-1.4.2.ebuild1
-rw-r--r--dev-libs/libpipeline/libpipeline-1.5.0.ebuild1
-rw-r--r--dev-libs/libpipeline/libpipeline-1.5.1.ebuild1
-rw-r--r--dev-libs/libqtxdg/libqtxdg-3.3.1.ebuild1
-rw-r--r--dev-libs/libratbag/libratbag-0.9.ebuild3
-rw-r--r--dev-libs/libressl/libressl-2.6.5.ebuild3
-rw-r--r--dev-libs/libressl/libressl-2.8.3.ebuild1
-rw-r--r--dev-libs/libressl/libressl-2.9.1.ebuild1
-rw-r--r--dev-libs/libressl/libressl-2.9.2.ebuild1
-rw-r--r--dev-libs/libressl/libressl-3.0.0.ebuild1
-rw-r--r--dev-libs/libressl/libressl-3.0.1.ebuild1
-rw-r--r--dev-libs/libressl/libressl-3.0.2.ebuild1
-rw-r--r--dev-libs/librevenge/librevenge-0.0.4-r1.ebuild1
-rw-r--r--dev-libs/librevenge/librevenge-9999.ebuild1
-rw-r--r--dev-libs/libsigc++/libsigc++-2.10.1.ebuild1
-rw-r--r--dev-libs/libstrl/libstrl-0.5.1-r1.ebuild1
-rw-r--r--dev-libs/libusb/libusb-1.0.19-r1.ebuild1
-rw-r--r--dev-libs/libusb/libusb-1.0.21-r1.ebuild1
-rw-r--r--dev-libs/libusb/libusb-1.0.22.ebuild1
-rw-r--r--dev-libs/libusb/libusb-1.0.23-r1.ebuild1
-rw-r--r--dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild1
-rw-r--r--dev-libs/libwapcaplet/libwapcaplet-0.4.1-r1.ebuild1
-rw-r--r--dev-libs/libwbxml/libwbxml-0.11.2.ebuild1
-rw-r--r--dev-libs/libwbxml/libwbxml-0.11.6.ebuild1
-rw-r--r--dev-libs/libyaml/libyaml-0.2.2.ebuild1
-rw-r--r--dev-libs/libzip/libzip-1.5.1.ebuild1
-rw-r--r--dev-libs/libzip/libzip-1.5.2-r2.ebuild1
-rw-r--r--dev-libs/log4cpp/log4cpp-1.1.3.ebuild1
-rw-r--r--dev-libs/log4cpp/log4cpp-1.1.ebuild3
-rw-r--r--dev-libs/msgpack/msgpack-1.1.0.ebuild1
-rw-r--r--dev-libs/msgpack/msgpack-3.1.1.ebuild3
-rw-r--r--dev-libs/msgpack/msgpack-3.2.0.ebuild1
-rw-r--r--dev-libs/nettle/nettle-3.4.1.ebuild1
-rw-r--r--dev-libs/nettle/nettle-3.5.1.ebuild1
-rw-r--r--dev-libs/nsync/nsync-1.20.1.ebuild1
-rw-r--r--dev-libs/ntl/ntl-10.5.0.ebuild3
-rw-r--r--dev-libs/ntl/ntl-9.3.0.ebuild3
-rw-r--r--dev-libs/ntl/ntl-9.6.4.ebuild3
-rw-r--r--dev-libs/opensc/opensc-0.19.0-r2.ebuild1
-rw-r--r--dev-libs/pegtl/pegtl-1.3.1-r1.ebuild3
-rw-r--r--dev-libs/pegtl/pegtl-2.0.0.ebuild3
-rw-r--r--dev-libs/pegtl/pegtl-2.0_pre1.ebuild3
-rw-r--r--dev-libs/pegtl/pegtl-2.1.4.ebuild3
-rw-r--r--dev-libs/poco/poco-1.9.0-r2.ebuild1
-rw-r--r--dev-libs/processor-trace/processor-trace-1.6.1.ebuild3
-rw-r--r--dev-libs/processor-trace/processor-trace-1.6.2.ebuild3
-rw-r--r--dev-libs/processor-trace/processor-trace-2.0.ebuild3
-rw-r--r--dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild1
-rw-r--r--dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild1
-rw-r--r--dev-libs/qoauth/qoauth-2.0.1_pre20160315-r3.ebuild3
-rw-r--r--dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild3
-rw-r--r--dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild1
-rw-r--r--dev-libs/rapidjson/rapidjson-1.1.0.ebuild3
-rw-r--r--dev-libs/rapidjson/rapidjson-9999.ebuild1
-rw-r--r--dev-libs/rasqal/rasqal-0.9.33.ebuild1
-rw-r--r--dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.6.0.ebuild1
-rw-r--r--dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.7.0.ebuild1
-rw-r--r--dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild1
-rw-r--r--dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild1
-rw-r--r--dev-libs/serd/serd-0.28.0-r1.ebuild1
-rw-r--r--dev-libs/softhsm/softhsm-2.5.0.ebuild1
-rw-r--r--dev-libs/sord/sord-0.16.0-r1.ebuild1
-rw-r--r--dev-libs/spdlog/spdlog-1.2.1.ebuild3
-rw-r--r--dev-libs/spdlog/spdlog-1.3.0.ebuild1
-rw-r--r--dev-libs/spdlog/spdlog-1.3.1.ebuild1
-rw-r--r--dev-libs/spdlog/spdlog-9999.ebuild1
-rw-r--r--dev-libs/squareball/squareball-0.2.0.ebuild3
-rw-r--r--dev-libs/squareball/squareball-9999.ebuild3
-rw-r--r--dev-libs/stp/stp-2.3.3.ebuild1
-rw-r--r--dev-libs/totem-pl-parser/totem-pl-parser-3.26.3.ebuild1
-rw-r--r--dev-libs/tvmet/tvmet-1.7.2-r2.ebuild3
-rw-r--r--dev-libs/udis86/udis86-1.7-r2.ebuild3
-rw-r--r--dev-libs/udis86/udis86-1.7.2.ebuild3
-rw-r--r--dev-libs/unittest++/unittest++-1.6.1.ebuild3
-rw-r--r--dev-libs/unittest++/unittest++-2.0.0.ebuild3
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.10.1.ebuild1
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.10.2.ebuild1
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.11.1.ebuild1
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild1
-rw-r--r--dev-libs/userspace-rcu/userspace-rcu-0.9.2.ebuild1
-rw-r--r--dev-libs/uthash/uthash-2.0.2.ebuild1
-rw-r--r--dev-libs/vc/vc-1.3.0.ebuild3
-rw-r--r--dev-libs/vc/vc-1.3.3.ebuild3
-rw-r--r--dev-libs/volume_key/volume_key-0.3.12.ebuild1
-rw-r--r--dev-libs/weston/weston-3.0.0.ebuild1
-rw-r--r--dev-libs/weston/weston-7.0.0.ebuild1
-rw-r--r--dev-libs/weston/weston-9999.ebuild1
-rw-r--r--dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild1
-rw-r--r--dev-libs/xerces-c/xerces-c-9999.ebuild3
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild3
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.39.11-r1.ebuild3
-rw-r--r--dev-libs/xmlsec/xmlsec-1.2.28.ebuild1
-rw-r--r--dev-libs/xmlsec/xmlsec-1.2.29.ebuild1
-rw-r--r--dev-libs/zlog/zlog-1.2.12-r1.ebuild3
-rw-r--r--dev-libs/zlog/zlog-1.2.12.ebuild3
-rw-r--r--dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild3
-rw-r--r--dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild3
-rw-r--r--dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild3
-rw-r--r--dev-libs/zziplib/zziplib-0.13.69.ebuild1
177 files changed, 239 insertions, 62 deletions
diff --git a/dev-libs/appstream/appstream-0.12.7.ebuild b/dev-libs/appstream/appstream-0.12.7.ebuild
index fbc659372b2b..592863c75581 100644
--- a/dev-libs/appstream/appstream-0.12.7.ebuild
+++ b/dev-libs/appstream/appstream-0.12.7.ebuild
@@ -22,6 +22,7 @@ LICENSE="LGPL-2.1+ GPL-2+"
# check as_api_level
SLOT="0/4"
IUSE="apt +introspection qt5 test"
+RESTRICT="!test? ( test )"
BDEPEND="
app-text/docbook-xml-dtd:4.5
diff --git a/dev-libs/appstream/appstream-0.12.9.ebuild b/dev-libs/appstream/appstream-0.12.9.ebuild
index 82e775582a5f..90432b992ef2 100644
--- a/dev-libs/appstream/appstream-0.12.9.ebuild
+++ b/dev-libs/appstream/appstream-0.12.9.ebuild
@@ -21,6 +21,7 @@ LICENSE="LGPL-2.1+ GPL-2+"
# check as_api_level
SLOT="0/4"
IUSE="apt doc +introspection qt5 test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-libs/appstream-glib
diff --git a/dev-libs/atcore/atcore-1.0.0.ebuild b/dev-libs/atcore/atcore-1.0.0.ebuild
index 97a8acd4d301..ea5b5987fee2 100644
--- a/dev-libs/atcore/atcore-1.0.0.ebuild
+++ b/dev-libs/atcore/atcore-1.0.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="|| ( LGPL-2.1+ LGPL-3 ) gui? ( GPL-3+ )"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc gui test"
+RESTRICT="!test? ( test )"
BDEPEND="
$(add_qt_dep linguist-tools)
diff --git a/dev-libs/atk/atk-2.28.1.ebuild b/dev-libs/atk/atk-2.28.1.ebuild
index 7d62480588c4..6df4ce591ae7 100644
--- a/dev-libs/atk/atk-2.28.1.ebuild
+++ b/dev-libs/atk/atk-2.28.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="+introspection nls test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
diff --git a/dev-libs/aws-c-common/aws-c-common-0.4.11.ebuild b/dev-libs/aws-c-common/aws-c-common-0.4.11.ebuild
index e67469eec702..f3ee9be44b13 100644
--- a/dev-libs/aws-c-common/aws-c-common-0.4.11.ebuild
+++ b/dev-libs/aws-c-common/aws-c-common-0.4.11.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
diff --git a/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild
index b45aa6f30db9..b33495cc06ca 100644
--- a/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild
+++ b/dev-libs/aws-c-event-stream/aws-c-event-stream-0.1.3.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-libs/aws-c-common
diff --git a/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild b/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild
index cb764eeadcce..a0d6bce25cf4 100644
--- a/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild
+++ b/dev-libs/aws-checksums/aws-checksums-0.1.3.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
diff --git a/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.7.178.ebuild b/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.7.178.ebuild
index 1c20c4f04f22..1ce4d2c80bf7 100644
--- a/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.7.178.ebuild
+++ b/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.7.178.ebuild
@@ -25,6 +25,7 @@ MODULES=(
)
IUSE="+http libressl +rtti +ssl static-libs test unity-build ${MODULES[*]}"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
diff --git a/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild b/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild
index ac621115d48c..d7206af56292 100644
--- a/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild
+++ b/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild
@@ -14,6 +14,7 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-libs/boost"
RDEPEND="${DEPEND}"
diff --git a/dev-libs/c-blosc/c-blosc-1.11.2.ebuild b/dev-libs/c-blosc/c-blosc-1.11.2.ebuild
index c06bbca39377..dbd37220fef8 100644
--- a/dev-libs/c-blosc/c-blosc-1.11.2.ebuild
+++ b/dev-libs/c-blosc/c-blosc-1.11.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=6
@@ -15,6 +15,7 @@ SLOT="0/1"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_avx2 +lz4 +snappy static-libs test zlib zstd"
+RESTRICT="!test? ( test )"
RDEPEND="
lz4? ( >=app-arch/lz4-1.7.5:= )
diff --git a/dev-libs/capnproto/capnproto-0.6.0.ebuild b/dev-libs/capnproto/capnproto-0.6.0.ebuild
index 2a6230fa3b94..367234c1aaa8 100644
--- a/dev-libs/capnproto/capnproto-0.6.0.ebuild
+++ b/dev-libs/capnproto/capnproto-0.6.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="MIT"
SLOT="0/060"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="test? ( dev-cpp/gtest )"
diff --git a/dev-libs/capnproto/capnproto-0.6.1.ebuild b/dev-libs/capnproto/capnproto-0.6.1.ebuild
index 358e6ae7a0c2..de5d76054bfc 100644
--- a/dev-libs/capnproto/capnproto-0.6.1.ebuild
+++ b/dev-libs/capnproto/capnproto-0.6.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
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/061"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="test? ( dev-cpp/gtest )"
diff --git a/dev-libs/capnproto/capnproto-0.7.0.ebuild b/dev-libs/capnproto/capnproto-0.7.0.ebuild
index 59b088483836..15a2c832efd4 100644
--- a/dev-libs/capnproto/capnproto-0.7.0.ebuild
+++ b/dev-libs/capnproto/capnproto-0.7.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/070"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+ssl static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="ssl? ( dev-libs/openssl:0= )"
DEPEND="${RDEPEND} test? ( dev-cpp/gtest )"
diff --git a/dev-libs/cereal/cereal-1.2.1.ebuild b/dev-libs/cereal/cereal-1.2.1.ebuild
index 038a8c4469b5..3e62e1429c37 100644
--- a/dev-libs/cereal/cereal-1.2.1.ebuild
+++ b/dev-libs/cereal/cereal-1.2.1.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=6
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-libs/boost )"
diff --git a/dev-libs/cereal/cereal-1.2.2.ebuild b/dev-libs/cereal/cereal-1.2.2.ebuild
index a873eb5bdfc5..fc09025d5883 100644
--- a/dev-libs/cereal/cereal-1.2.2.ebuild
+++ b/dev-libs/cereal/cereal-1.2.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=6
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-libs/boost )"
diff --git a/dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild b/dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild
index 96d180f7dc08..c6463e43878c 100644
--- a/dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild
+++ b/dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="doc ecore glib static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="sys-apps/dbus[${MULTILIB_USEDEP}]
ecore? ( dev-libs/efl )
diff --git a/dev-libs/dbus-glib/dbus-glib-0.110.ebuild b/dev-libs/dbus-glib/dbus-glib-0.110.ebuild
index 9a13087f2463..3e10ea1cb88f 100644
--- a/dev-libs/dbus-glib/dbus-glib-0.110.ebuild
+++ b/dev-libs/dbus-glib/dbus-glib-0.110.ebuild
@@ -12,6 +12,7 @@ LICENSE="|| ( GPL-2 AFL-2.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
diff --git a/dev-libs/ding-libs/ding-libs-0.4.0.ebuild b/dev-libs/ding-libs/ding-libs-0.4.0.ebuild
index 8aa0f79aa2c9..b64fddba5b07 100644
--- a/dev-libs/ding-libs/ding-libs-0.4.0.ebuild
+++ b/dev-libs/ding-libs/ding-libs-0.4.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
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux"
IUSE="test static-libs"
+RESTRICT="!test? ( test )"
RDEPEND=""
diff --git a/dev-libs/ding-libs/ding-libs-0.5.0.ebuild b/dev-libs/ding-libs/ding-libs-0.5.0.ebuild
index f917de14d1b4..19a7325e01dd 100644
--- a/dev-libs/ding-libs/ding-libs-0.5.0.ebuild
+++ b/dev-libs/ding-libs/ding-libs-0.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"
@@ -13,6 +13,7 @@ LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
IUSE="test static-libs"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-libs/ding-libs/ding-libs-0.6.0.ebuild b/dev-libs/ding-libs/ding-libs-0.6.0.ebuild
index 1f488639729e..6870b2e56da0 100644
--- a/dev-libs/ding-libs/ding-libs-0.6.0.ebuild
+++ b/dev-libs/ding-libs/ding-libs-0.6.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="6"
@@ -13,6 +13,7 @@ LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
IUSE="test static-libs"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-libs/ding-libs/ding-libs-0.6.1.ebuild b/dev-libs/ding-libs/ding-libs-0.6.1.ebuild
index ffbf1b010c0b..545d960419c5 100644
--- a/dev-libs/ding-libs/ding-libs-0.6.1.ebuild
+++ b/dev-libs/ding-libs/ding-libs-0.6.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux"
IUSE="test static-libs"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-libs/double-conversion/double-conversion-3.1.4-r1.ebuild b/dev-libs/double-conversion/double-conversion-3.1.4-r1.ebuild
index 07d645b51f2d..055a8017e283 100644
--- a/dev-libs/double-conversion/double-conversion-3.1.4-r1.ebuild
+++ b/dev-libs/double-conversion/double-conversion-3.1.4-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0/3"
KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/0001-CMake-install-to-correct-lib-dir.patch"
diff --git a/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild b/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild
index 08d074cafb78..b534ae9a443f 100644
--- a/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild
+++ b/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +introspection libcanberra static-libs +vala +xtest"
+RESTRICT="!test? ( test )"
REQUIRED_USE="vala? ( introspection )"
RDEPEND="app-accessibility/at-spi2-core
diff --git a/dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild b/dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild
index 54bfce7666e8..aa501d3ba73a 100644
--- a/dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild
+++ b/dev-libs/flatbuffers/flatbuffers-1.11.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
DOCS=( readme.md )
diff --git a/dev-libs/folks/folks-0.11.4-r1.ebuild b/dev-libs/folks/folks-0.11.4-r1.ebuild
index ae3a4dd69092..01e0bbbfc3f1 100644
--- a/dev-libs/folks/folks-0.11.4-r1.ebuild
+++ b/dev-libs/folks/folks-0.11.4-r1.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux"
# TODO: --enable-profiling
# Vala isn't really optional, https://bugzilla.gnome.org/show_bug.cgi?id=701099
IUSE="bluetooth debug eds +telepathy test tracker utils"
+RESTRICT="!test? ( test )"
REQUIRED_USE="bluetooth? ( eds )"
COMMON_DEPEND="
diff --git a/dev-libs/gjs/gjs-1.48.7.ebuild b/dev-libs/gjs/gjs-1.48.7.ebuild
index 7766348989c3..8b9abe61a64b 100644
--- a/dev-libs/gjs/gjs-1.48.7.ebuild
+++ b/dev-libs/gjs/gjs-1.48.7.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
@@ -10,6 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Gjs"
LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
SLOT="0"
IUSE="+cairo examples gtk test"
+RESTRICT="!test? ( test )"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
RDEPEND="
diff --git a/dev-libs/glib/glib-2.58.3-r1.ebuild b/dev-libs/glib/glib-2.58.3-r1.ebuild
index af6ae5ac84a1..aba9651c1307 100644
--- a/dev-libs/glib/glib-2.58.3-r1.ebuild
+++ b/dev-libs/glib/glib-2.58.3-r1.ebuild
@@ -20,6 +20,7 @@ SRC_URI="${SRC_URI}
LICENSE="LGPL-2.1+"
SLOT="2"
IUSE="dbus debug fam gtk-doc kernel_linux +mime selinux static-libs systemtap test utils xattr"
+RESTRICT="!test? ( test )"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
diff --git a/dev-libs/glib/glib-2.60.6.ebuild b/dev-libs/glib/glib-2.60.6.ebuild
index 0da3428974bb..bc7a27071e05 100644
--- a/dev-libs/glib/glib-2.60.6.ebuild
+++ b/dev-libs/glib/glib-2.60.6.ebuild
@@ -12,6 +12,7 @@ HOMEPAGE="https://www.gtk.org/"
LICENSE="LGPL-2.1+"
SLOT="2"
IUSE="dbus debug elibc_glibc fam gtk-doc kernel_linux +mime selinux static-libs systemtap test utils xattr"
+RESTRICT="!test? ( test )"
KEYWORDS="alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
diff --git a/dev-libs/glib/glib-2.60.7.ebuild b/dev-libs/glib/glib-2.60.7.ebuild
index 9ff73dda8d48..752dfbde9ec3 100644
--- a/dev-libs/glib/glib-2.60.7.ebuild
+++ b/dev-libs/glib/glib-2.60.7.ebuild
@@ -12,6 +12,7 @@ HOMEPAGE="https://www.gtk.org/"
LICENSE="LGPL-2.1+"
SLOT="2"
IUSE="dbus debug elibc_glibc fam gtk-doc kernel_linux +mime selinux static-libs systemtap test utils xattr"
+RESTRICT="!test? ( test )"
KEYWORDS="alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild
index fda611d8f9e4..f67a001b4c1c 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild
@@ -13,6 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
LICENSE="LGPL-2+ GPL-2+"
SLOT="0"
IUSE="cairo doctool test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
test? ( cairo )
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.58.3.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.58.3.ebuild
index a371c8e76422..a543fde12578 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.58.3.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.58.3.ebuild
@@ -13,6 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
LICENSE="LGPL-2+ GPL-2+"
SLOT="0"
IUSE="cairo doctool test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
test? ( cairo )
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild
index a1aeb289db24..5f85916a865d 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild
@@ -13,6 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
LICENSE="LGPL-2+ GPL-2+"
SLOT="0"
IUSE="cairo doctool test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
test? ( cairo )
diff --git a/dev-libs/gumbo/gumbo-0.10.1.ebuild b/dev-libs/gumbo/gumbo-0.10.1.ebuild
index 3587bf94f754..41b664957449 100644
--- a/dev-libs/gumbo/gumbo-0.10.1.ebuild
+++ b/dev-libs/gumbo/gumbo-0.10.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
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/gumbo-parser-${PV}"
diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild
index 045f7c1ebd2a..e4cb01085872 100644
--- a/dev-libs/hiredis/hiredis-0.13.3.ebuild
+++ b/dev-libs/hiredis/hiredis-0.13.3.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/0.13"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~x64-solaris"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-db/redis )"
diff --git a/dev-libs/hiredis/hiredis-0.14.0.ebuild b/dev-libs/hiredis/hiredis-0.14.0.ebuild
index 201e0c0358d0..e9e551acd1a5 100644
--- a/dev-libs/hiredis/hiredis-0.14.0.ebuild
+++ b/dev-libs/hiredis/hiredis-0.14.0.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="7"
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0/0.14"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-db/redis )"
diff --git a/dev-libs/leatherman/leatherman-1.3.0.ebuild b/dev-libs/leatherman/leatherman-1.3.0.ebuild
index 5161ca2346ca..276c9fbb29ff 100644
--- a/dev-libs/leatherman/leatherman-1.3.0.ebuild
+++ b/dev-libs/leatherman/leatherman-1.3.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=6
@@ -12,6 +12,7 @@ SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
+RESTRICT="!test? ( test )"
KEYWORDS="amd64 ~arm hppa ppc ppc64 sparc x86"
RDEPEND="net-misc/curl"
diff --git a/dev-libs/leatherman/leatherman-1.8.0.ebuild b/dev-libs/leatherman/leatherman-1.8.0.ebuild
index 3e365ff23fc8..978d0a696adf 100644
--- a/dev-libs/leatherman/leatherman-1.8.0.ebuild
+++ b/dev-libs/leatherman/leatherman-1.8.0.ebuild
@@ -11,6 +11,7 @@ SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
SLOT="0/${PV}"
diff --git a/dev-libs/leatherman/leatherman-1.9.0.ebuild b/dev-libs/leatherman/leatherman-1.9.0.ebuild
index 3e365ff23fc8..978d0a696adf 100644
--- a/dev-libs/leatherman/leatherman-1.9.0.ebuild
+++ b/dev-libs/leatherman/leatherman-1.9.0.ebuild
@@ -11,6 +11,7 @@ SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
SLOT="0/${PV}"
diff --git a/dev-libs/leatherman/leatherman-1.9.1.ebuild b/dev-libs/leatherman/leatherman-1.9.1.ebuild
index 335426971404..5767dcd6355c 100644
--- a/dev-libs/leatherman/leatherman-1.9.1.ebuild
+++ b/dev-libs/leatherman/leatherman-1.9.1.ebuild
@@ -11,6 +11,7 @@ SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
SLOT="0/${PV}"
diff --git a/dev-libs/leveldb/leveldb-1.20.ebuild b/dev-libs/leveldb/leveldb-1.20.ebuild
index 312bb341b5f4..c23b914b691b 100644
--- a/dev-libs/leveldb/leveldb-1.20.ebuild
+++ b/dev-libs/leveldb/leveldb-1.20.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0/1"
KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="+snappy static-libs kernel_FreeBSD +tcmalloc test"
+RESTRICT="!test? ( test )"
DEPEND="tcmalloc? ( dev-util/google-perftools )
snappy? (
diff --git a/dev-libs/libaio/libaio-0.3.110.ebuild b/dev-libs/libaio/libaio-0.3.110.ebuild
index e8dbee25e771..3a9ff51ba4f3 100644
--- a/dev-libs/libaio/libaio-0.3.110.ebuild
+++ b/dev-libs/libaio/libaio-0.3.110.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-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
src_prepare() {
epatch \
diff --git a/dev-libs/libaio/libaio-0.3.111.ebuild b/dev-libs/libaio/libaio-0.3.111.ebuild
index 926858c4ed94..9249c039bb12 100644
--- a/dev-libs/libaio/libaio-0.3.111.ebuild
+++ b/dev-libs/libaio/libaio-0.3.111.ebuild
@@ -17,6 +17,7 @@ fi
LICENSE="LGPL-2"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.109-install.patch
diff --git a/dev-libs/libaio/libaio-0.3.112.ebuild b/dev-libs/libaio/libaio-0.3.112.ebuild
index 17263d200f64..735248f1f05b 100644
--- a/dev-libs/libaio/libaio-0.3.112.ebuild
+++ b/dev-libs/libaio/libaio-0.3.112.ebuild
@@ -17,6 +17,7 @@ fi
LICENSE="LGPL-2"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.112-cppflags.patch
diff --git a/dev-libs/libaio/libaio-9999.ebuild b/dev-libs/libaio/libaio-9999.ebuild
index 17263d200f64..735248f1f05b 100644
--- a/dev-libs/libaio/libaio-9999.ebuild
+++ b/dev-libs/libaio/libaio-9999.ebuild
@@ -17,6 +17,7 @@ fi
LICENSE="LGPL-2"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.112-cppflags.patch
diff --git a/dev-libs/libcdio/libcdio-0.93.ebuild b/dev-libs/libcdio/libcdio-0.93.ebuild
index d4ca932e64b7..0dda745a992d 100644
--- a/dev-libs/libcdio/libcdio-0.93.ebuild
+++ b/dev-libs/libcdio/libcdio-0.93.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="GPL-3"
SLOT="0/15" # subslot is based on SONAME
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cddb +cxx minimal static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/dev-libs/libcdio/libcdio-0.94-r1.ebuild b/dev-libs/libcdio/libcdio-0.94-r1.ebuild
index bb80335dbe05..3e1583dbc0f2 100644
--- a/dev-libs/libcdio/libcdio-0.94-r1.ebuild
+++ b/dev-libs/libcdio/libcdio-0.94-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="GPL-3"
SLOT="0/16" # subslot is based on SONAME
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cddb +cxx minimal static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/dev-libs/libcdio/libcdio-1.1.0.ebuild b/dev-libs/libcdio/libcdio-1.1.0.ebuild
index 64bdaa9ca8be..b3fbe0155281 100644
--- a/dev-libs/libcdio/libcdio-1.1.0.ebuild
+++ b/dev-libs/libcdio/libcdio-1.1.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=6
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
SLOT="0/17" # subslot is based on SONAME
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cddb +cxx minimal static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/dev-libs/libcdio/libcdio-2.0.0-r1.ebuild b/dev-libs/libcdio/libcdio-2.0.0-r1.ebuild
index f0ba01979e37..16077c69bd9b 100644
--- a/dev-libs/libcdio/libcdio-2.0.0-r1.ebuild
+++ b/dev-libs/libcdio/libcdio-2.0.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-3"
SLOT="0/18" # subslot is based on SONAME
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cddb +cxx minimal static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/dev-libs/libcdio/libcdio-2.0.0.ebuild b/dev-libs/libcdio/libcdio-2.0.0.ebuild
index 609c35aafe0b..9401e4a84c20 100644
--- a/dev-libs/libcdio/libcdio-2.0.0.ebuild
+++ b/dev-libs/libcdio/libcdio-2.0.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=6
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
SLOT="0/18" # subslot is based on SONAME
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cddb +cxx minimal static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild b/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild
index 6262baefae5c..25d26ab502f4 100644
--- a/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild
+++ b/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
SLOT="0/19" # subslot is based on SONAME
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cddb +cxx minimal static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
!minimal? (
diff --git a/dev-libs/libcgroup/libcgroup-0.41-r5.ebuild b/dev-libs/libcgroup/libcgroup-0.41-r5.ebuild
index a144fee7f9f2..153dd574401d 100644
--- a/dev-libs/libcgroup/libcgroup-0.41-r5.ebuild
+++ b/dev-libs/libcgroup/libcgroup-0.41-r5.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
IUSE="+daemon elibc_musl pam static-libs test +tools"
+RESTRICT="!test? ( test )"
RDEPEND="pam? ( sys-libs/pam )"
diff --git a/dev-libs/libcroco/libcroco-0.6.12-r1.ebuild b/dev-libs/libcroco/libcroco-0.6.12-r1.ebuild
index 9356a6e7fbda..9cea2f4ac750 100644
--- a/dev-libs/libcroco/libcroco-0.6.12-r1.ebuild
+++ b/dev-libs/libcroco/libcroco-0.6.12-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="LGPL-2"
SLOT="0.6"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
diff --git a/dev-libs/libcroco/libcroco-0.6.13.ebuild b/dev-libs/libcroco/libcroco-0.6.13.ebuild
index 59611f6382dc..d3276daef92e 100644
--- a/dev-libs/libcroco/libcroco-0.6.13.ebuild
+++ b/dev-libs/libcroco/libcroco-0.6.13.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2"
SLOT="0.6"
KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
diff --git a/dev-libs/libcss/libcss-0.8.0-r1.ebuild b/dev-libs/libcss/libcss-0.8.0-r1.ebuild
index f360ce390d58..c90a2458ef4a 100644
--- a/dev-libs/libcss/libcss-0.8.0-r1.ebuild
+++ b/dev-libs/libcss/libcss-0.8.0-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libparserutils-0.2.1-r1
diff --git a/dev-libs/libdynd/libdynd-0.7.2.ebuild b/dev-libs/libdynd/libdynd-0.7.2.ebuild
index bd2fb462f18f..2f1c96031bd5 100644
--- a/dev-libs/libdynd/libdynd-0.7.2.ebuild
+++ b/dev-libs/libdynd/libdynd-0.7.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=6
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="cuda doc fftw mkl test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/c-blosc:0=
diff --git a/dev-libs/libestr/libestr-0.1.10.ebuild b/dev-libs/libestr/libestr-0.1.10.ebuild
index c02a15e70051..5f40fae519c7 100644
--- a/dev-libs/libestr/libestr-0.1.10.ebuild
+++ b/dev-libs/libestr/libestr-0.1.10.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa x86"
IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
diff --git a/dev-libs/libestr/libestr-0.1.11.ebuild b/dev-libs/libestr/libestr-0.1.11.ebuild
index 9a94a5700650..22b6f6f1d57b 100644
--- a/dev-libs/libestr/libestr-0.1.11.ebuild
+++ b/dev-libs/libestr/libestr-0.1.11.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 hppa x86"
IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
diff --git a/dev-libs/libevent/libevent-2.1.11.ebuild b/dev-libs/libevent/libevent-2.1.11.ebuild
index e2485b9fa95a..e446b3d11f89 100644
--- a/dev-libs/libevent/libevent-2.1.11.ebuild
+++ b/dev-libs/libevent/libevent-2.1.11.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0/2.1-7"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="debug libressl +ssl static-libs test +threads"
+RESTRICT="!test? ( test )"
DEPEND="
ssl? (
diff --git a/dev-libs/libevent/libevent-2.1.8.ebuild b/dev-libs/libevent/libevent-2.1.8.ebuild
index 85d47d58908c..b16ba6c3ed4d 100644
--- a/dev-libs/libevent/libevent-2.1.8.ebuild
+++ b/dev-libs/libevent/libevent-2.1.8.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0/2.1-6"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="debug libressl +ssl static-libs test +threads"
+RESTRICT="!test? ( test )"
DEPEND="
ssl? (
diff --git a/dev-libs/libfmt/libfmt-5.3.0.ebuild b/dev-libs/libfmt/libfmt-5.3.0.ebuild
index 4c49e01f573f..c8550ae57056 100644
--- a/dev-libs/libfmt/libfmt-5.3.0.ebuild
+++ b/dev-libs/libfmt/libfmt-5.3.0.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://github.com/fmtlib/fmt"
LICENSE="BSD-2"
IUSE="test"
+RESTRICT="!test? ( test )"
SLOT="0/$(ver_cut 1)"
if [[ ${PV} == *9999 ]] ; then
diff --git a/dev-libs/libfmt/libfmt-6.0.0.ebuild b/dev-libs/libfmt/libfmt-6.0.0.ebuild
index 9bb4ee093042..20f7a7d84f93 100644
--- a/dev-libs/libfmt/libfmt-6.0.0.ebuild
+++ b/dev-libs/libfmt/libfmt-6.0.0.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://github.com/fmtlib/fmt"
LICENSE="MIT"
IUSE="test"
+RESTRICT="!test? ( test )"
SLOT="0/$(ver_cut 1)"
if [[ ${PV} == *9999 ]] ; then
diff --git a/dev-libs/libgdata/libgdata-0.17.8.ebuild b/dev-libs/libgdata/libgdata-0.17.8.ebuild
index 7c6ac6bb7a98..bd7a03c2c697 100644
--- a/dev-libs/libgdata/libgdata-0.17.8.ebuild
+++ b/dev-libs/libgdata/libgdata-0.17.8.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
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1+"
SLOT="0/22" # subslot = libgdata soname version
IUSE="+crypt gnome-online-accounts +introspection static-libs test vala"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
gnome-online-accounts? ( crypt )
vala? ( introspection )
diff --git a/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild b/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild
index f9f1ba477023..65e05575dbad 100644
--- a/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild
+++ b/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1+"
SLOT="0/22" # subslot = libgdata soname version
IUSE="+crypt gnome-online-accounts +introspection static-libs test vala"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
gnome-online-accounts? ( crypt )
vala? ( introspection )
diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild
index 50141fbb2619..e49f80f38f68 100644
--- a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild
+++ b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1"
SLOT="0/1"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="static-libs +tools cxx python test"
+RESTRICT="!test? ( test )"
# --enable-tests enable libgpiod tests [default=no]
# --enable-bindings-cxx enable C++ bindings [default=no]
diff --git a/dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild b/dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild
index b8ff0a923d5f..032dc90b2654 100644
--- a/dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild
+++ b/dev-libs/libgpuarray/libgpuarray-0.6.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=6
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cuda doc opencl static-libs test"
+RESTRICT="!test? ( test )"
# cuda/opencl loaded dynamically at runtime, no compile time dep
RDEPEND="
diff --git a/dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild b/dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild
index 744ea75a2b2d..843671c0eb75 100644
--- a/dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild
+++ b/dev-libs/libgpuarray/libgpuarray-0.6.7.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
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0/2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cuda doc opencl static-libs test"
+RESTRICT="!test? ( test )"
# cuda/opencl loaded dynamically at runtime, no compile time dep
RDEPEND="
diff --git a/dev-libs/libical/libical-3.0.5.ebuild b/dev-libs/libical/libical-3.0.5.ebuild
index 3c63dcc44252..8db90e5024fb 100644
--- a/dev-libs/libical/libical-3.0.5.ebuild
+++ b/dev-libs/libical/libical-3.0.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
SLOT="0/3"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="berkdb doc examples glib static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-lang/perl
diff --git a/dev-libs/libical/libical-3.0.6.ebuild b/dev-libs/libical/libical-3.0.6.ebuild
index 243b872e29fc..7d8dbfd7e5f3 100644
--- a/dev-libs/libical/libical-3.0.6.ebuild
+++ b/dev-libs/libical/libical-3.0.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
SLOT="0/3"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="berkdb doc examples introspection static-libs test vala"
+RESTRICT="!test? ( test )"
REQUIRED_USE="vala? ( introspection )"
BDEPEND="
diff --git a/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild b/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild
index c43c76e155f1..ed8abf2adcbb 100644
--- a/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild
+++ b/dev-libs/libindicator/libindicator-12.10.1-r201.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
@@ -12,6 +12,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/glib-2.22[${MULTILIB_USEDEP}]
>=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]"
diff --git a/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild
index c5c2badc6db5..042661be06a1 100644
--- a/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild
+++ b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild
@@ -12,6 +12,7 @@ LICENSE="GPL-3"
SLOT="3"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/glib-2.22[${MULTILIB_USEDEP}]
>=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP}]"
diff --git a/dev-libs/liblognorm/liblognorm-2.0.5.ebuild b/dev-libs/liblognorm/liblognorm-2.0.5.ebuild
index f5361ff95e5d..4454eb1aea10 100644
--- a/dev-libs/liblognorm/liblognorm-2.0.5.ebuild
+++ b/dev-libs/liblognorm/liblognorm-2.0.5.ebuild
@@ -20,6 +20,7 @@ fi
LICENSE="LGPL-2.1 Apache-2.0"
SLOT="0/5.1.0"
IUSE="debug doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libestr-0.1.3
diff --git a/dev-libs/liblognorm/liblognorm-2.0.6.ebuild b/dev-libs/liblognorm/liblognorm-2.0.6.ebuild
index f5361ff95e5d..4454eb1aea10 100644
--- a/dev-libs/liblognorm/liblognorm-2.0.6.ebuild
+++ b/dev-libs/liblognorm/liblognorm-2.0.6.ebuild
@@ -20,6 +20,7 @@ fi
LICENSE="LGPL-2.1 Apache-2.0"
SLOT="0/5.1.0"
IUSE="debug doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libestr-0.1.3
diff --git a/dev-libs/libmodbus/libmodbus-3.1.4.ebuild b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild
index a0367b70eb14..b8b3f359a002 100644
--- a/dev-libs/libmodbus/libmodbus-3.1.4.ebuild
+++ b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs test doc"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="doc? ( app-text/asciidoc
diff --git a/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild b/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild
index 29f239271066..8fa09879cae0 100644
--- a/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild
+++ b/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
IUSE="sdl test vnc wayland xcb"
+RESTRICT="!test? ( test )"
RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 )
vnc? ( >=net-libs/libvncserver-0.9.9-r2 )
diff --git a/dev-libs/libofx/libofx-0.9.15.ebuild b/dev-libs/libofx/libofx-0.9.15.ebuild
index 9e4c2c66d82d..2342fd3e1537 100644
--- a/dev-libs/libofx/libofx-0.9.15.ebuild
+++ b/dev-libs/libofx/libofx-0.9.15.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0/7"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-util/gengetopt
diff --git a/dev-libs/liboil/liboil-0.3.17-r2.ebuild b/dev-libs/liboil/liboil-0.3.17-r2.ebuild
index aa340d2c9640..82cffebe44ec 100644
--- a/dev-libs/liboil/liboil-0.3.17-r2.ebuild
+++ b/dev-libs/liboil/liboil-0.3.17-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=5
@@ -12,6 +12,7 @@ LICENSE="BSD-2"
SLOT="0.3"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="examples? ( dev-libs/glib:2 )"
DEPEND="${RDEPEND}
diff --git a/dev-libs/libparserutils/libparserutils-0.2.3.ebuild b/dev-libs/libparserutils/libparserutils-0.2.3.ebuild
index fbd60a61302f..6a0e8a19d96d 100644
--- a/dev-libs/libparserutils/libparserutils-0.2.3.ebuild
+++ b/dev-libs/libparserutils/libparserutils-0.2.3.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="MIT"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~ppc x86 ~m68k-mint"
IUSE="iconv test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-lang/perl )"
diff --git a/dev-libs/libparserutils/libparserutils-0.2.4-r1.ebuild b/dev-libs/libparserutils/libparserutils-0.2.4-r1.ebuild
index 1fa78d758f96..2083bdfe9ea9 100644
--- a/dev-libs/libparserutils/libparserutils-0.2.4-r1.ebuild
+++ b/dev-libs/libparserutils/libparserutils-0.2.4-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~m68k-mint"
IUSE="iconv test"
+RESTRICT="!test? ( test )"
DEPEND="
>=dev-util/netsurf-buildsystem-1.7-r1
diff --git a/dev-libs/libpipeline/libpipeline-1.4.2.ebuild b/dev-libs/libpipeline/libpipeline-1.4.2.ebuild
index 5d7946bfd016..a034d176020b 100644
--- a/dev-libs/libpipeline/libpipeline-1.4.2.ebuild
+++ b/dev-libs/libpipeline/libpipeline-1.4.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="virtual/pkgconfig
test? ( dev-libs/check )"
diff --git a/dev-libs/libpipeline/libpipeline-1.5.0.ebuild b/dev-libs/libpipeline/libpipeline-1.5.0.ebuild
index d88d6330cac5..b67f1720e463 100644
--- a/dev-libs/libpipeline/libpipeline-1.5.0.ebuild
+++ b/dev-libs/libpipeline/libpipeline-1.5.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="virtual/pkgconfig
test? ( dev-libs/check )"
diff --git a/dev-libs/libpipeline/libpipeline-1.5.1.ebuild b/dev-libs/libpipeline/libpipeline-1.5.1.ebuild
index a5e94a7d2829..cc7c85267ded 100644
--- a/dev-libs/libpipeline/libpipeline-1.5.1.ebuild
+++ b/dev-libs/libpipeline/libpipeline-1.5.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="virtual/pkgconfig
test? ( dev-libs/check )"
diff --git a/dev-libs/libqtxdg/libqtxdg-3.3.1.ebuild b/dev-libs/libqtxdg/libqtxdg-3.3.1.ebuild
index b9a18597a1c9..8b3ad4f6fb44 100644
--- a/dev-libs/libqtxdg/libqtxdg-3.3.1.ebuild
+++ b/dev-libs/libqtxdg/libqtxdg-3.3.1.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
>=dev-util/lxqt-build-tools-0.6.0
diff --git a/dev-libs/libratbag/libratbag-0.9.ebuild b/dev-libs/libratbag/libratbag-0.9.ebuild
index 5e85252262df..f85cd3509b79 100644
--- a/dev-libs/libratbag/libratbag-0.9.ebuild
+++ b/dev-libs/libratbag/libratbag-0.9.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
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
virtual/pkgconfig
diff --git a/dev-libs/libressl/libressl-2.6.5.ebuild b/dev-libs/libressl/libressl-2.6.5.ebuild
index d4870428f998..2e287731592f 100644
--- a/dev-libs/libressl/libressl-2.6.5.ebuild
+++ b/dev-libs/libressl/libressl-2.6.5.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
@@ -16,6 +16,7 @@ LICENSE="ISC openssl"
SLOT="0/44"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE="+asm static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
diff --git a/dev-libs/libressl/libressl-2.8.3.ebuild b/dev-libs/libressl/libressl-2.8.3.ebuild
index 1dd097614e8d..03ba04935f9a 100644
--- a/dev-libs/libressl/libressl-2.8.3.ebuild
+++ b/dev-libs/libressl/libressl-2.8.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC openssl"
SLOT="0/46"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+asm static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
diff --git a/dev-libs/libressl/libressl-2.9.1.ebuild b/dev-libs/libressl/libressl-2.9.1.ebuild
index b9ba51552c33..f3e254c6715d 100644
--- a/dev-libs/libressl/libressl-2.9.1.ebuild
+++ b/dev-libs/libressl/libressl-2.9.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC openssl"
SLOT="0/47"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+asm static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
diff --git a/dev-libs/libressl/libressl-2.9.2.ebuild b/dev-libs/libressl/libressl-2.9.2.ebuild
index 5bd4df28dc3e..69d160be52bc 100644
--- a/dev-libs/libressl/libressl-2.9.2.ebuild
+++ b/dev-libs/libressl/libressl-2.9.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC openssl"
SLOT="0/47"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+asm static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
diff --git a/dev-libs/libressl/libressl-3.0.0.ebuild b/dev-libs/libressl/libressl-3.0.0.ebuild
index 65dfe075bbcc..9a52b9353853 100644
--- a/dev-libs/libressl/libressl-3.0.0.ebuild
+++ b/dev-libs/libressl/libressl-3.0.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC openssl"
SLOT="0/47"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+asm static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
diff --git a/dev-libs/libressl/libressl-3.0.1.ebuild b/dev-libs/libressl/libressl-3.0.1.ebuild
index 65dfe075bbcc..9a52b9353853 100644
--- a/dev-libs/libressl/libressl-3.0.1.ebuild
+++ b/dev-libs/libressl/libressl-3.0.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC openssl"
SLOT="0/47"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+asm static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
diff --git a/dev-libs/libressl/libressl-3.0.2.ebuild b/dev-libs/libressl/libressl-3.0.2.ebuild
index 65dfe075bbcc..9a52b9353853 100644
--- a/dev-libs/libressl/libressl-3.0.2.ebuild
+++ b/dev-libs/libressl/libressl-3.0.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC openssl"
SLOT="0/47"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+asm static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
diff --git a/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild b/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
index d60e8ba6c891..0081867a0c2e 100644
--- a/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
+++ b/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
@@ -18,6 +18,7 @@ fi
LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/zlib[${MULTILIB_USEDEP}]
diff --git a/dev-libs/librevenge/librevenge-9999.ebuild b/dev-libs/librevenge/librevenge-9999.ebuild
index 25f70ed8a4e9..0974dd13bd95 100644
--- a/dev-libs/librevenge/librevenge-9999.ebuild
+++ b/dev-libs/librevenge/librevenge-9999.ebuild
@@ -18,6 +18,7 @@ HOMEPAGE="https://sf.net/p/libwpd/librevenge"
LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
BDEPEND="
doc? ( app-doc/doxygen )
diff --git a/dev-libs/libsigc++/libsigc++-2.10.1.ebuild b/dev-libs/libsigc++/libsigc++-2.10.1.ebuild
index 101c333b36b4..1e56f67a566c 100644
--- a/dev-libs/libsigc++/libsigc++-2.10.1.ebuild
+++ b/dev-libs/libsigc++/libsigc++-2.10.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+"
SLOT="2"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="sys-devel/m4
diff --git a/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild b/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild
index de33883bf831..33b911319375 100644
--- a/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild
+++ b/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild
@@ -12,6 +12,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x64-macos"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="
doc? ( app-doc/doxygen )
diff --git a/dev-libs/libusb/libusb-1.0.19-r1.ebuild b/dev-libs/libusb/libusb-1.0.19-r1.ebuild
index e06279828041..5704cfef558c 100644
--- a/dev-libs/libusb/libusb-1.0.19-r1.ebuild
+++ b/dev-libs/libusb/libusb-1.0.19-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="debug doc examples static-libs test udev"
+RESTRICT="!test? ( test )"
RDEPEND="udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP},static-libs(-)?] )"
DEPEND="${RDEPEND}
diff --git a/dev-libs/libusb/libusb-1.0.21-r1.ebuild b/dev-libs/libusb/libusb-1.0.21-r1.ebuild
index 5b4c6c5e4a70..5b427e81e0cf 100644
--- a/dev-libs/libusb/libusb-1.0.21-r1.ebuild
+++ b/dev-libs/libusb/libusb-1.0.21-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="debug doc examples static-libs test udev"
+RESTRICT="!test? ( test )"
RDEPEND="udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP},static-libs(-)?] )"
DEPEND="${RDEPEND}
diff --git a/dev-libs/libusb/libusb-1.0.22.ebuild b/dev-libs/libusb/libusb-1.0.22.ebuild
index a005d09d3e5d..0035ca645d36 100644
--- a/dev-libs/libusb/libusb-1.0.22.ebuild
+++ b/dev-libs/libusb/libusb-1.0.22.ebuild
@@ -12,6 +12,7 @@ LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="debug doc examples static-libs test udev"
+RESTRICT="!test? ( test )"
RDEPEND="udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP},static-libs(-)?] )"
DEPEND="${RDEPEND}
diff --git a/dev-libs/libusb/libusb-1.0.23-r1.ebuild b/dev-libs/libusb/libusb-1.0.23-r1.ebuild
index 8b719b6c3da8..d3f9f5bd26ce 100644
--- a/dev-libs/libusb/libusb-1.0.23-r1.ebuild
+++ b/dev-libs/libusb/libusb-1.0.23-r1.ebuild
@@ -12,6 +12,7 @@ LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="debug doc examples static-libs test udev"
+RESTRICT="!test? ( test )"
RDEPEND="udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP},static-libs(-)?] )"
DEPEND="${RDEPEND}
diff --git a/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild
index 37472dcfb717..276a0508f63d 100644
--- a/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild
+++ b/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.4.1-r1.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.4.1-r1.ebuild
index c625ebe79b69..fbad93ecf82d 100644
--- a/dev-libs/libwapcaplet/libwapcaplet-0.4.1-r1.ebuild
+++ b/dev-libs/libwapcaplet/libwapcaplet-0.4.1-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
>=dev-util/netsurf-buildsystem-1.7-r1
diff --git a/dev-libs/libwbxml/libwbxml-0.11.2.ebuild b/dev-libs/libwbxml/libwbxml-0.11.2.ebuild
index eac776740c3c..e836a0d844fb 100644
--- a/dev-libs/libwbxml/libwbxml-0.11.2.ebuild
+++ b/dev-libs/libwbxml/libwbxml-0.11.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/expat
diff --git a/dev-libs/libwbxml/libwbxml-0.11.6.ebuild b/dev-libs/libwbxml/libwbxml-0.11.6.ebuild
index 5837b81e8f4f..928004f0e6b9 100644
--- a/dev-libs/libwbxml/libwbxml-0.11.6.ebuild
+++ b/dev-libs/libwbxml/libwbxml-0.11.6.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/expat
virtual/libiconv"
diff --git a/dev-libs/libyaml/libyaml-0.2.2.ebuild b/dev-libs/libyaml/libyaml-0.2.2.ebuild
index 494a1e0a54c2..a1c3a126a29a 100644
--- a/dev-libs/libyaml/libyaml-0.2.2.ebuild
+++ b/dev-libs/libyaml/libyaml-0.2.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-doc/doxygen )"
diff --git a/dev-libs/libzip/libzip-1.5.1.ebuild b/dev-libs/libzip/libzip-1.5.1.ebuild
index 666e8909c36c..e28826e21828 100644
--- a/dev-libs/libzip/libzip-1.5.1.ebuild
+++ b/dev-libs/libzip/libzip-1.5.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0/5"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="bzip2 doc gnutls libressl ssl static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="
sys-libs/zlib
diff --git a/dev-libs/libzip/libzip-1.5.2-r2.ebuild b/dev-libs/libzip/libzip-1.5.2-r2.ebuild
index 5a25f1c0cfb2..4c386426e347 100644
--- a/dev-libs/libzip/libzip-1.5.2-r2.ebuild
+++ b/dev-libs/libzip/libzip-1.5.2-r2.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0/5"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="bzip2 doc gnutls libressl mbedtls ssl static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="
sys-libs/zlib
diff --git a/dev-libs/log4cpp/log4cpp-1.1.3.ebuild b/dev-libs/log4cpp/log4cpp-1.1.3.ebuild
index 3dbdf540b638..2f4e7a389b17 100644
--- a/dev-libs/log4cpp/log4cpp-1.1.3.ebuild
+++ b/dev-libs/log4cpp/log4cpp-1.1.3.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0/5"
KEYWORDS="~amd64 ~arm ~ppc ~s390 ~x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
diff --git a/dev-libs/log4cpp/log4cpp-1.1.ebuild b/dev-libs/log4cpp/log4cpp-1.1.ebuild
index c2371180dd30..406828fdb425 100644
--- a/dev-libs/log4cpp/log4cpp-1.1.ebuild
+++ b/dev-libs/log4cpp/log4cpp-1.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=6
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0/5"
KEYWORDS="amd64 ~arm ppc s390 x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
diff --git a/dev-libs/msgpack/msgpack-1.1.0.ebuild b/dev-libs/msgpack/msgpack-1.1.0.ebuild
index d7c174ef7c5a..934638604a4a 100644
--- a/dev-libs/msgpack/msgpack-1.1.0.ebuild
+++ b/dev-libs/msgpack/msgpack-1.1.0.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="+cxx static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-libs/msgpack/msgpack-3.1.1.ebuild b/dev-libs/msgpack/msgpack-3.1.1.ebuild
index 9d401bce9590..9f05ddf33b7d 100644
--- a/dev-libs/msgpack/msgpack-3.1.1.ebuild
+++ b/dev-libs/msgpack/msgpack-3.1.1.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=7
@@ -18,6 +18,7 @@ HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/"
LICENSE="Boost-1.0"
SLOT="0/2"
IUSE="boost +cxx doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="boost? ( dev-libs/boost[context,${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
diff --git a/dev-libs/msgpack/msgpack-3.2.0.ebuild b/dev-libs/msgpack/msgpack-3.2.0.ebuild
index 877a72fa3be8..9f05ddf33b7d 100644
--- a/dev-libs/msgpack/msgpack-3.2.0.ebuild
+++ b/dev-libs/msgpack/msgpack-3.2.0.ebuild
@@ -18,6 +18,7 @@ HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/"
LICENSE="Boost-1.0"
SLOT="0/2"
IUSE="boost +cxx doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="boost? ( dev-libs/boost[context,${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
diff --git a/dev-libs/nettle/nettle-3.4.1.ebuild b/dev-libs/nettle/nettle-3.4.1.ebuild
index 6d2e54b033cd..60f774b7801a 100644
--- a/dev-libs/nettle/nettle-3.4.1.ebuild
+++ b/dev-libs/nettle/nettle-3.4.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="|| ( LGPL-3 LGPL-2.1 )"
SLOT="0/6.2" # subslot = libnettle soname version, .2 as broke ABI bug#601512 then fixed
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes"
+RESTRICT="!test? ( test )"
DEPEND="gmp? ( >=dev-libs/gmp-6.0:0=[static-libs?,${MULTILIB_USEDEP}] )"
RDEPEND="${DEPEND}"
diff --git a/dev-libs/nettle/nettle-3.5.1.ebuild b/dev-libs/nettle/nettle-3.5.1.ebuild
index 565e7dd9f5d9..9d9314d3edc2 100644
--- a/dev-libs/nettle/nettle-3.5.1.ebuild
+++ b/dev-libs/nettle/nettle-3.5.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="|| ( LGPL-3 LGPL-2.1 )"
SLOT="0/7" # subslot = libnettle soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes cpu_flags_x86_sha"
+RESTRICT="!test? ( test )"
DEPEND="gmp? ( >=dev-libs/gmp-6.0:0=[static-libs?,${MULTILIB_USEDEP}] )"
RDEPEND="${DEPEND}"
diff --git a/dev-libs/nsync/nsync-1.20.1.ebuild b/dev-libs/nsync/nsync-1.20.1.ebuild
index cd34bebab49d..c30d1d46e540 100644
--- a/dev-libs/nsync/nsync-1.20.1.ebuild
+++ b/dev-libs/nsync/nsync-1.20.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DOCS=( README )
diff --git a/dev-libs/ntl/ntl-10.5.0.ebuild b/dev-libs/ntl/ntl-10.5.0.ebuild
index 00821f04ef33..ebd6e909e886 100644
--- a/dev-libs/ntl/ntl-10.5.0.ebuild
+++ b/dev-libs/ntl/ntl-10.5.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=6
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
SLOT="0/35"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc static-libs test threads bindist"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/gmp:0=
>=dev-libs/gf2x-0.9"
diff --git a/dev-libs/ntl/ntl-9.3.0.ebuild b/dev-libs/ntl/ntl-9.3.0.ebuild
index 29ace84f8f4a..50bb3ea10db7 100644
--- a/dev-libs/ntl/ntl-9.3.0.ebuild
+++ b/dev-libs/ntl/ntl-9.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/gmp:=
>=dev-libs/gf2x-0.9"
diff --git a/dev-libs/ntl/ntl-9.6.4.ebuild b/dev-libs/ntl/ntl-9.6.4.ebuild
index 40c071f7ddbc..971d4e14c572 100644
--- a/dev-libs/ntl/ntl-9.6.4.ebuild
+++ b/dev-libs/ntl/ntl-9.6.4.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=6
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/gmp:0=
>=dev-libs/gf2x-0.9"
diff --git a/dev-libs/opensc/opensc-0.19.0-r2.ebuild b/dev-libs/opensc/opensc-0.19.0-r2.ebuild
index d3734d86e9f9..38f37ba9dd9a 100644
--- a/dev-libs/opensc/opensc-0.19.0-r2.ebuild
+++ b/dev-libs/opensc/opensc-0.19.0-r2.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ppc ppc64 ~s390 ~sh ~sparc x86"
IUSE="ctapi doc libressl openct notify +pcsc-lite readline secure-messaging ssl test zlib"
+RESTRICT="!test? ( test )"
RDEPEND="zlib? ( sys-libs/zlib )
readline? ( sys-libs/readline:0= )
diff --git a/dev-libs/pegtl/pegtl-1.3.1-r1.ebuild b/dev-libs/pegtl/pegtl-1.3.1-r1.ebuild
index 27485cd73385..7ea2419da502 100644
--- a/dev-libs/pegtl/pegtl-1.3.1-r1.ebuild
+++ b/dev-libs/pegtl/pegtl-1.3.1-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
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
diff --git a/dev-libs/pegtl/pegtl-2.0.0.ebuild b/dev-libs/pegtl/pegtl-2.0.0.ebuild
index ebadbdeda819..e597fab28ed1 100644
--- a/dev-libs/pegtl/pegtl-2.0.0.ebuild
+++ b/dev-libs/pegtl/pegtl-2.0.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=6
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
diff --git a/dev-libs/pegtl/pegtl-2.0_pre1.ebuild b/dev-libs/pegtl/pegtl-2.0_pre1.ebuild
index 30237ac2126a..1290e13ad05b 100644
--- a/dev-libs/pegtl/pegtl-2.0_pre1.ebuild
+++ b/dev-libs/pegtl/pegtl-2.0_pre1.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
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
diff --git a/dev-libs/pegtl/pegtl-2.1.4.ebuild b/dev-libs/pegtl/pegtl-2.1.4.ebuild
index ebadbdeda819..e597fab28ed1 100644
--- a/dev-libs/pegtl/pegtl-2.1.4.ebuild
+++ b/dev-libs/pegtl/pegtl-2.1.4.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
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
diff --git a/dev-libs/poco/poco-1.9.0-r2.ebuild b/dev-libs/poco/poco-1.9.0-r2.ebuild
index f2c9dd98dac6..c122dc9b1642 100644
--- a/dev-libs/poco/poco-1.9.0-r2.ebuild
+++ b/dev-libs/poco/poco-1.9.0-r2.ebuild
@@ -13,6 +13,7 @@ SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="7z cppparser +crypto +data examples +file2pagecompiler iodbc +json libressl mariadb +mongodb mysql +net odbc +pagecompiler pdf pocodoc sqlite +ssl test +util +xml +zip"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
7z? ( xml )
file2pagecompiler? ( pagecompiler )
diff --git a/dev-libs/processor-trace/processor-trace-1.6.1.ebuild b/dev-libs/processor-trace/processor-trace-1.6.1.ebuild
index 5e70a10ca37a..8d50273392c6 100644
--- a/dev-libs/processor-trace/processor-trace-1.6.1.ebuild
+++ b/dev-libs/processor-trace/processor-trace-1.6.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=6
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT=0
KEYWORDS="-* ~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-text/pandoc )"
diff --git a/dev-libs/processor-trace/processor-trace-1.6.2.ebuild b/dev-libs/processor-trace/processor-trace-1.6.2.ebuild
index 58e645476adf..8d50273392c6 100644
--- a/dev-libs/processor-trace/processor-trace-1.6.2.ebuild
+++ b/dev-libs/processor-trace/processor-trace-1.6.2.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"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-text/pandoc )"
diff --git a/dev-libs/processor-trace/processor-trace-2.0.ebuild b/dev-libs/processor-trace/processor-trace-2.0.ebuild
index 253935c1743f..9d3e61966693 100644
--- a/dev-libs/processor-trace/processor-trace-2.0.ebuild
+++ b/dev-libs/processor-trace/processor-trace-2.0.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/2"
KEYWORDS="-* ~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-text/pandoc )"
diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild b/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild
index 7c0ba929cee4..84e9cb58fae1 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD-2"
SLOT="0/1.0.0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="dev-libs/protobuf:0
virtual/pkgconfig[${MULTILIB_USEDEP}]"
diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild b/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild
index e666446a3b08..b53ee8f1a856 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD-2"
SLOT="0/1.0.0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="dev-libs/protobuf:0
virtual/pkgconfig[${MULTILIB_USEDEP}]"
diff --git a/dev-libs/qoauth/qoauth-2.0.1_pre20160315-r3.ebuild b/dev-libs/qoauth/qoauth-2.0.1_pre20160315-r3.ebuild
index 6e88c34a7a64..cfb89ca9cbaf 100644
--- a/dev-libs/qoauth/qoauth-2.0.1_pre20160315-r3.ebuild
+++ b/dev-libs/qoauth/qoauth-2.0.1_pre20160315-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
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="5"
KEYWORDS="amd64 ~ppc64 x86"
IUSE="debug doc test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="
app-crypt/qca:2[debug?,qt5(+)]
diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
index 31257f30dc02..89b31664240f 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.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
@@ -10,6 +10,7 @@ HOMEPAGE="http://rapidjson.org/"
LICENSE="MIT"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
index bd6b5e3e3671..f2c70a5e3612 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://rapidjson.org/"
LICENSE="MIT"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
diff --git a/dev-libs/rapidjson/rapidjson-1.1.0.ebuild b/dev-libs/rapidjson/rapidjson-1.1.0.ebuild
index 5d6d2183e515..ca44afce7199 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.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=6
@@ -10,6 +10,7 @@ HOMEPAGE="http://rapidjson.org/"
LICENSE="MIT"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
diff --git a/dev-libs/rapidjson/rapidjson-9999.ebuild b/dev-libs/rapidjson/rapidjson-9999.ebuild
index 392fbf7059fe..34b5854db22c 100644
--- a/dev-libs/rapidjson/rapidjson-9999.ebuild
+++ b/dev-libs/rapidjson/rapidjson-9999.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://rapidjson.org/"
LICENSE="MIT"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
diff --git a/dev-libs/rasqal/rasqal-0.9.33.ebuild b/dev-libs/rasqal/rasqal-0.9.33.ebuild
index 57b679ac91c6..fe950c90110d 100644
--- a/dev-libs/rasqal/rasqal-0.9.33.ebuild
+++ b/dev-libs/rasqal/rasqal-0.9.33.ebuild
@@ -13,6 +13,7 @@ LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+crypt gmp kernel_linux +mhash pcre static-libs test xml"
+RESTRICT="!test? ( test )"
RDEPEND="
>=media-libs/raptor-2.0.15
diff --git a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.6.0.ebuild b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.6.0.ebuild
index 6ab3d1073d10..944093474098 100644
--- a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.6.0.ebuild
+++ b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.6.0.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver"
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="sys-devel/llvm-roc:=
dev-libs/rocr-runtime"
diff --git a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.7.0.ebuild b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.7.0.ebuild
index e4e2818a7ed7..4d9d844cb8f2 100644
--- a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.7.0.ebuild
+++ b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.7.0.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver"
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sys-devel/llvm-roc-${PV}:=
>=dev-libs/rocr-runtime-${PV}"
diff --git a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild
index 31cc476dd0d3..976d316de6ab 100644
--- a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild
+++ b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver"
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sys-devel/llvm-roc-${PV}:=
>=dev-libs/rocr-runtime-${PV}"
diff --git a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild
index 31cc476dd0d3..976d316de6ab 100644
--- a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild
+++ b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver"
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sys-devel/llvm-roc-${PV}:=
>=dev-libs/rocr-runtime-${PV}"
diff --git a/dev-libs/serd/serd-0.28.0-r1.ebuild b/dev-libs/serd/serd-0.28.0-r1.ebuild
index 6b2f25739ab9..d3d37b89f09e 100644
--- a/dev-libs/serd/serd-0.28.0-r1.ebuild
+++ b/dev-libs/serd/serd-0.28.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sparc x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild b/dev-libs/softhsm/softhsm-2.5.0.ebuild
index c05dee21086a..c9d44cfbb66f 100644
--- a/dev-libs/softhsm/softhsm-2.5.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild
@@ -9,6 +9,7 @@ SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="bindist gost libressl migration-tool test"
+RESTRICT="!test? ( test )"
SLOT="2"
LICENSE="BSD"
diff --git a/dev-libs/sord/sord-0.16.0-r1.ebuild b/dev-libs/sord/sord-0.16.0-r1.ebuild
index de6e5be97a22..f6f3996f2d3d 100644
--- a/dev-libs/sord/sord-0.16.0-r1.ebuild
+++ b/dev-libs/sord/sord-0.16.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sparc x86"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/serd-0.28.0-r1"
DEPEND="${RDEPEND}
diff --git a/dev-libs/spdlog/spdlog-1.2.1.ebuild b/dev-libs/spdlog/spdlog-1.2.1.ebuild
index ceab2bad83e9..3d2b30260e2e 100644
--- a/dev-libs/spdlog/spdlog-1.2.1.ebuild
+++ b/dev-libs/spdlog/spdlog-1.2.1.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
@@ -19,6 +19,7 @@ fi
LICENSE="MIT"
SLOT="0/1"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-libs/libfmt:0/5
diff --git a/dev-libs/spdlog/spdlog-1.3.0.ebuild b/dev-libs/spdlog/spdlog-1.3.0.ebuild
index 497e7da9b419..d1e170a969e1 100644
--- a/dev-libs/spdlog/spdlog-1.3.0.ebuild
+++ b/dev-libs/spdlog/spdlog-1.3.0.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="MIT"
SLOT="0/1"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
>=dev-libs/libfmt-5.0.0
diff --git a/dev-libs/spdlog/spdlog-1.3.1.ebuild b/dev-libs/spdlog/spdlog-1.3.1.ebuild
index 4713c61feaba..ddf07aa21ca6 100644
--- a/dev-libs/spdlog/spdlog-1.3.1.ebuild
+++ b/dev-libs/spdlog/spdlog-1.3.1.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="MIT"
SLOT="0/1"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-libs/libfmt:0/5
diff --git a/dev-libs/spdlog/spdlog-9999.ebuild b/dev-libs/spdlog/spdlog-9999.ebuild
index a9cbb03ae992..3381d35fd4b5 100644
--- a/dev-libs/spdlog/spdlog-9999.ebuild
+++ b/dev-libs/spdlog/spdlog-9999.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="MIT"
SLOT="0/1"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
>=dev-libs/libfmt-5.0.0
diff --git a/dev-libs/squareball/squareball-0.2.0.ebuild b/dev-libs/squareball/squareball-0.2.0.ebuild
index ef32270e8cfd..42d531e38772 100644
--- a/dev-libs/squareball/squareball-0.2.0.ebuild
+++ b/dev-libs/squareball/squareball-0.2.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=6
@@ -23,6 +23,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="doc test static-libs"
+RESTRICT="!test? ( test )"
RDEPEND=""
diff --git a/dev-libs/squareball/squareball-9999.ebuild b/dev-libs/squareball/squareball-9999.ebuild
index ef32270e8cfd..42d531e38772 100644
--- a/dev-libs/squareball/squareball-9999.ebuild
+++ b/dev-libs/squareball/squareball-9999.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
@@ -23,6 +23,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="doc test static-libs"
+RESTRICT="!test? ( test )"
RDEPEND=""
diff --git a/dev-libs/stp/stp-2.3.3.ebuild b/dev-libs/stp/stp-2.3.3.ebuild
index df1fb807e5e4..a900384b2178 100644
--- a/dev-libs/stp/stp-2.3.3.ebuild
+++ b/dev-libs/stp/stp-2.3.3.ebuild
@@ -12,6 +12,7 @@ LICENSE="GPL-2+ MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="python static test"
+RESTRICT="!test? ( test )"
DEPEND="
sci-mathematics/minisat
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.3.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.3.ebuild
index 2e2c85339e86..ee9851afbf07 100644
--- a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.3.ebuild
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.3.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/"
LICENSE="LGPL-2+"
SLOT="0/18"
IUSE="archive crypt gtk-doc +introspection +quvi test"
+RESTRICT="!test? ( test )"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
RDEPEND="
diff --git a/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild
index a4eb9e36ebe7..b9927da76c91 100644
--- a/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild
+++ b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug doc test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-doc/doxygen )
test? ( dev-util/cppunit )"
diff --git a/dev-libs/udis86/udis86-1.7-r2.ebuild b/dev-libs/udis86/udis86-1.7-r2.ebuild
index 788849146dc2..130c1b7981a6 100644
--- a/dev-libs/udis86/udis86-1.7-r2.ebuild
+++ b/dev-libs/udis86/udis86-1.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ~ppc64 ~sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? (
amd64? ( dev-lang/yasm )
diff --git a/dev-libs/udis86/udis86-1.7.2.ebuild b/dev-libs/udis86/udis86-1.7.2.ebuild
index 25d81a928da1..f002f5148133 100644
--- a/dev-libs/udis86/udis86-1.7.2.ebuild
+++ b/dev-libs/udis86/udis86-1.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? (
amd64? ( dev-lang/yasm )
diff --git a/dev-libs/unittest++/unittest++-1.6.1.ebuild b/dev-libs/unittest++/unittest++-1.6.1.ebuild
index 7aeeae67d821..5bba0de8b8cc 100644
--- a/dev-libs/unittest++/unittest++-1.6.1.ebuild
+++ b/dev-libs/unittest++/unittest++-1.6.1.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=6
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-libs/unittest++/unittest++-2.0.0.ebuild b/dev-libs/unittest++/unittest++-2.0.0.ebuild
index ed98c39e6260..af6ca1612495 100644
--- a/dev-libs/unittest++/unittest++-2.0.0.ebuild
+++ b/dev-libs/unittest++/unittest++-2.0.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=6
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.10.1.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.10.1.ebuild
index 38ef33a68087..a2d12af12b2e 100644
--- a/dev-libs/userspace-rcu/userspace-rcu-0.10.1.ebuild
+++ b/dev-libs/userspace-rcu/userspace-rcu-0.10.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1"
SLOT="0/6" # subslot = soname version
KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ppc ppc64 ~sparc x86"
IUSE="static-libs regression-test test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( sys-process/time )"
diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.10.2.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.10.2.ebuild
index c0740d639c7f..981b27090047 100644
--- a/dev-libs/userspace-rcu/userspace-rcu-0.10.2.ebuild
+++ b/dev-libs/userspace-rcu/userspace-rcu-0.10.2.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1"
SLOT="0/6" # subslot = soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="static-libs regression-test test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( sys-process/time )"
diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.11.1.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.11.1.ebuild
index d69a055733c8..169f8cd28f1a 100644
--- a/dev-libs/userspace-rcu/userspace-rcu-0.11.1.ebuild
+++ b/dev-libs/userspace-rcu/userspace-rcu-0.11.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1"
SLOT="0/6" # subslot = soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="static-libs regression-test test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( sys-process/time )"
diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild
index 1df5f3e366fe..bc6d535ebc8c 100644
--- a/dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild
+++ b/dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0/4" # subslot = soname version
KEYWORDS="~alpha amd64 arm hppa ppc ppc64 x86"
IUSE="static-libs regression-test test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( sys-process/time )"
diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.9.2.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.9.2.ebuild
index 0169d3b94b72..6cbfcf9a4f55 100644
--- a/dev-libs/userspace-rcu/userspace-rcu-0.9.2.ebuild
+++ b/dev-libs/userspace-rcu/userspace-rcu-0.9.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0/4" # subslot = soname version
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="static-libs regression-test test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( sys-process/time )"
diff --git a/dev-libs/uthash/uthash-2.0.2.ebuild b/dev-libs/uthash/uthash-2.0.2.ebuild
index f0cf8cb9ad68..95707126da3f 100644
--- a/dev-libs/uthash/uthash-2.0.2.ebuild
+++ b/dev-libs/uthash/uthash-2.0.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD-1"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ~ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-lang/perl )"
RDEPEND=""
diff --git a/dev-libs/vc/vc-1.3.0.ebuild b/dev-libs/vc/vc-1.3.0.ebuild
index 36f0890c4fff..9de3bcbd57dd 100644
--- a/dev-libs/vc/vc-1.3.0.ebuild
+++ b/dev-libs/vc/vc-1.3.0.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
@@ -19,6 +19,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
src_unpack() {
default_src_unpack
diff --git a/dev-libs/vc/vc-1.3.3.ebuild b/dev-libs/vc/vc-1.3.3.ebuild
index cb16f01344d6..4118e6c931bb 100644
--- a/dev-libs/vc/vc-1.3.3.ebuild
+++ b/dev-libs/vc/vc-1.3.3.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
@@ -19,6 +19,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
src_unpack() {
default_src_unpack
diff --git a/dev-libs/volume_key/volume_key-0.3.12.ebuild b/dev-libs/volume_key/volume_key-0.3.12.ebuild
index 125cbd4b1be8..70e2b885b754 100644
--- a/dev-libs/volume_key/volume_key-0.3.12.ebuild
+++ b/dev-libs/volume_key/volume_key-0.3.12.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
diff --git a/dev-libs/weston/weston-3.0.0.ebuild b/dev-libs/weston/weston-3.0.0.ebuild
index a3061e69cc02..2a914c848f1e 100644
--- a/dev-libs/weston/weston-3.0.0.ebuild
+++ b/dev-libs/weston/weston-3.0.0.ebuild
@@ -26,6 +26,7 @@ LICENSE="MIT CC-BY-SA-3.0"
SLOT="0"
IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp +resize-optimization screen-sharing static-libs +suid systemd test unwind wayland-compositor webp +X xwayland"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
drm? ( gles2 )
diff --git a/dev-libs/weston/weston-7.0.0.ebuild b/dev-libs/weston/weston-7.0.0.ebuild
index e252e16ee999..bff2ce2e638a 100644
--- a/dev-libs/weston/weston-7.0.0.ebuild
+++ b/dev-libs/weston/weston-7.0.0.ebuild
@@ -26,6 +26,7 @@ LICENSE="MIT CC-BY-SA-3.0"
SLOT="0"
IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms pipewire rdp remoting +resize-optimization screen-sharing +suid systemd test wayland-compositor webp +X xwayland"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
colord? ( lcms )
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
index e252e16ee999..bff2ce2e638a 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -26,6 +26,7 @@ LICENSE="MIT CC-BY-SA-3.0"
SLOT="0"
IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms pipewire rdp remoting +resize-optimization screen-sharing +suid systemd test wayland-compositor webp +X xwayland"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
colord? ( lcms )
diff --git a/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild b/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild
index 1276aaf55f59..a800f146f65a 100644
--- a/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild
+++ b/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild
@@ -21,6 +21,7 @@ LICENSE="Apache-2.0"
SLOT="0"
IUSE="cpu_flags_x86_sse2 curl doc elibc_Darwin elibc_FreeBSD examples iconv icu static-libs test threads"
+RESTRICT="!test? ( test )"
RDEPEND="icu? ( dev-libs/icu:0= )
curl? ( net-misc/curl )
diff --git a/dev-libs/xerces-c/xerces-c-9999.ebuild b/dev-libs/xerces-c/xerces-c-9999.ebuild
index d431cd570770..58bfc849abd0 100644
--- a/dev-libs/xerces-c/xerces-c-9999.ebuild
+++ b/dev-libs/xerces-c/xerces-c-9999.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="Apache-2.0"
SLOT="0"
IUSE="cpu_flags_x86_sse2 curl doc elibc_Darwin elibc_FreeBSD examples iconv icu static-libs test threads"
+RESTRICT="!test? ( test )"
RDEPEND="icu? ( dev-libs/icu:0= )
curl? ( net-misc/curl )
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild
index a941bfed35c1..25571d06bc68 100644
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-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="4"
@@ -24,6 +24,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="abyss +cgi +curl +cxx +libxml2 static-libs threads test tools"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs abyss curl cxx ) tools? ( curl )"
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.39.11-r1.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.39.11-r1.ebuild
index 71bcbc4488e5..6179400429a6 100644
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.39.11-r1.ebuild
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.39.11-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
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="abyss +cgi +curl +cxx +libxml2 threads test tools"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( abyss curl cxx ) tools? ( curl )"
diff --git a/dev-libs/xmlsec/xmlsec-1.2.28.ebuild b/dev-libs/xmlsec/xmlsec-1.2.28.ebuild
index a47903e5571f..e81558aad10c 100644
--- a/dev-libs/xmlsec/xmlsec-1.2.28.ebuild
+++ b/dev-libs/xmlsec/xmlsec-1.2.28.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~sparc x86"
IUSE="doc gcrypt gnutls libressl nss +openssl static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( gcrypt gnutls nss openssl )
gnutls? ( gcrypt )"
diff --git a/dev-libs/xmlsec/xmlsec-1.2.29.ebuild b/dev-libs/xmlsec/xmlsec-1.2.29.ebuild
index 1785b858fc66..547b993cd220 100644
--- a/dev-libs/xmlsec/xmlsec-1.2.29.ebuild
+++ b/dev-libs/xmlsec/xmlsec-1.2.29.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc gcrypt gnutls libressl nss +openssl static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( gcrypt gnutls nss openssl )
gnutls? ( gcrypt )"
diff --git a/dev-libs/zlog/zlog-1.2.12-r1.ebuild b/dev-libs/zlog/zlog-1.2.12-r1.ebuild
index cd97f558f0b0..234c16b0954e 100644
--- a/dev-libs/zlog/zlog-1.2.12-r1.ebuild
+++ b/dev-libs/zlog/zlog-1.2.12-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="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/zlog_no_werr.patch"
diff --git a/dev-libs/zlog/zlog-1.2.12.ebuild b/dev-libs/zlog/zlog-1.2.12.ebuild
index be45a805faac..010e98c10de7 100644
--- a/dev-libs/zlog/zlog-1.2.12.ebuild
+++ b/dev-libs/zlog/zlog-1.2.12.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=6
@@ -13,6 +13,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
diff --git a/dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild b/dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild
index 50be8b701a08..e37688da99f4 100644
--- a/dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild
+++ b/dev-libs/zookeeper-c/zookeeper-c-3.4.10.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="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild b/dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild
index 5d004c8938b6..41d0ea16403d 100644
--- a/dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild
+++ b/dev-libs/zookeeper-c/zookeeper-c-3.4.8.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
@@ -11,6 +11,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild b/dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild
index 5d004c8938b6..41d0ea16403d 100644
--- a/dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild
+++ b/dev-libs/zookeeper-c/zookeeper-c-3.4.9.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
@@ -11,6 +11,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-libs/zziplib/zziplib-0.13.69.ebuild b/dev-libs/zziplib/zziplib-0.13.69.ebuild
index 2ce5760dafac..1292bc0fae04 100644
--- a/dev-libs/zziplib/zziplib-0.13.69.ebuild
+++ b/dev-libs/zziplib/zziplib-0.13.69.ebuild
@@ -15,6 +15,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc sdl static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/zlib