diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-12-10 23:02:54 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-12-11 00:22:38 +0100 |
commit | 064af661d0c9a31cecdf348632bc5603333a9149 (patch) | |
tree | 2202373a7cafcb8a761d32747d4f62263aed64d5 /sci-physics/lammps | |
parent | dev-python/passlib: keyworded 1.7.1-r2 for hppa, bug #700918 (diff) | |
download | gentoo-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/lammps')
-rw-r--r-- | sci-physics/lammps/lammps-20170901-r1.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20170901.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20180117.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20180222.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20180308.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20180316.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20180822.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20181212.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20190605.ebuild | 1 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20190807.ebuild | 1 |
10 files changed, 10 insertions, 0 deletions
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 |