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-biology
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-biology')
-rw-r--r--sci-biology/bedtools/bedtools-2.26.0.ebuild1
-rw-r--r--sci-biology/bfast/bfast-0.7.0a.ebuild3
-rw-r--r--sci-biology/biopandas/biopandas-0.2.1.ebuild1
-rw-r--r--sci-biology/bioperl-network/bioperl-network-1.6.9.ebuild3
-rw-r--r--sci-biology/bioperl-network/bioperl-network-9999-r1.ebuild3
-rw-r--r--sci-biology/exonerate/exonerate-2.2.0-r2.ebuild3
-rw-r--r--sci-biology/fasta/fasta-36.3.5e.ebuild3
-rw-r--r--sci-biology/hmmer/hmmer-2.3.2-r4.ebuild3
-rw-r--r--sci-biology/hmmer/hmmer-3.1_beta2.ebuild3
-rw-r--r--sci-biology/psipred/psipred-3.4.ebuild3
-rw-r--r--sci-biology/psipred/psipred-3.5.ebuild3
-rw-r--r--sci-biology/seqan/seqan-1.4.2-r1.ebuild3
-rw-r--r--sci-biology/seqan/seqan-2.2.0-r1.ebuild3
13 files changed, 24 insertions, 11 deletions
diff --git a/sci-biology/bedtools/bedtools-2.26.0.ebuild b/sci-biology/bedtools/bedtools-2.26.0.ebuild
index c759b395f587..0705d9f46645 100644
--- a/sci-biology/bedtools/bedtools-2.26.0.ebuild
+++ b/sci-biology/bedtools/bedtools-2.26.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="${PYTHON_DEPS}
test? (
diff --git a/sci-biology/bfast/bfast-0.7.0a.ebuild b/sci-biology/bfast/bfast-0.7.0a.ebuild
index 33fc6b8ef8b0..97282d2244a4 100644
--- a/sci-biology/bfast/bfast-0.7.0a.ebuild
+++ b/sci-biology/bfast/bfast-0.7.0a.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~x86"
DEPEND=""
diff --git a/sci-biology/biopandas/biopandas-0.2.1.ebuild b/sci-biology/biopandas/biopandas-0.2.1.ebuild
index 4260d0a440a1..bbbd43d92d26 100644
--- a/sci-biology/biopandas/biopandas-0.2.1.ebuild
+++ b/sci-biology/biopandas/biopandas-0.2.1.ebuild
@@ -21,6 +21,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/sci-biology/bioperl-network/bioperl-network-1.6.9.ebuild b/sci-biology/bioperl-network/bioperl-network-1.6.9.ebuild
index f199589337d9..65a72e06634f 100644
--- a/sci-biology/bioperl-network/bioperl-network-1.6.9.ebuild
+++ b/sci-biology/bioperl-network/bioperl-network-1.6.9.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"
@@ -16,6 +16,7 @@ HOMEPAGE="http://www.bioperl.org/"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
SRC_TEST="do"
CDEPEND=">=sci-biology/bioperl-${PV}
diff --git a/sci-biology/bioperl-network/bioperl-network-9999-r1.ebuild b/sci-biology/bioperl-network/bioperl-network-9999-r1.ebuild
index 19dc6f7d52e4..6be8f1cd8509 100644
--- a/sci-biology/bioperl-network/bioperl-network-9999-r1.ebuild
+++ b/sci-biology/bioperl-network/bioperl-network-9999-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"
@@ -14,6 +14,7 @@ LICENSE="Artistic GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
SRC_TEST="do"
CDEPEND=">=sci-biology/bioperl-${PV}
diff --git a/sci-biology/exonerate/exonerate-2.2.0-r2.ebuild b/sci-biology/exonerate/exonerate-2.2.0-r2.ebuild
index dcd09feac3d9..53ae5a97c6ae 100644
--- a/sci-biology/exonerate/exonerate-2.2.0-r2.ebuild
+++ b/sci-biology/exonerate/exonerate-2.2.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos"
IUSE="test threads utils"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( utils )"
DEPEND="dev-libs/glib:2"
diff --git a/sci-biology/fasta/fasta-36.3.5e.ebuild b/sci-biology/fasta/fasta-36.3.5e.ebuild
index 30fda7e9ae00..2f4e3fc06bd5 100644
--- a/sci-biology/fasta/fasta-36.3.5e.ebuild
+++ b/sci-biology/fasta/fasta-36.3.5e.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="fasta"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="debug cpu_flags_x86_sse2 test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( app-shells/tcsh )"
RDEPEND=""
diff --git a/sci-biology/hmmer/hmmer-2.3.2-r4.ebuild b/sci-biology/hmmer/hmmer-2.3.2-r4.ebuild
index cd0e1d732b8b..a58b60f93288 100644
--- a/sci-biology/hmmer/hmmer-2.3.2-r4.ebuild
+++ b/sci-biology/hmmer/hmmer-2.3.2-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -10,6 +10,7 @@ SRC_URI="http://eddylab.org/software/${PN}/${PV}/${P}.tar.gz"
SLOT="2"
IUSE="altivec test threads"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~x86"
DEPEND="test? ( dev-lang/perl )"
diff --git a/sci-biology/hmmer/hmmer-3.1_beta2.ebuild b/sci-biology/hmmer/hmmer-3.1_beta2.ebuild
index f94fcca8c295..b65fa0824f9b 100644
--- a/sci-biology/hmmer/hmmer-3.1_beta2.ebuild
+++ b/sci-biology/hmmer/hmmer-3.1_beta2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ SRC_URI="http://eddylab.org/software/${PN}3/${MY_PV}/hmmer-${MY_PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
IUSE="altivec cpu_flags_x86_sse gsl mpi test +threads"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND="
diff --git a/sci-biology/psipred/psipred-3.4.ebuild b/sci-biology/psipred/psipred-3.4.ebuild
index d1d6a547d17f..1fe4c6dced52 100644
--- a/sci-biology/psipred/psipred-3.4.ebuild
+++ b/sci-biology/psipred/psipred-3.4.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
@@ -18,6 +18,7 @@ LICENSE="psipred"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
app-shells/tcsh
diff --git a/sci-biology/psipred/psipred-3.5.ebuild b/sci-biology/psipred/psipred-3.5.ebuild
index d1d6a547d17f..1fe4c6dced52 100644
--- a/sci-biology/psipred/psipred-3.5.ebuild
+++ b/sci-biology/psipred/psipred-3.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=5
@@ -18,6 +18,7 @@ LICENSE="psipred"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
app-shells/tcsh
diff --git a/sci-biology/seqan/seqan-1.4.2-r1.ebuild b/sci-biology/seqan/seqan-1.4.2-r1.ebuild
index b06c697334c5..3a7f55c710c3 100644
--- a/sci-biology/seqan/seqan-1.4.2-r1.ebuild
+++ b/sci-biology/seqan/seqan-1.4.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=6
@@ -15,6 +15,7 @@ SLOT="$(get_version_component_range 1-2)"
LICENSE="BSD GPL-3"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_sse4_1 test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="cpu_flags_x86_sse4_1"
RDEPEND="
diff --git a/sci-biology/seqan/seqan-2.2.0-r1.ebuild b/sci-biology/seqan/seqan-2.2.0-r1.ebuild
index b559386860d2..5e139cd7e601 100644
--- a/sci-biology/seqan/seqan-2.2.0-r1.ebuild
+++ b/sci-biology/seqan/seqan-2.2.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
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD GPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_sse4_1 doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="cpu_flags_x86_sse4_1"
RDEPEND="