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-cpp
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-cpp')
-rw-r--r--dev-cpp/asio/asio-1.10.8.ebuild3
-rw-r--r--dev-cpp/asio/asio-1.12.2.ebuild1
-rw-r--r--dev-cpp/asio/asio-1.13.0.ebuild1
-rw-r--r--dev-cpp/asio/asio-1.14.0.ebuild1
-rw-r--r--dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild3
-rw-r--r--dev-cpp/gflags/gflags-2.2.0.ebuild1
-rw-r--r--dev-cpp/gflags/gflags-2.2.1-r1.ebuild1
-rw-r--r--dev-cpp/gflags/gflags-2.2.1.ebuild3
-rw-r--r--dev-cpp/gflags/gflags-9999.ebuild1
-rw-r--r--dev-cpp/glibmm/glibmm-2.56.1.ebuild1
-rw-r--r--dev-cpp/glibmm/glibmm-2.58.1.ebuild1
-rw-r--r--dev-cpp/glibmm/glibmm-2.60.0.ebuild1
-rw-r--r--dev-cpp/glibmm/glibmm-2.60.1.ebuild1
-rw-r--r--dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild3
-rw-r--r--dev-cpp/gtest/gtest-1.10.0.ebuild1
-rw-r--r--dev-cpp/gtest/gtest-1.8.0-r1.ebuild1
-rw-r--r--dev-cpp/gtest/gtest-1.8.0.ebuild1
-rw-r--r--dev-cpp/gtest/gtest-1.8.1-r1.ebuild1
-rw-r--r--dev-cpp/gtest/gtest-1.8.1.ebuild1
-rw-r--r--dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild1
-rw-r--r--dev-cpp/gtest/gtest-9999.ebuild1
-rw-r--r--dev-cpp/gtkmm/gtkmm-2.24.5.ebuild3
-rw-r--r--dev-cpp/gtkmm/gtkmm-3.24.0.ebuild1
-rw-r--r--dev-cpp/gtkmm/gtkmm-3.24.1.ebuild1
-rw-r--r--dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild1
-rw-r--r--dev-cpp/ms-gsl/ms-gsl-9999.ebuild1
-rw-r--r--dev-cpp/muParser/muParser-2.2.5.ebuild3
-rw-r--r--dev-cpp/muParser/muParser-2.2.6.1.ebuild1
-rw-r--r--dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild1
-rw-r--r--dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild3
30 files changed, 37 insertions, 7 deletions
diff --git a/dev-cpp/asio/asio-1.10.8.ebuild b/dev-cpp/asio/asio-1.10.8.ebuild
index 6510f168fcde..24b561fdb47f 100644
--- a/dev-cpp/asio/asio-1.10.8.ebuild
+++ b/dev-cpp/asio/asio-1.10.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
@@ -11,6 +11,7 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
IUSE="doc examples ssl test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/boost
ssl? ( dev-libs/openssl:0= )"
diff --git a/dev-cpp/asio/asio-1.12.2.ebuild b/dev-cpp/asio/asio-1.12.2.ebuild
index fe556e8cbee7..effe4bef8029 100644
--- a/dev-cpp/asio/asio-1.12.2.ebuild
+++ b/dev-cpp/asio/asio-1.12.2.ebuild
@@ -11,6 +11,7 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples libressl ssl test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/boost
ssl? (
diff --git a/dev-cpp/asio/asio-1.13.0.ebuild b/dev-cpp/asio/asio-1.13.0.ebuild
index fe556e8cbee7..effe4bef8029 100644
--- a/dev-cpp/asio/asio-1.13.0.ebuild
+++ b/dev-cpp/asio/asio-1.13.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples libressl ssl test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/boost
ssl? (
diff --git a/dev-cpp/asio/asio-1.14.0.ebuild b/dev-cpp/asio/asio-1.14.0.ebuild
index 3b20269b8550..3752e9422096 100644
--- a/dev-cpp/asio/asio-1.14.0.ebuild
+++ b/dev-cpp/asio/asio-1.14.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
IUSE="doc examples libressl ssl test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/boost
ssl? (
diff --git a/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild
index 8861488d02b2..752c94b6d592 100644
--- a/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild
+++ b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-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="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm hppa ppc ppc64 sparc x86"
IUSE="debug test"
+RESTRICT="!test? ( test )"
DEPEND="
>=sys-devel/gcc-4.9.3:*
diff --git a/dev-cpp/gflags/gflags-2.2.0.ebuild b/dev-cpp/gflags/gflags-2.2.0.ebuild
index 082603bc4fe7..f66d07061871 100644
--- a/dev-cpp/gflags/gflags-2.2.0.ebuild
+++ b/dev-cpp/gflags/gflags-2.2.0.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/"
LICENSE="BSD"
SLOT="0/2.2"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
# AUTHORS.txt only links the google group
DOCS=( ChangeLog.txt README.md )
diff --git a/dev-cpp/gflags/gflags-2.2.1-r1.ebuild b/dev-cpp/gflags/gflags-2.2.1-r1.ebuild
index 0bce0bfcd8d3..ba91e0c6d750 100644
--- a/dev-cpp/gflags/gflags-2.2.1-r1.ebuild
+++ b/dev-cpp/gflags/gflags-2.2.1-r1.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/"
LICENSE="BSD"
SLOT="0/2.2"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
# AUTHORS.txt only links the google group
DOCS=( ChangeLog.txt README.md )
diff --git a/dev-cpp/gflags/gflags-2.2.1.ebuild b/dev-cpp/gflags/gflags-2.2.1.ebuild
index 91f405e1e9bf..5db328953269 100644
--- a/dev-cpp/gflags/gflags-2.2.1.ebuild
+++ b/dev-cpp/gflags/gflags-2.2.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"
@@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/"
LICENSE="BSD"
SLOT="0/2.2"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
# AUTHORS.txt only links the google group
DOCS=( ChangeLog.txt README.md )
diff --git a/dev-cpp/gflags/gflags-9999.ebuild b/dev-cpp/gflags/gflags-9999.ebuild
index 95cd79c7ef3d..60c68630cba3 100644
--- a/dev-cpp/gflags/gflags-9999.ebuild
+++ b/dev-cpp/gflags/gflags-9999.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/"
LICENSE="BSD"
SLOT="0/2.2"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
# AUTHORS.txt only links the google group
DOCS=( ChangeLog.txt README.md )
diff --git a/dev-cpp/glibmm/glibmm-2.56.1.ebuild b/dev-cpp/glibmm/glibmm-2.56.1.ebuild
index 9aa4cc3775ee..a83a68fec04d 100644
--- a/dev-cpp/glibmm/glibmm-2.56.1.ebuild
+++ b/dev-cpp/glibmm/glibmm-2.56.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
SLOT="2"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc debug test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
diff --git a/dev-cpp/glibmm/glibmm-2.58.1.ebuild b/dev-cpp/glibmm/glibmm-2.58.1.ebuild
index 98e37553fd8a..a9698a9ca848 100644
--- a/dev-cpp/glibmm/glibmm-2.58.1.ebuild
+++ b/dev-cpp/glibmm/glibmm-2.58.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
SLOT="2"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc debug test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
diff --git a/dev-cpp/glibmm/glibmm-2.60.0.ebuild b/dev-cpp/glibmm/glibmm-2.60.0.ebuild
index d742fe267822..ce57fc6e0e53 100644
--- a/dev-cpp/glibmm/glibmm-2.60.0.ebuild
+++ b/dev-cpp/glibmm/glibmm-2.60.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc debug test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
diff --git a/dev-cpp/glibmm/glibmm-2.60.1.ebuild b/dev-cpp/glibmm/glibmm-2.60.1.ebuild
index 3b51cdd041bf..b119a2d526a0 100644
--- a/dev-cpp/glibmm/glibmm-2.60.1.ebuild
+++ b/dev-cpp/glibmm/glibmm-2.60.1.ebuild
@@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
SLOT="2"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc debug test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
diff --git a/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild b/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild
index 42aeb6b51580..6fdef7109be2 100644
--- a/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild
+++ b/dev-cpp/gstreamermm/gstreamermm-1.10.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="LGPL-2.1"
SLOT="1.0/1"
KEYWORDS="amd64 ~ppc x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=media-libs/gstreamer-${PV}:1.0
diff --git a/dev-cpp/gtest/gtest-1.10.0.ebuild b/dev-cpp/gtest/gtest-1.10.0.ebuild
index 2a75dd1da0e7..98d67d92032c 100644
--- a/dev-cpp/gtest/gtest-1.10.0.ebuild
+++ b/dev-cpp/gtest/gtest-1.10.0.ebuild
@@ -30,6 +30,7 @@ HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="!dev-cpp/gmock"
diff --git a/dev-cpp/gtest/gtest-1.8.0-r1.ebuild b/dev-cpp/gtest/gtest-1.8.0-r1.ebuild
index 7ab8e27afd9f..76673187e002 100644
--- a/dev-cpp/gtest/gtest-1.8.0-r1.ebuild
+++ b/dev-cpp/gtest/gtest-1.8.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="!dev-cpp/gmock"
diff --git a/dev-cpp/gtest/gtest-1.8.0.ebuild b/dev-cpp/gtest/gtest-1.8.0.ebuild
index dff3323368d5..9f7ffbdb9aea 100644
--- a/dev-cpp/gtest/gtest-1.8.0.ebuild
+++ b/dev-cpp/gtest/gtest-1.8.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="!dev-cpp/gmock"
diff --git a/dev-cpp/gtest/gtest-1.8.1-r1.ebuild b/dev-cpp/gtest/gtest-1.8.1-r1.ebuild
index 32cb3eac1b66..771468eb8b67 100644
--- a/dev-cpp/gtest/gtest-1.8.1-r1.ebuild
+++ b/dev-cpp/gtest/gtest-1.8.1-r1.ebuild
@@ -23,6 +23,7 @@ HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="!dev-cpp/gmock"
diff --git a/dev-cpp/gtest/gtest-1.8.1.ebuild b/dev-cpp/gtest/gtest-1.8.1.ebuild
index 38ae957597e6..a8cdd6890e66 100644
--- a/dev-cpp/gtest/gtest-1.8.1.ebuild
+++ b/dev-cpp/gtest/gtest-1.8.1.ebuild
@@ -23,6 +23,7 @@ HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="!dev-cpp/gmock"
diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild
index daa2e778fbe4..9a6cb10a49fd 100644
--- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild
+++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild
@@ -30,6 +30,7 @@ HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="!dev-cpp/gmock"
diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
index ccb2185df0ae..2fdd8d6bb364 100644
--- a/dev-cpp/gtest/gtest-9999.ebuild
+++ b/dev-cpp/gtest/gtest-9999.ebuild
@@ -28,6 +28,7 @@ HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="!dev-cpp/gmock"
diff --git a/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild b/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild
index 93b4807719ef..9393d4bdc7f9 100644
--- a/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild
+++ b/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ LICENSE="LGPL-2.1+"
SLOT="2.4"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-cpp/glibmm-2.34.1:2[${MULTILIB_USEDEP}]
diff --git a/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild b/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild
index ce9bc8b7fbf5..9020381f2cc7 100644
--- a/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild
+++ b/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild
@@ -12,6 +12,7 @@ SLOT="3.0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="aqua doc test wayland X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( aqua wayland X )"
RDEPEND="
diff --git a/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild b/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild
index c4b1fe49fcf2..fc75f17ec2dd 100644
--- a/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild
+++ b/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild
@@ -12,6 +12,7 @@ SLOT="3.0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="aqua doc test wayland X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( aqua wayland X )"
RDEPEND="
diff --git a/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild
index 5eccf76caa0d..a9ddc632488d 100644
--- a/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild
+++ b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# header only library
RDEPEND=""
diff --git a/dev-cpp/ms-gsl/ms-gsl-9999.ebuild b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild
index 3568adaea6b7..767d0523e267 100644
--- a/dev-cpp/ms-gsl/ms-gsl-9999.ebuild
+++ b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
# header only library
RDEPEND=""
diff --git a/dev-cpp/muParser/muParser-2.2.5.ebuild b/dev-cpp/muParser/muParser-2.2.5.ebuild
index 3dffdc7b4749..6e70ecf5770c 100644
--- a/dev-cpp/muParser/muParser-2.2.5.ebuild
+++ b/dev-cpp/muParser/muParser-2.2.5.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"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
S=${WORKDIR}/muparser-${PV}
diff --git a/dev-cpp/muParser/muParser-2.2.6.1.ebuild b/dev-cpp/muParser/muParser-2.2.6.1.ebuild
index a19668ce09b1..6e70ecf5770c 100644
--- a/dev-cpp/muParser/muParser-2.2.6.1.ebuild
+++ b/dev-cpp/muParser/muParser-2.2.6.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
S=${WORKDIR}/muparser-${PV}
diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild b/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild
index 583d0ff52fc5..d7e7355ddcf4 100644
--- a/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild
+++ b/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="doc? ( app-doc/doxygen )"
diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index 48edca1378e0..627ca917b845 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/0.6"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-cpp/gtest )"