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 /dev-tex | |
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 'dev-tex')
-rw-r--r-- | dev-tex/biber/biber-2.12.ebuild | 1 | ||||
-rw-r--r-- | dev-tex/biber/biber-2.7.ebuild | 1 | ||||
-rw-r--r-- | dev-tex/chktex/chktex-1.7.1.ebuild | 1 | ||||
-rw-r--r-- | dev-tex/chktex/chktex-1.7.6.ebuild | 1 | ||||
-rw-r--r-- | dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild | 3 | ||||
-rw-r--r-- | dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild | 3 | ||||
-rw-r--r-- | dev-tex/latexdiff/latexdiff-1.2.1.ebuild | 3 | ||||
-rw-r--r-- | dev-tex/latexdiff/latexdiff-1.3.0.ebuild | 1 | ||||
-rw-r--r-- | dev-tex/latexdiff/latexdiff-9999.ebuild | 1 | ||||
-rw-r--r-- | dev-tex/style-check/style-check-0.14.ebuild | 3 |
10 files changed, 14 insertions, 4 deletions
diff --git a/dev-tex/biber/biber-2.12.ebuild b/dev-tex/biber/biber-2.12.ebuild index a7d79736202e..5feffbec88a1 100644 --- a/dev-tex/biber/biber-2.12.ebuild +++ b/dev-tex/biber/biber-2.12.ebuild @@ -13,6 +13,7 @@ LICENSE="Artistic-2" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~x86" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=">=dev-lang/perl-5.26 dev-perl/autovivification diff --git a/dev-tex/biber/biber-2.7.ebuild b/dev-tex/biber/biber-2.7.ebuild index 5a2aaf1c1a1b..2e5ad7bb84fa 100644 --- a/dev-tex/biber/biber-2.7.ebuild +++ b/dev-tex/biber/biber-2.7.ebuild @@ -13,6 +13,7 @@ LICENSE="Artistic-2" SLOT="0" KEYWORDS="amd64 ~arm ~x86" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=">=dev-lang/perl-5.24 dev-perl/autovivification diff --git a/dev-tex/chktex/chktex-1.7.1.ebuild b/dev-tex/chktex/chktex-1.7.1.ebuild index 66f74777005a..89403432fd94 100644 --- a/dev-tex/chktex/chktex-1.7.1.ebuild +++ b/dev-tex/chktex/chktex-1.7.1.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="debug doc +pcre test" +RESTRICT="!test? ( test )" # Tests fail without pcre. Enable pcre by default and make tests depend on it. REQUIRED_USE="test? ( pcre )" diff --git a/dev-tex/chktex/chktex-1.7.6.ebuild b/dev-tex/chktex/chktex-1.7.6.ebuild index e6f58879d684..4f066f5c4caf 100644 --- a/dev-tex/chktex/chktex-1.7.6.ebuild +++ b/dev-tex/chktex/chktex-1.7.6.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="debug doc +pcre test" +RESTRICT="!test? ( test )" # Tests fail without pcre. Enable pcre by default and make tests depend on it. REQUIRED_USE="test? ( pcre )" diff --git a/dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild b/dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild index dc7dab1b2461..50537d6a876f 100644 --- a/dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild +++ b/dev-tex/latex2rtf/latex2rtf-2.3.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=6 @@ -12,6 +12,7 @@ LICENSE="GPL-2" KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" S="${WORKDIR}/${P%b}" RDEPEND=" diff --git a/dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild b/dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild index e03802b9c2ee..712cb73c6193 100644 --- a/dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild +++ b/dev-tex/latex2rtf/latex2rtf-2.3.15.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="GPL-2" KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 ~sparc x86" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" S="${WORKDIR}/${P%b}" RDEPEND=" diff --git a/dev-tex/latexdiff/latexdiff-1.2.1.ebuild b/dev-tex/latexdiff/latexdiff-1.2.1.ebuild index 19bd50cbfb84..5ae0931dd3ec 100644 --- a/dev-tex/latexdiff/latexdiff-1.2.1.ebuild +++ b/dev-tex/latexdiff/latexdiff-1.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 @@ -18,6 +18,7 @@ LICENSE="GPL-3" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-lang/perl-5.8 diff --git a/dev-tex/latexdiff/latexdiff-1.3.0.ebuild b/dev-tex/latexdiff/latexdiff-1.3.0.ebuild index 88e924c7a67c..9ff47ff1fb2e 100644 --- a/dev-tex/latexdiff/latexdiff-1.3.0.ebuild +++ b/dev-tex/latexdiff/latexdiff-1.3.0.ebuild @@ -18,6 +18,7 @@ LICENSE="GPL-3" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-lang/perl-5.8 diff --git a/dev-tex/latexdiff/latexdiff-9999.ebuild b/dev-tex/latexdiff/latexdiff-9999.ebuild index 1e5b3eeff9cd..827ffb515f54 100644 --- a/dev-tex/latexdiff/latexdiff-9999.ebuild +++ b/dev-tex/latexdiff/latexdiff-9999.ebuild @@ -18,6 +18,7 @@ LICENSE="GPL-3" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-lang/perl-5.8 diff --git a/dev-tex/style-check/style-check-0.14.ebuild b/dev-tex/style-check/style-check-0.14.ebuild index 57b9aa826bd5..a4594b529b20 100644 --- a/dev-tex/style-check/style-check-0.14.ebuild +++ b/dev-tex/style-check/style-check-0.14.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=4 @@ -11,6 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-lang/ruby" DEPEND="test? ( dev-lang/ruby )" |