summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Fiona/Fiona-1.5.1.ebuild1
-rw-r--r--sci-libs/Fiona/Fiona-1.7.6.ebuild1
-rw-r--r--sci-libs/Fiona/Fiona-9999.ebuild1
-rw-r--r--sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild3
-rw-r--r--sci-libs/Shapely/Shapely-1.3.0.ebuild1
-rw-r--r--sci-libs/Shapely/Shapely-1.3.2.ebuild1
-rw-r--r--sci-libs/Shapely/Shapely-1.5.17-r1.ebuild1
-rw-r--r--sci-libs/Shapely/Shapely-1.5.17.ebuild1
-rw-r--r--sci-libs/Shapely/Shapely-1.6.4_p2.ebuild1
-rw-r--r--sci-libs/Shapely/Shapely-9999.ebuild1
-rw-r--r--sci-libs/alglib/alglib-3.10.0-r1.ebuild3
-rw-r--r--sci-libs/armadillo/armadillo-8.300.2.ebuild3
-rw-r--r--sci-libs/armadillo/armadillo-9.200.5.ebuild3
-rw-r--r--sci-libs/armadillo/armadillo-9.200.6.ebuild3
-rw-r--r--sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180415.ebuild3
-rw-r--r--sci-libs/cantera/cantera-2.4.0-r1.ebuild1
-rw-r--r--sci-libs/cantera/cantera-2.4.0-r2.ebuild1
-rw-r--r--sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild3
-rw-r--r--sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild1
-rw-r--r--sci-libs/cgnslib/cgnslib-3.3.0.ebuild3
-rw-r--r--sci-libs/cgnslib/cgnslib-3.4.0.ebuild1
-rw-r--r--sci-libs/clblas/clblas-2.10.ebuild1
-rw-r--r--sci-libs/clblast/clblast-0.10.0.ebuild3
-rw-r--r--sci-libs/cminpack/cminpack-1.3.5.ebuild3
-rw-r--r--sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild3
-rw-r--r--sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild3
-rw-r--r--sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild3
-rw-r--r--sci-libs/coinor-bcps/coinor-bcps-0.93.10.ebuild3
-rw-r--r--sci-libs/coinor-blis/coinor-blis-0.93.10.ebuild3
-rw-r--r--sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild3
-rw-r--r--sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild3
-rw-r--r--sci-libs/coinor-cgl/coinor-cgl-0.58.6.ebuild3
-rw-r--r--sci-libs/coinor-clp/coinor-clp-1.15.6-r1.ebuild3
-rw-r--r--sci-libs/coinor-couenne/coinor-couenne-0.4.7.ebuild3
-rw-r--r--sci-libs/coinor-dip/coinor-dip-0.9.8.ebuild3
-rw-r--r--sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild3
-rw-r--r--sci-libs/coinor-os/coinor-os-2.10.1.ebuild3
-rw-r--r--sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild3
-rw-r--r--sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild3
-rw-r--r--sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild3
-rw-r--r--sci-libs/coinor-utils/coinor-utils-2.9.11.ebuild3
-rw-r--r--sci-libs/coinor-vol/coinor-vol-1.4.4.ebuild3
-rw-r--r--sci-libs/dlib/dlib-19.16.ebuild1
-rw-r--r--sci-libs/dlib/dlib-19.7.ebuild3
-rw-r--r--sci-libs/dlib/dlib-19.9.ebuild1
-rw-r--r--sci-libs/dmlc-core/dmlc-core-0_p20170719.ebuild3
-rw-r--r--sci-libs/exodusii/exodusii-6.09.ebuild3
-rw-r--r--sci-libs/fftw/fftw-3.3.6_p2.ebuild1
-rw-r--r--sci-libs/fftw/fftw-3.3.8.ebuild1
-rw-r--r--sci-libs/fftw/fftw-9999.ebuild1
-rw-r--r--sci-libs/hdf/hdf-4.2.11.ebuild3
-rw-r--r--sci-libs/hdf/hdf-4.2.13-r1.ebuild3
-rw-r--r--sci-libs/hdf/hdf-4.2.13.ebuild3
-rw-r--r--sci-libs/indilib/indilib-1.7.5.ebuild1
-rw-r--r--sci-libs/ipopt/ipopt-3.11.7.ebuild3
-rw-r--r--sci-libs/ipopt/ipopt-3.11.8.ebuild3
-rw-r--r--sci-libs/lemon/lemon-1.3.1.ebuild3
-rw-r--r--sci-libs/levmar/levmar-2.6.ebuild3
-rw-r--r--sci-libs/libcerf/libcerf-1.5.ebuild1
-rw-r--r--sci-libs/libdap/libdap-3.18.1.ebuild3
-rw-r--r--sci-libs/libsigrok/libsigrok-0.3.0.ebuild3
-rw-r--r--sci-libs/libsigrok/libsigrok-0.4.0.ebuild1
-rw-r--r--sci-libs/libsigrok/libsigrok-0.5.1.ebuild1
-rw-r--r--sci-libs/libsigrok/libsigrok-9999.ebuild1
-rw-r--r--sci-libs/netcdf/netcdf-4.3.2-r1.ebuild3
-rw-r--r--sci-libs/netcdf/netcdf-4.6.1-r1.ebuild3
-rw-r--r--sci-libs/netcdf/netcdf-4.6.1.ebuild3
-rw-r--r--sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild3
-rw-r--r--sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild3
-rw-r--r--sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild3
-rw-r--r--sci-libs/orocos_kdl/orocos_kdl-9999.ebuild3
-rw-r--r--sci-libs/pcl/pcl-1.9.1.ebuild3
-rw-r--r--sci-libs/pcl/pcl-9999.ebuild3
-rw-r--r--sci-libs/proj/proj-6.2.0.ebuild1
-rw-r--r--sci-libs/scalapack/scalapack-2.0.2-r1.ebuild3
-rw-r--r--sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild1
-rw-r--r--sci-libs/scikits_image/scikits_image-0.13.0.ebuild1
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild1
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.17.ebuild1
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild1
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild1
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild1
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.19.0-r1.ebuild1
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild1
-rw-r--r--sci-libs/scipy/scipy-0.16.1.ebuild1
-rw-r--r--sci-libs/scipy/scipy-0.18.1.ebuild1
-rw-r--r--sci-libs/scipy/scipy-0.19.1.ebuild1
-rw-r--r--sci-libs/scipy/scipy-1.0.0.ebuild1
-rw-r--r--sci-libs/scipy/scipy-1.1.0.ebuild1
-rw-r--r--sci-libs/scipy/scipy-9999.ebuild1
-rw-r--r--sci-libs/shogun/shogun-5.0.0.ebuild1
-rw-r--r--sci-libs/silo/silo-4.10.2-r1.ebuild3
-rw-r--r--sci-libs/superlu/superlu-4.3-r1.ebuild1
-rw-r--r--sci-libs/superlu/superlu-5.2.1-r1.ebuild1
-rw-r--r--sci-libs/superlu_mt/superlu_mt-3.1.ebuild3
-rw-r--r--sci-libs/symengine/symengine-0.3.0-r1.ebuild3
-rw-r--r--sci-libs/symengine/symengine-0.4.0.ebuild1
-rw-r--r--sci-libs/xdmf2/xdmf2-1.0_p141226-r3.ebuild3
98 files changed, 152 insertions, 54 deletions
diff --git a/sci-libs/Fiona/Fiona-1.5.1.ebuild b/sci-libs/Fiona/Fiona-1.5.1.ebuild
index 9e34142e9a7..c44224221cd 100644
--- a/sci-libs/Fiona/Fiona-1.5.1.ebuild
+++ b/sci-libs/Fiona/Fiona-1.5.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=sci-libs/gdal-1.8
diff --git a/sci-libs/Fiona/Fiona-1.7.6.ebuild b/sci-libs/Fiona/Fiona-1.7.6.ebuild
index 9ccb3bf929c..fd620611927 100644
--- a/sci-libs/Fiona/Fiona-1.7.6.ebuild
+++ b/sci-libs/Fiona/Fiona-1.7.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=sci-libs/gdal-1.8
diff --git a/sci-libs/Fiona/Fiona-9999.ebuild b/sci-libs/Fiona/Fiona-9999.ebuild
index f2ba00a0828..209aabe3866 100644
--- a/sci-libs/Fiona/Fiona-9999.ebuild
+++ b/sci-libs/Fiona/Fiona-9999.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=sci-libs/gdal-1.8
diff --git a/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild b/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild
index 2c31f17d56b..13fa6bf7226 100644
--- a/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild
+++ b/sci-libs/Rtree/Rtree-0.8.3_p20180802.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"
@@ -16,6 +16,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="sci-libs/libspatialindex"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/sci-libs/Shapely/Shapely-1.3.0.ebuild b/sci-libs/Shapely/Shapely-1.3.0.ebuild
index 4d072d5665d..4ea83ff68b9 100644
--- a/sci-libs/Shapely/Shapely-1.3.0.ebuild
+++ b/sci-libs/Shapely/Shapely-1.3.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sci-libs/geos-3.1"
DEPEND="${RDEPEND}
diff --git a/sci-libs/Shapely/Shapely-1.3.2.ebuild b/sci-libs/Shapely/Shapely-1.3.2.ebuild
index 4d072d5665d..4ea83ff68b9 100644
--- a/sci-libs/Shapely/Shapely-1.3.2.ebuild
+++ b/sci-libs/Shapely/Shapely-1.3.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sci-libs/geos-3.1"
DEPEND="${RDEPEND}
diff --git a/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild b/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild
index be87714e130..10f755d4cc3 100644
--- a/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild
+++ b/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild
@@ -22,6 +22,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sci-libs/geos-3.3
dev-python/numpy[${PYTHON_USEDEP}]"
diff --git a/sci-libs/Shapely/Shapely-1.5.17.ebuild b/sci-libs/Shapely/Shapely-1.5.17.ebuild
index 9a95905ea01..a6993a3d6fc 100644
--- a/sci-libs/Shapely/Shapely-1.5.17.ebuild
+++ b/sci-libs/Shapely/Shapely-1.5.17.ebuild
@@ -21,6 +21,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sci-libs/geos-3.1"
DEPEND="${RDEPEND}
diff --git a/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild
index 107d9d9c717..7b76620b730 100644
--- a/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild
+++ b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild
@@ -24,6 +24,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sci-libs/geos-3.3
dev-python/numpy[${PYTHON_USEDEP}]"
diff --git a/sci-libs/Shapely/Shapely-9999.ebuild b/sci-libs/Shapely/Shapely-9999.ebuild
index 9ae0eb5cd35..30efef7c686 100644
--- a/sci-libs/Shapely/Shapely-9999.ebuild
+++ b/sci-libs/Shapely/Shapely-9999.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sci-libs/geos-3.1"
DEPEND="${RDEPEND}
diff --git a/sci-libs/alglib/alglib-3.10.0-r1.ebuild b/sci-libs/alglib/alglib-3.10.0-r1.ebuild
index 43f3eacc350..0c87b718bd2 100644
--- a/sci-libs/alglib/alglib-3.10.0-r1.ebuild
+++ b/sci-libs/alglib/alglib-3.10.0-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 @@ SLOT="0/3.8"
LICENSE="GPL-2+"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}"/cpp/
diff --git a/sci-libs/armadillo/armadillo-8.300.2.ebuild b/sci-libs/armadillo/armadillo-8.300.2.ebuild
index c903169e984..1ff6d1fd7a2 100644
--- a/sci-libs/armadillo/armadillo-8.300.2.ebuild
+++ b/sci-libs/armadillo/armadillo-8.300.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
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0/8"
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="arpack blas debug doc examples hdf5 lapack mkl superlu tbb test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( lapack )"
# atlas? ( sci-libs/atlas[lapack] )
diff --git a/sci-libs/armadillo/armadillo-9.200.5.ebuild b/sci-libs/armadillo/armadillo-9.200.5.ebuild
index 9cd79ff39d6..06e6051e920 100644
--- a/sci-libs/armadillo/armadillo-9.200.5.ebuild
+++ b/sci-libs/armadillo/armadillo-9.200.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
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0/9"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="arpack blas debug doc examples hdf5 lapack mkl superlu tbb test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( lapack )"
# atlas? ( sci-libs/atlas[lapack] )
diff --git a/sci-libs/armadillo/armadillo-9.200.6.ebuild b/sci-libs/armadillo/armadillo-9.200.6.ebuild
index c0be49813cf..eb5ccd3061d 100644
--- a/sci-libs/armadillo/armadillo-9.200.6.ebuild
+++ b/sci-libs/armadillo/armadillo-9.200.6.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
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0/9"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="arpack blas doc examples hdf5 lapack mkl superlu test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( lapack )"
# atlas? ( sci-libs/atlas[lapack] )
diff --git a/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180415.ebuild b/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180415.ebuild
index 0936e94a44c..f27d9ea8207 100644
--- a/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180415.ebuild
+++ b/sci-libs/avogadrolibs/avogadrolibs-1.91.0_pre20180415.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
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD GPL-2+"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="archive doc hdf5 qt5 static-plugins test vtk"
+RESTRICT="!test? ( test )"
REQUIRED_USE="vtk? ( qt5 )"
diff --git a/sci-libs/cantera/cantera-2.4.0-r1.ebuild b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
index c277d8d01c6..2242246e367 100644
--- a/sci-libs/cantera/cantera-2.4.0-r1.ebuild
+++ b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cti fortran pch +python test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
python? ( cti )
diff --git a/sci-libs/cantera/cantera-2.4.0-r2.ebuild b/sci-libs/cantera/cantera-2.4.0-r2.ebuild
index 2d69f8d348c..2f6a8909150 100644
--- a/sci-libs/cantera/cantera-2.4.0-r2.ebuild
+++ b/sci-libs/cantera/cantera-2.4.0-r2.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cti fortran pch +python test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
python? ( cti )
diff --git a/sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild b/sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild
index 28e2a35d321..cfcd2588d25 100644
--- a/sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild
+++ b/sci-libs/ceres-solver/ceres-solver-1.11.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="sparse? ( BSD ) !sparse? ( LGPL-2.1 ) cxsparse? ( BSD )"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cxsparse c++11 doc examples gflags lapack openmp +schur sparse test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( gflags ) sparse? ( lapack ) abi_x86_32? ( !sparse !lapack )"
diff --git a/sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild b/sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild
index e2f4c1ef081..225ebefda32 100644
--- a/sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild
+++ b/sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="sparse? ( BSD ) !sparse? ( LGPL-2.1 ) cxsparse? ( BSD )"
SLOT="0/1"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cxsparse c++11 doc examples gflags lapack openmp +schur sparse test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( gflags ) sparse? ( lapack ) abi_x86_32? ( !sparse !lapack )"
diff --git a/sci-libs/cgnslib/cgnslib-3.3.0.ebuild b/sci-libs/cgnslib/cgnslib-3.3.0.ebuild
index e3e6d2d56d9..3d8fd059480 100644
--- a/sci-libs/cgnslib/cgnslib-3.3.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-3.3.0.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="ZLIB"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples fortran hdf5 legacy mpi static-libs szip test tools"
+RESTRICT="!test? ( test )"
RDEPEND="hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
tools? (
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
index 2358691f512..e5889cb043a 100644
--- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="ZLIB"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples fortran hdf5 legacy mpi static-libs szip test tools"
+RESTRICT="!test? ( test )"
RDEPEND="hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
tools? (
diff --git a/sci-libs/clblas/clblas-2.10.ebuild b/sci-libs/clblas/clblas-2.10.ebuild
index c7e12732bda..c9341e091ed 100644
--- a/sci-libs/clblas/clblas-2.10.ebuild
+++ b/sci-libs/clblas/clblas-2.10.ebuild
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
SLOT="0/2" # soname version
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="+client doc examples ktest performance test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )"
diff --git a/sci-libs/clblast/clblast-0.10.0.ebuild b/sci-libs/clblast/clblast-0.10.0.ebuild
index 0327840fce5..6d0652b6e78 100644
--- a/sci-libs/clblast/clblast-0.10.0.ebuild
+++ b/sci-libs/clblast/clblast-0.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
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="client doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="virtual/opencl"
DEPEND="${RDEPEND}
diff --git a/sci-libs/cminpack/cminpack-1.3.5.ebuild b/sci-libs/cminpack/cminpack-1.3.5.ebuild
index 7e59ab588ee..6314fdf3354 100644
--- a/sci-libs/cminpack/cminpack-1.3.5.ebuild
+++ b/sci-libs/cminpack/cminpack-1.3.5.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="minpack"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}"/${P}-underlinking.patch )
diff --git a/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild b/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild
index 0d32e561166..4376c5b2118 100644
--- a/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild
+++ b/sci-libs/coinor-alps/coinor-alps-1.4.9.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
@@ -15,6 +15,7 @@ LICENSE="CPL-1.0"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-utils:=
diff --git a/sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild b/sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild
index 3418b1c2bf7..67200c6dd07 100644
--- a/sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild
+++ b/sci-libs/coinor-alps/coinor-alps-1.5.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
@@ -15,6 +15,7 @@ LICENSE="CPL-1.0"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-utils:=
diff --git a/sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild b/sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild
index 69080269d02..3d6c69d92d7 100644
--- a/sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild
+++ b/sci-libs/coinor-bcp/coinor-bcp-1.3.8.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
@@ -15,6 +15,7 @@ LICENSE="CPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-cgl:=
diff --git a/sci-libs/coinor-bcps/coinor-bcps-0.93.10.ebuild b/sci-libs/coinor-bcps/coinor-bcps-0.93.10.ebuild
index f9333455ef1..6e388e55c64 100644
--- a/sci-libs/coinor-bcps/coinor-bcps-0.93.10.ebuild
+++ b/sci-libs/coinor-bcps/coinor-bcps-0.93.10.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
@@ -15,6 +15,7 @@ LICENSE="CPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-utils:=
diff --git a/sci-libs/coinor-blis/coinor-blis-0.93.10.ebuild b/sci-libs/coinor-blis/coinor-blis-0.93.10.ebuild
index 4456ac2e0b3..3757864db1e 100644
--- a/sci-libs/coinor-blis/coinor-blis-0.93.10.ebuild
+++ b/sci-libs/coinor-blis/coinor-blis-0.93.10.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
@@ -15,6 +15,7 @@ LICENSE="CPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-utils:=
diff --git a/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild b/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild
index 0523a6cf608..fb052c19bcd 100644
--- a/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild
+++ b/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.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
@@ -15,6 +15,7 @@ LICENSE="CPL-1.0"
SLOT="0/4"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples glpk static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-cbc:=
diff --git a/sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild b/sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild
index c820c9d2def..14beedc5d08 100644
--- a/sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild
+++ b/sci-libs/coinor-cbc/coinor-cbc-2.8.9.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-clp:=
diff --git a/sci-libs/coinor-cgl/coinor-cgl-0.58.6.ebuild b/sci-libs/coinor-cgl/coinor-cgl-0.58.6.ebuild
index d165c14a2d7..8b038be15c7 100644
--- a/sci-libs/coinor-cgl/coinor-cgl-0.58.6.ebuild
+++ b/sci-libs/coinor-cgl/coinor-cgl-0.58.6.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-clp:=
diff --git a/sci-libs/coinor-clp/coinor-clp-1.15.6-r1.ebuild b/sci-libs/coinor-clp/coinor-clp-1.15.6-r1.ebuild
index 7bcb4e61b3a..77b81b3997d 100644
--- a/sci-libs/coinor-clp/coinor-clp-1.15.6-r1.ebuild
+++ b/sci-libs/coinor-clp/coinor-clp-1.15.6-r1.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples glpk metis mumps sparse static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-osi:=
diff --git a/sci-libs/coinor-couenne/coinor-couenne-0.4.7.ebuild b/sci-libs/coinor-couenne/coinor-couenne-0.4.7.ebuild
index bff10000949..02c94288b5a 100644
--- a/sci-libs/coinor-couenne/coinor-couenne-0.4.7.ebuild
+++ b/sci-libs/coinor-couenne/coinor-couenne-0.4.7.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="sci-libs/coinor-bonmin:="
DEPEND="${RDEPEND}
diff --git a/sci-libs/coinor-dip/coinor-dip-0.9.8.ebuild b/sci-libs/coinor-dip/coinor-dip-0.9.8.ebuild
index 8a74a45423c..c67282ce4ec 100644
--- a/sci-libs/coinor-dip/coinor-dip-0.9.8.ebuild
+++ b/sci-libs/coinor-dip/coinor-dip-0.9.8.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-alps:=
diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild
index af3785fbe34..6432f3ab4b2 100644
--- a/sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild
+++ b/sci-libs/coinor-dylp/coinor-dylp-1.9.4.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="sci-libs/coinor-osi:="
DEPEND="${RDEPEND}
diff --git a/sci-libs/coinor-os/coinor-os-2.10.1.ebuild b/sci-libs/coinor-os/coinor-os-2.10.1.ebuild
index ae0fb46a746..2093e3961b6 100644
--- a/sci-libs/coinor-os/coinor-os-2.10.1.ebuild
+++ b/sci-libs/coinor-os/coinor-os-2.10.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/6"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-bcp:=
diff --git a/sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild b/sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild
index 59bd9d74227..d7d293c7f43 100644
--- a/sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild
+++ b/sci-libs/coinor-osi/coinor-osi-0.106.6.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples glpk static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-utils:=
diff --git a/sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild b/sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild
index 1db6ff49b5e..903528f7972 100644
--- a/sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild
+++ b/sci-libs/coinor-smi/coinor-smi-0.93.4.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
@@ -16,6 +16,7 @@ LICENSE="CPL-1.0"
SLOT="0/2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-cbc:=
diff --git a/sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild b/sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild
index 38e4c4e8d5b..02a341b4b79 100644
--- a/sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild
+++ b/sci-libs/coinor-symphony/coinor-symphony-5.5.7.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples glpk static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-cgl:=
diff --git a/sci-libs/coinor-utils/coinor-utils-2.9.11.ebuild b/sci-libs/coinor-utils/coinor-utils-2.9.11.ebuild
index 393e7c336ef..29e79cb5bf8 100644
--- a/sci-libs/coinor-utils/coinor-utils-2.9.11.ebuild
+++ b/sci-libs/coinor-utils/coinor-utils-2.9.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="bzip2 doc glpk blas lapack static-libs test zlib"
+RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/readline:0=
diff --git a/sci-libs/coinor-vol/coinor-vol-1.4.4.ebuild b/sci-libs/coinor-vol/coinor-vol-1.4.4.ebuild
index 58bba00bd35..ea1df608c97 100644
--- a/sci-libs/coinor-vol/coinor-vol-1.4.4.ebuild
+++ b/sci-libs/coinor-vol/coinor-vol-1.4.4.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
@@ -15,6 +15,7 @@ LICENSE="EPL-1.0"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/coinor-osi:=
diff --git a/sci-libs/dlib/dlib-19.16.ebuild b/sci-libs/dlib/dlib-19.16.ebuild
index 93b39e4eaa0..3eef02e2c0e 100644
--- a/sci-libs/dlib/dlib-19.16.ebuild
+++ b/sci-libs/dlib/dlib-19.16.ebuild
@@ -15,6 +15,7 @@ LICENSE="Boost-1.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cblas cuda debug examples gif jpeg lapack mkl png python sqlite static-libs test X cpu_flags_x86_avx cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
+RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
# doc needs a bunch of deps not in portage
diff --git a/sci-libs/dlib/dlib-19.7.ebuild b/sci-libs/dlib/dlib-19.7.ebuild
index 34db9681490..470c52a217e 100644
--- a/sci-libs/dlib/dlib-19.7.ebuild
+++ b/sci-libs/dlib/dlib-19.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
@@ -13,6 +13,7 @@ LICENSE="Boost-1.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cblas debug cuda examples gif jpeg lapack mkl png sqlite static-libs test X"
+RESTRICT="!test? ( test )"
# doc needs a bunch of deps not in portage
diff --git a/sci-libs/dlib/dlib-19.9.ebuild b/sci-libs/dlib/dlib-19.9.ebuild
index 28049b0cd64..d0a78e21fc6 100644
--- a/sci-libs/dlib/dlib-19.9.ebuild
+++ b/sci-libs/dlib/dlib-19.9.ebuild
@@ -13,6 +13,7 @@ LICENSE="Boost-1.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cblas debug cuda examples gif jpeg lapack mkl png python sqlite static-libs test X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
# doc needs a bunch of deps not in portage
diff --git a/sci-libs/dmlc-core/dmlc-core-0_p20170719.ebuild b/sci-libs/dmlc-core/dmlc-core-0_p20170719.ebuild
index adf78c82724..7b5c6e91bd6 100644
--- a/sci-libs/dmlc-core/dmlc-core-0_p20170719.ebuild
+++ b/sci-libs/dmlc-core/dmlc-core-0_p20170719.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
@@ -25,6 +25,7 @@ SLOT="0"
# hdfs needs big java hdfs not yet in portage
# azure not yet in portage
IUSE="doc openmp s3 test"
+RESTRICT="!test? ( test )"
RDEPEND="net-misc/curl[ssl]"
DEPEND="${RDEPEND}
diff --git a/sci-libs/exodusii/exodusii-6.09.ebuild b/sci-libs/exodusii/exodusii-6.09.ebuild
index 1b8221b5348..e866e4c029f 100644
--- a/sci-libs/exodusii/exodusii-6.09.ebuild
+++ b/sci-libs/exodusii/exodusii-6.09.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="sci-libs/netcdf[hdf5]"
DEPEND="${RDEPEND}
diff --git a/sci-libs/fftw/fftw-3.3.6_p2.ebuild b/sci-libs/fftw/fftw-3.3.6_p2.ebuild
index 4535c715b26..69891e2d3d3 100644
--- a/sci-libs/fftw/fftw-3.3.6_p2.ebuild
+++ b/sci-libs/fftw/fftw-3.3.6_p2.ebuild
@@ -23,6 +23,7 @@ fi
LICENSE="GPL-2+"
SLOT="3.0/3"
IUSE="altivec cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 doc fortran mpi neon openmp quad static-libs test threads zbus"
+RESTRICT="!test? ( test )"
RDEPEND="
mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP}] )"
diff --git a/sci-libs/fftw/fftw-3.3.8.ebuild b/sci-libs/fftw/fftw-3.3.8.ebuild
index c89038acc6a..b0783f5d9cb 100644
--- a/sci-libs/fftw/fftw-3.3.8.ebuild
+++ b/sci-libs/fftw/fftw-3.3.8.ebuild
@@ -23,6 +23,7 @@ fi
LICENSE="GPL-2+"
SLOT="3.0/3"
IUSE="altivec cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 doc fortran mpi neon openmp quad static-libs test threads zbus"
+RESTRICT="!test? ( test )"
RDEPEND="
mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP}] )"
diff --git a/sci-libs/fftw/fftw-9999.ebuild b/sci-libs/fftw/fftw-9999.ebuild
index a43b48e5809..3e2234048b5 100644
--- a/sci-libs/fftw/fftw-9999.ebuild
+++ b/sci-libs/fftw/fftw-9999.ebuild
@@ -23,6 +23,7 @@ fi
LICENSE="GPL-2+"
SLOT="3.0/3"
IUSE="altivec cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 doc fortran mpi neon openmp quad static-libs test threads zbus"
+RESTRICT="!test? ( test )"
RDEPEND="
mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP}] )"
diff --git a/sci-libs/hdf/hdf-4.2.11.ebuild b/sci-libs/hdf/hdf-4.2.11.ebuild
index 3582363389a..c66597afe4d 100644
--- a/sci-libs/hdf/hdf-4.2.11.ebuild
+++ b/sci-libs/hdf/hdf-4.2.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,6 +17,7 @@ SLOT="0"
LICENSE="NCSA-HDF"
KEYWORDS="~amd64 ~ia64 ~ppc -sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="examples fortran szip static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( szip )"
RDEPEND="
diff --git a/sci-libs/hdf/hdf-4.2.13-r1.ebuild b/sci-libs/hdf/hdf-4.2.13-r1.ebuild
index d92320b868a..170fa0c5f4c 100644
--- a/sci-libs/hdf/hdf-4.2.13-r1.ebuild
+++ b/sci-libs/hdf/hdf-4.2.13-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
@@ -17,6 +17,7 @@ SLOT="0"
LICENSE="NCSA-HDF"
KEYWORDS="amd64 ia64 ppc -sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples fortran szip static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( szip )"
RDEPEND="
diff --git a/sci-libs/hdf/hdf-4.2.13.ebuild b/sci-libs/hdf/hdf-4.2.13.ebuild
index d7244d6583f..119a9644d97 100644
--- a/sci-libs/hdf/hdf-4.2.13.ebuild
+++ b/sci-libs/hdf/hdf-4.2.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,6 +17,7 @@ SLOT="0"
LICENSE="NCSA-HDF"
KEYWORDS="~amd64 ~ia64 ~ppc -sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="examples fortran szip static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( szip )"
RDEPEND="
diff --git a/sci-libs/indilib/indilib-1.7.5.ebuild b/sci-libs/indilib/indilib-1.7.5.ebuild
index a8179c7fb67..45012f5a0a8 100644
--- a/sci-libs/indilib/indilib-1.7.5.ebuild
+++ b/sci-libs/indilib/indilib-1.7.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+"
SLOT="0/1"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE="ogg test"
+RESTRICT="!test? ( test )"
RDEPEND="
net-misc/curl
diff --git a/sci-libs/ipopt/ipopt-3.11.7.ebuild b/sci-libs/ipopt/ipopt-3.11.7.ebuild
index cf3bf34adda..c0838cc7ded 100644
--- a/sci-libs/ipopt/ipopt-3.11.7.ebuild
+++ b/sci-libs/ipopt/ipopt-3.11.7.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
@@ -18,6 +18,7 @@ LICENSE="EPL-1.0 hsl? ( HSL )"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples hsl lapack mpi mumps static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas
diff --git a/sci-libs/ipopt/ipopt-3.11.8.ebuild b/sci-libs/ipopt/ipopt-3.11.8.ebuild
index bb3c71daaa6..00636336536 100644
--- a/sci-libs/ipopt/ipopt-3.11.8.ebuild
+++ b/sci-libs/ipopt/ipopt-3.11.8.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
@@ -19,6 +19,7 @@ LICENSE="EPL-1.0 hsl? ( HSL )"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples hsl lapack mpi mumps static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas
diff --git a/sci-libs/lemon/lemon-1.3.1.ebuild b/sci-libs/lemon/lemon-1.3.1.ebuild
index 3a35fa7919d..cb3bee35083 100644
--- a/sci-libs/lemon/lemon-1.3.1.ebuild
+++ b/sci-libs/lemon/lemon-1.3.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
@@ -13,6 +13,7 @@ LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="+coin doc glpk static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( coin glpk )"
diff --git a/sci-libs/levmar/levmar-2.6.ebuild b/sci-libs/levmar/levmar-2.6.ebuild
index c79aa78b669..1a31e16ca9e 100644
--- a/sci-libs/levmar/levmar-2.6.ebuild
+++ b/sci-libs/levmar/levmar-2.6.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="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas
diff --git a/sci-libs/libcerf/libcerf-1.5.ebuild b/sci-libs/libcerf/libcerf-1.5.ebuild
index 5bf866a00bf..3294d3848a9 100644
--- a/sci-libs/libcerf/libcerf-1.5.ebuild
+++ b/sci-libs/libcerf/libcerf-1.5.ebuild
@@ -11,6 +11,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
src_configure() {
econf --enable-shared $(use_enable static-libs static)
diff --git a/sci-libs/libdap/libdap-3.18.1.ebuild b/sci-libs/libdap/libdap-3.18.1.ebuild
index e80817b5255..07e468687be 100644
--- a/sci-libs/libdap/libdap-3.18.1.ebuild
+++ b/sci-libs/libdap/libdap-3.18.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="|| ( LGPL-2.1 URI )"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libxml2:2
diff --git a/sci-libs/libsigrok/libsigrok-0.3.0.ebuild b/sci-libs/libsigrok/libsigrok-0.3.0.ebuild
index dfa540c113f..68b67e556b2 100644
--- a/sci-libs/libsigrok/libsigrok-0.3.0.ebuild
+++ b/sci-libs/libsigrok/libsigrok-0.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="5"
@@ -19,6 +19,7 @@ HOMEPAGE="https://sigrok.org/wiki/Libsigrok"
LICENSE="GPL-3"
SLOT="0/2"
IUSE="ftdi serial static-libs test usb"
+RESTRICT="!test? ( test )"
# We also support librevisa, but that isn't in the tree ...
LIB_DEPEND=">=dev-libs/glib-2.32.0[static-libs(+)]
diff --git a/sci-libs/libsigrok/libsigrok-0.4.0.ebuild b/sci-libs/libsigrok/libsigrok-0.4.0.ebuild
index 58e0d34119b..c778d842eb2 100644
--- a/sci-libs/libsigrok/libsigrok-0.4.0.ebuild
+++ b/sci-libs/libsigrok/libsigrok-0.4.0.ebuild
@@ -21,6 +21,7 @@ HOMEPAGE="https://sigrok.org/wiki/Libsigrok"
LICENSE="GPL-3"
SLOT="0/3"
IUSE="cxx ftdi java parport python serial static-libs test usb"
+RESTRICT="!test? ( test )"
REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} )"
# We also support librevisa, but that isn't in the tree ...
diff --git a/sci-libs/libsigrok/libsigrok-0.5.1.ebuild b/sci-libs/libsigrok/libsigrok-0.5.1.ebuild
index 85412408ba6..9be12225b2b 100644
--- a/sci-libs/libsigrok/libsigrok-0.5.1.ebuild
+++ b/sci-libs/libsigrok/libsigrok-0.5.1.ebuild
@@ -21,6 +21,7 @@ HOMEPAGE="https://sigrok.org/wiki/Libsigrok"
LICENSE="GPL-3"
SLOT="0/4"
IUSE="cxx ftdi java parport python serial static-libs test +udev usb"
+RESTRICT="!test? ( test )"
REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} )"
# We also support librevisa, but that isn't in the tree ...
diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild
index b82051f8e0f..22fa3622f09 100644
--- a/sci-libs/libsigrok/libsigrok-9999.ebuild
+++ b/sci-libs/libsigrok/libsigrok-9999.ebuild
@@ -23,6 +23,7 @@ HOMEPAGE="https://sigrok.org/wiki/Libsigrok"
LICENSE="GPL-3"
SLOT="0/9999"
IUSE="cxx ftdi java parport python ruby serial static-libs +udev test usb"
+RESTRICT="!test? ( test )"
REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} ) ruby? ( cxx || ( $(ruby_get_use_targets) ) )"
# We also support librevisa, but that isn't in the tree ...
diff --git a/sci-libs/netcdf/netcdf-4.3.2-r1.ebuild b/sci-libs/netcdf/netcdf-4.3.2-r1.ebuild
index d12cf4ae26a..4f7a0aedfc2 100644
--- a/sci-libs/netcdf/netcdf-4.3.2-r1.ebuild
+++ b/sci-libs/netcdf/netcdf-4.3.2-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=5
@@ -13,6 +13,7 @@ LICENSE="UCAR-Unidata"
SLOT="0/7"
KEYWORDS="amd64 ~arm ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="+dap examples hdf +hdf5 mpi static-libs szip test tools"
+RESTRICT="!test? ( test )"
RDEPEND="
dap? ( net-misc/curl:0= )
diff --git a/sci-libs/netcdf/netcdf-4.6.1-r1.ebuild b/sci-libs/netcdf/netcdf-4.6.1-r1.ebuild
index 3ccbe77b51a..d66d366d233 100644
--- a/sci-libs/netcdf/netcdf-4.6.1-r1.ebuild
+++ b/sci-libs/netcdf/netcdf-4.6.1-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="UCAR-Unidata"
SLOT="0/13"
KEYWORDS="amd64 ~arm ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="+dap examples hdf +hdf5 mpi static-libs szip test tools"
+RESTRICT="!test? ( test )"
RDEPEND="
dap? ( net-misc/curl:0= )
diff --git a/sci-libs/netcdf/netcdf-4.6.1.ebuild b/sci-libs/netcdf/netcdf-4.6.1.ebuild
index 027ac4abf35..6c8e28e72e0 100644
--- a/sci-libs/netcdf/netcdf-4.6.1.ebuild
+++ b/sci-libs/netcdf/netcdf-4.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="UCAR-Unidata"
SLOT="0/11"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="+dap examples hdf +hdf5 mpi static-libs szip test tools"
+RESTRICT="!test? ( test )"
RDEPEND="
dap? ( net-misc/curl:0= )
diff --git a/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild b/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild
index 082cb9f1099..9b1481d4467 100644
--- a/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild
+++ b/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/boost:="
DEPEND="${RDEPEND}
diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild
index e2fe4f9b475..a2d743e268b 100644
--- a/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild
+++ b/sci-libs/orocos_kdl/orocos_kdl-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=5
@@ -24,6 +24,7 @@ HOMEPAGE="http://www.orocos.org/kdl"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="doc test examples models"
+RESTRICT="!test? ( test )"
RDEPEND="dev-cpp/eigen:3"
DEPEND="${RDEPEND}
diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild
index aa74627a9e4..d3860db1a16 100644
--- a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild
+++ b/sci-libs/orocos_kdl/orocos_kdl-1.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
@@ -24,6 +24,7 @@ HOMEPAGE="http://www.orocos.org/kdl"
LICENSE="LGPL-2.1"
SLOT="0/14"
IUSE="doc test examples models"
+RESTRICT="!test? ( test )"
RDEPEND="dev-cpp/eigen:3"
DEPEND="${RDEPEND}
diff --git a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild b/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild
index aa74627a9e4..d3860db1a16 100644
--- a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild
+++ b/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -24,6 +24,7 @@ HOMEPAGE="http://www.orocos.org/kdl"
LICENSE="LGPL-2.1"
SLOT="0/14"
IUSE="doc test examples models"
+RESTRICT="!test? ( test )"
RDEPEND="dev-cpp/eigen:3"
DEPEND="${RDEPEND}
diff --git a/sci-libs/pcl/pcl-1.9.1.ebuild b/sci-libs/pcl/pcl-1.9.1.ebuild
index 737d110e2cf..19c912a12d8 100644
--- a/sci-libs/pcl/pcl-1.9.1.ebuild
+++ b/sci-libs/pcl/pcl-1.9.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=5
@@ -25,6 +25,7 @@ DESCRIPTION="2D/3D image and point cloud processing"
LICENSE="BSD"
SLOT="0/1.9"
IUSE="cuda doc opengl openni openni2 pcap png +qhull qt5 usb vtk cpu_flags_x86_sse test tutorials"
+RESTRICT="!test? ( test )"
RDEPEND="
>=sci-libs/flann-1.7.1
diff --git a/sci-libs/pcl/pcl-9999.ebuild b/sci-libs/pcl/pcl-9999.ebuild
index 737d110e2cf..19c912a12d8 100644
--- a/sci-libs/pcl/pcl-9999.ebuild
+++ b/sci-libs/pcl/pcl-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=5
@@ -25,6 +25,7 @@ DESCRIPTION="2D/3D image and point cloud processing"
LICENSE="BSD"
SLOT="0/1.9"
IUSE="cuda doc opengl openni openni2 pcap png +qhull qt5 usb vtk cpu_flags_x86_sse test tutorials"
+RESTRICT="!test? ( test )"
RDEPEND="
>=sci-libs/flann-1.7.1
diff --git a/sci-libs/proj/proj-6.2.0.ebuild b/sci-libs/proj/proj-6.2.0.ebuild
index 2263d70332f..70e5a2e53a6 100644
--- a/sci-libs/proj/proj-6.2.0.ebuild
+++ b/sci-libs/proj/proj-6.2.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0/15"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="europe static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( !europe )"
RDEPEND="dev-db/sqlite:3"
diff --git a/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild b/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
index 3e60e55da8f..eedda916cce 100644
--- a/sci-libs/scalapack/scalapack-2.0.2-r1.ebuild
+++ b/sci-libs/scalapack/scalapack-2.0.2-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="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/lapack
diff --git a/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild b/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild
index 49f66eaba90..617cf1c2f4b 100644
--- a/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild
+++ b/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc freeimage pyamg test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/matplotlib[${PYTHON_USEDEP}]
diff --git a/sci-libs/scikits_image/scikits_image-0.13.0.ebuild b/sci-libs/scikits_image/scikits_image-0.13.0.ebuild
index ccd8d3938ce..903d0ce96ce 100644
--- a/sci-libs/scikits_image/scikits_image-0.13.0.ebuild
+++ b/sci-libs/scikits_image/scikits_image-0.13.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc freeimage pyamg test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/matplotlib[${PYTHON_USEDEP}]
diff --git a/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild
index 0b4c5a6ae9e..e83910a436b 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.17.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/joblib[${PYTHON_USEDEP}]
diff --git a/sci-libs/scikits_learn/scikits_learn-0.17.ebuild b/sci-libs/scikits_learn/scikits_learn-0.17.ebuild
index de24bec47ec..e8b01caac0b 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.17.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.17.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/joblib[${PYTHON_USEDEP}]
diff --git a/sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild
index ffbdaba31d2..1a04525ec15 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.18.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/joblib[${PYTHON_USEDEP}]
diff --git a/sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild
index 367b03b83e7..854f19af4e3 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.18.2-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
# tried to unbundle virtual/python-funcsigs, funcsigs, odict
# but it is a large mess to maintain
diff --git a/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild b/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild
index 1a019a21cfb..191789ac6c0 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/joblib[${PYTHON_USEDEP}]
diff --git a/sci-libs/scikits_learn/scikits_learn-0.19.0-r1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.19.0-r1.ebuild
index 3184d4e8555..cc0019d518d 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.19.0-r1.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.19.0-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
# tried to unbundle virtual/python-funcsigs, funcsigs, odict
# but it is a large mess to maintain
diff --git a/sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild b/sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild
index 1a7298c51de..f6a48d144c7 100644
--- a/sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild
+++ b/sci-libs/scikits_learn/scikits_learn-0.19.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
# tried to unbundle virtual/python-funcsigs, funcsigs, odict
# but it is a large mess to maintain
diff --git a/sci-libs/scipy/scipy-0.16.1.ebuild b/sci-libs/scipy/scipy-0.16.1.ebuild
index c698be80f3a..f105dde30c6 100644
--- a/sci-libs/scipy/scipy-0.16.1.ebuild
+++ b/sci-libs/scipy/scipy-0.16.1.ebuild
@@ -22,6 +22,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
IUSE="doc sparse test"
+RESTRICT="!test? ( test )"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
CDEPEND="
diff --git a/sci-libs/scipy/scipy-0.18.1.ebuild b/sci-libs/scipy/scipy-0.18.1.ebuild
index fb81a2bdbec..13d5afa657e 100644
--- a/sci-libs/scipy/scipy-0.18.1.ebuild
+++ b/sci-libs/scipy/scipy-0.18.1.ebuild
@@ -22,6 +22,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
IUSE="doc sparse test"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
CDEPEND="
diff --git a/sci-libs/scipy/scipy-0.19.1.ebuild b/sci-libs/scipy/scipy-0.19.1.ebuild
index 2e7f6acd2f8..a17473acc3d 100644
--- a/sci-libs/scipy/scipy-0.19.1.ebuild
+++ b/sci-libs/scipy/scipy-0.19.1.ebuild
@@ -22,6 +22,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
IUSE="doc sparse test"
+RESTRICT="!test? ( test )"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
CDEPEND="
diff --git a/sci-libs/scipy/scipy-1.0.0.ebuild b/sci-libs/scipy/scipy-1.0.0.ebuild
index b9b79bf1aef..830587f79c3 100644
--- a/sci-libs/scipy/scipy-1.0.0.ebuild
+++ b/sci-libs/scipy/scipy-1.0.0.ebuild
@@ -22,6 +22,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
IUSE="doc sparse test"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
CDEPEND="
diff --git a/sci-libs/scipy/scipy-1.1.0.ebuild b/sci-libs/scipy/scipy-1.1.0.ebuild
index adfa2ab45a6..acbf180275f 100644
--- a/sci-libs/scipy/scipy-1.1.0.ebuild
+++ b/sci-libs/scipy/scipy-1.1.0.ebuild
@@ -22,6 +22,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
IUSE="doc sparse test"
+RESTRICT="!test? ( test )"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
CDEPEND="
diff --git a/sci-libs/scipy/scipy-9999.ebuild b/sci-libs/scipy/scipy-9999.ebuild
index d003a8d1974..0e528a35be0 100644
--- a/sci-libs/scipy/scipy-9999.ebuild
+++ b/sci-libs/scipy/scipy-9999.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD LGPL-2"
SLOT="0"
KEYWORDS=""
IUSE="sparse test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/numpy-1.10[lapack,${PYTHON_USEDEP}]
diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0.ebuild
index 4fad7ff5e35..870ef09e18e 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0.ebuild
@@ -21,6 +21,7 @@ LICENSE="GPL-3 free-noncomm"
SLOT="0/16"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_sse doc examples lua octave opencl python R ruby static-libs test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
diff --git a/sci-libs/silo/silo-4.10.2-r1.ebuild b/sci-libs/silo/silo-4.10.2-r1.ebuild
index 61b8b07e7d1..278b972ca25 100644
--- a/sci-libs/silo/silo-4.10.2-r1.ebuild
+++ b/sci-libs/silo/silo-4.10.2-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=5
@@ -12,6 +12,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
IUSE="hdf5 +silex static-libs +qt5 test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="silex? ( qt5 )"
diff --git a/sci-libs/superlu/superlu-4.3-r1.ebuild b/sci-libs/superlu/superlu-4.3-r1.ebuild
index 33e0af34066..a6ce49cd482 100644
--- a/sci-libs/superlu/superlu-4.3-r1.ebuild
+++ b/sci-libs/superlu/superlu-4.3-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas"
diff --git a/sci-libs/superlu/superlu-5.2.1-r1.ebuild b/sci-libs/superlu/superlu-5.2.1-r1.ebuild
index eb6dc71012d..2f7f382cf88 100644
--- a/sci-libs/superlu/superlu-5.2.1-r1.ebuild
+++ b/sci-libs/superlu/superlu-5.2.1-r1.ebuild
@@ -28,6 +28,7 @@ HOMEPAGE="https://crd-legacy.lbl.gov/~xiaoye/SuperLU/"
LICENSE="BSD"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="virtual/blas"
DEPEND="${RDEPEND}
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
index 2322df8507e..9cd876c14a2 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.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="BSD"
SLOT="0/${SOVERSION}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples int64 openmp static-libs test threads"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( openmp threads )"
RDEPEND="virtual/blas"
diff --git a/sci-libs/symengine/symengine-0.3.0-r1.ebuild b/sci-libs/symengine/symengine-0.3.0-r1.ebuild
index c493c94e39e..e3a5ebde287 100644
--- a/sci-libs/symengine/symengine-0.3.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/0.3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="arb benchmarks boost debug doc flint llvm mpc mpfr openmp test tcmalloc threads"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/gmp:=
diff --git a/sci-libs/symengine/symengine-0.4.0.ebuild b/sci-libs/symengine/symengine-0.4.0.ebuild
index eac0919d776..ae20dab9235 100644
--- a/sci-libs/symengine/symengine-0.4.0.ebuild
+++ b/sci-libs/symengine/symengine-0.4.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0/0.4"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="arb benchmarks boost debug doc flint llvm mpc mpfr openmp test tcmalloc threads"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/gmp:=
diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r3.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r3.ebuild
index f8f903a4c1d..fe0d3fcb2bc 100644
--- a/sci-libs/xdmf2/xdmf2-1.0_p141226-r3.ebuild
+++ b/sci-libs/xdmf2/xdmf2-1.0_p141226-r3.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
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="VTK"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="doc python test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="