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 /sci-physics
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 'sci-physics')
-rw-r--r--sci-physics/clhep/clhep-2.2.0.5.ebuild1
-rw-r--r--sci-physics/clhep/clhep-2.4.0.4.ebuild1
-rw-r--r--sci-physics/clhep/clhep-2.4.1.2.ebuild1
-rw-r--r--sci-physics/espresso++/espresso++-2.0.2.ebuild1
-rw-r--r--sci-physics/espresso++/espresso++-9999.ebuild3
-rw-r--r--sci-physics/espresso/espresso-4.0.0-r1.ebuild1
-rw-r--r--sci-physics/espresso/espresso-4.0_pre20170228.ebuild1
-rw-r--r--sci-physics/espresso/espresso-9999.ebuild1
-rw-r--r--sci-physics/hepmc/hepmc-2.06.09-r1.ebuild3
-rw-r--r--sci-physics/lammps/lammps-20170901-r1.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20170901.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20180117.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20180222.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20180308.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20180316.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20180822.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20181212.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20190605.ebuild1
-rw-r--r--sci-physics/lammps/lammps-20190807.ebuild1
-rw-r--r--sci-physics/lhapdf/lhapdf-5.9.1.ebuild3
-rw-r--r--sci-physics/pythia/pythia-8.2.10.ebuild3
-rw-r--r--sci-physics/pythia/pythia-8.2.26.ebuild3
-rw-r--r--sci-physics/qutip/qutip-4.2.0.ebuild3
-rw-r--r--sci-physics/thepeg/thepeg-1.9.2.ebuild3
-rw-r--r--sci-physics/thepeg/thepeg-2.0.0.ebuild3
-rw-r--r--sci-physics/thepeg/thepeg-2.0.4.ebuild3
26 files changed, 35 insertions, 9 deletions
diff --git a/sci-physics/clhep/clhep-2.2.0.5.ebuild b/sci-physics/clhep/clhep-2.2.0.5.ebuild
index 7c5de315a5ab..b403ed9ff5ad 100644
--- a/sci-physics/clhep/clhep-2.2.0.5.ebuild
+++ b/sci-physics/clhep/clhep-2.2.0.5.ebuild
@@ -13,6 +13,7 @@ SLOT="2/${PV}"
KEYWORDS="amd64 hppa ppc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="doc? ( virtual/latex-base )"
diff --git a/sci-physics/clhep/clhep-2.4.0.4.ebuild b/sci-physics/clhep/clhep-2.4.0.4.ebuild
index 1a4f4b585e1a..e70ed5a04200 100644
--- a/sci-physics/clhep/clhep-2.4.0.4.ebuild
+++ b/sci-physics/clhep/clhep-2.4.0.4.ebuild
@@ -13,6 +13,7 @@ SLOT="2/${PV}"
KEYWORDS="amd64 hppa ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc test threads"
+RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-doc/doxygen[latex] )"
diff --git a/sci-physics/clhep/clhep-2.4.1.2.ebuild b/sci-physics/clhep/clhep-2.4.1.2.ebuild
index 8eac6ef22dd0..2b6ac11002d0 100644
--- a/sci-physics/clhep/clhep-2.4.1.2.ebuild
+++ b/sci-physics/clhep/clhep-2.4.1.2.ebuild
@@ -13,6 +13,7 @@ SLOT="2/${PV}"
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc test threads"
+RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-doc/doxygen[latex] )"
diff --git a/sci-physics/espresso++/espresso++-2.0.2.ebuild b/sci-physics/espresso++/espresso++-2.0.2.ebuild
index 1aa0aa57f8b5..151284b69afa 100644
--- a/sci-physics/espresso++/espresso++-2.0.2.ebuild
+++ b/sci-physics/espresso++/espresso++-2.0.2.ebuild
@@ -23,6 +23,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
diff --git a/sci-physics/espresso++/espresso++-9999.ebuild b/sci-physics/espresso++/espresso++-9999.ebuild
index 3bae0551d9b2..151284b69afa 100644
--- a/sci-physics/espresso++/espresso++-9999.ebuild
+++ b/sci-physics/espresso++/espresso++-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,6 +23,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
diff --git a/sci-physics/espresso/espresso-4.0.0-r1.ebuild b/sci-physics/espresso/espresso-4.0.0-r1.ebuild
index 9a3a900caee2..06b50f8c47eb 100644
--- a/sci-physics/espresso/espresso-4.0.0-r1.ebuild
+++ b/sci-physics/espresso/espresso-4.0.0-r1.ebuild
@@ -24,6 +24,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
IUSE="cuda doc examples +fftw +hdf5 test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}"
diff --git a/sci-physics/espresso/espresso-4.0_pre20170228.ebuild b/sci-physics/espresso/espresso-4.0_pre20170228.ebuild
index 6d98ecb5adaa..1b693f4cca4d 100644
--- a/sci-physics/espresso/espresso-4.0_pre20170228.ebuild
+++ b/sci-physics/espresso/espresso-4.0_pre20170228.ebuild
@@ -26,6 +26,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
IUSE="cuda doc examples +fftw +hdf5 test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}"
diff --git a/sci-physics/espresso/espresso-9999.ebuild b/sci-physics/espresso/espresso-9999.ebuild
index af5b20539550..49d7e8f749e1 100644
--- a/sci-physics/espresso/espresso-9999.ebuild
+++ b/sci-physics/espresso/espresso-9999.ebuild
@@ -24,6 +24,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
IUSE="cuda doc examples +fftw +hdf5 test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}"
diff --git a/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild b/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild
index fd3d790263ae..30a266d6d1e1 100644
--- a/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild
+++ b/sci-physics/hepmc/hepmc-2.06.09-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
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="cm doc examples gev static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/sci-physics/lammps/lammps-20170901-r1.ebuild b/sci-physics/lammps/lammps-20170901-r1.ebuild
index 382491df999f..2ba7d813b541 100644
--- a/sci-physics/lammps/lammps-20170901-r1.ebuild
+++ b/sci-physics/lammps/lammps-20170901-r1.ebuild
@@ -23,6 +23,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20170901.ebuild b/sci-physics/lammps/lammps-20170901.ebuild
index a7659ffea526..63840fa10775 100644
--- a/sci-physics/lammps/lammps-20170901.ebuild
+++ b/sci-physics/lammps/lammps-20170901.ebuild
@@ -23,6 +23,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20180117.ebuild b/sci-physics/lammps/lammps-20180117.ebuild
index 382491df999f..2ba7d813b541 100644
--- a/sci-physics/lammps/lammps-20180117.ebuild
+++ b/sci-physics/lammps/lammps-20180117.ebuild
@@ -23,6 +23,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20180222.ebuild b/sci-physics/lammps/lammps-20180222.ebuild
index 382491df999f..2ba7d813b541 100644
--- a/sci-physics/lammps/lammps-20180222.ebuild
+++ b/sci-physics/lammps/lammps-20180222.ebuild
@@ -23,6 +23,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20180308.ebuild b/sci-physics/lammps/lammps-20180308.ebuild
index 382491df999f..2ba7d813b541 100644
--- a/sci-physics/lammps/lammps-20180308.ebuild
+++ b/sci-physics/lammps/lammps-20180308.ebuild
@@ -23,6 +23,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20180316.ebuild b/sci-physics/lammps/lammps-20180316.ebuild
index 1a8c1528db2f..dcd714090739 100644
--- a/sci-physics/lammps/lammps-20180316.ebuild
+++ b/sci-physics/lammps/lammps-20180316.ebuild
@@ -23,6 +23,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20180822.ebuild b/sci-physics/lammps/lammps-20180822.ebuild
index 700ba0f23ec2..1435931c2f1e 100644
--- a/sci-physics/lammps/lammps-20180822.ebuild
+++ b/sci-physics/lammps/lammps-20180822.ebuild
@@ -23,6 +23,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20181212.ebuild b/sci-physics/lammps/lammps-20181212.ebuild
index 488ab3865140..82c4dc4bd956 100644
--- a/sci-physics/lammps/lammps-20181212.ebuild
+++ b/sci-physics/lammps/lammps-20181212.ebuild
@@ -25,6 +25,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20190605.ebuild b/sci-physics/lammps/lammps-20190605.ebuild
index 81ec8546eee7..80e4235e70a7 100644
--- a/sci-physics/lammps/lammps-20190605.ebuild
+++ b/sci-physics/lammps/lammps-20190605.ebuild
@@ -25,6 +25,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lammps/lammps-20190807.ebuild b/sci-physics/lammps/lammps-20190807.ebuild
index b51ab042a357..f1640a0c820f 100644
--- a/sci-physics/lammps/lammps-20190807.ebuild
+++ b/sci-physics/lammps/lammps-20190807.ebuild
@@ -25,6 +25,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda examples gzip lammps-memalign mpi netcdf python test"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/gzip
diff --git a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
index 2c46b3230d45..dbb46b9c38bb 100644
--- a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-5.9.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=5
@@ -22,6 +22,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="cxx doc examples octave python test"
+RESTRICT="!test? ( test )"
RDEPEND="octave? ( sci-mathematics/octave )"
DEPEND="${RDEPEND}
diff --git a/sci-physics/pythia/pythia-8.2.10.ebuild b/sci-physics/pythia/pythia-8.2.10.ebuild
index 84240a7e7d52..8c08ee47f626 100644
--- a/sci-physics/pythia/pythia-8.2.10.ebuild
+++ b/sci-physics/pythia/pythia-8.2.10.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
@@ -26,6 +26,7 @@ SLOT="8"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples gzip +hepmc fastjet lhapdf root static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
fastjet? ( >=sci-physics/fastjet-3 )
diff --git a/sci-physics/pythia/pythia-8.2.26.ebuild b/sci-physics/pythia/pythia-8.2.26.ebuild
index 2851fad340e6..5adb37c9e6d5 100644
--- a/sci-physics/pythia/pythia-8.2.26.ebuild
+++ b/sci-physics/pythia/pythia-8.2.26.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
@@ -26,6 +26,7 @@ SLOT="8"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples gzip +hepmc fastjet lhapdf root static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
fastjet? ( >=sci-physics/fastjet-3 )
diff --git a/sci-physics/qutip/qutip-4.2.0.ebuild b/sci-physics/qutip/qutip-4.2.0.ebuild
index e5514134e279..3a1c537b0c2f 100644
--- a/sci-physics/qutip/qutip-4.2.0.ebuild
+++ b/sci-physics/qutip/qutip-4.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
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="openmp test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/cython[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/sci-physics/thepeg/thepeg-1.9.2.ebuild b/sci-physics/thepeg/thepeg-1.9.2.ebuild
index c9f56f360928..eacacaa48085 100644
--- a/sci-physics/thepeg/thepeg-1.9.2.ebuild
+++ b/sci-physics/thepeg/thepeg-1.9.2.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
@@ -25,6 +25,7 @@ LICENSE="GPL-2"
SLOT="0/18"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="c++11 emacs fastjet hepmc java lhapdf rivet static-libs test zlib"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/gsl:0=
diff --git a/sci-physics/thepeg/thepeg-2.0.0.ebuild b/sci-physics/thepeg/thepeg-2.0.0.ebuild
index dc94272fe72e..677e29bea9b9 100644
--- a/sci-physics/thepeg/thepeg-2.0.0.ebuild
+++ b/sci-physics/thepeg/thepeg-2.0.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=5
@@ -25,6 +25,7 @@ LICENSE="GPL-2"
SLOT="0/20"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="c++11 emacs fastjet hepmc java lhapdf rivet static-libs test zlib"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/gsl:0=
diff --git a/sci-physics/thepeg/thepeg-2.0.4.ebuild b/sci-physics/thepeg/thepeg-2.0.4.ebuild
index 6cea3900306d..1591dd59d177 100644
--- a/sci-physics/thepeg/thepeg-2.0.4.ebuild
+++ b/sci-physics/thepeg/thepeg-2.0.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
@@ -22,6 +22,7 @@ LICENSE="GPL-2"
SLOT="0/20"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="c++11 emacs fastjet hepmc java lhapdf rivet static-libs test zlib"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/gsl:0=