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 /app-text | |
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 'app-text')
44 files changed, 60 insertions, 16 deletions
diff --git a/app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild b/app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild index 0b0e2413742a..8da9a7b4ee68 100644 --- a/app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild +++ b/app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild @@ -11,6 +11,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="test" +RESTRICT="!test? ( test )" # PHP dependency can be inferred from .travis.yml in the repository. # The necessary USE flags on the other hand were found the hard way. diff --git a/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild b/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild index 78348887c8c9..d7bf7ae33f54 100644 --- a/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild +++ b/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild @@ -16,6 +16,7 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sp LICENSE="GPL-2" SLOT="0" IUSE="examples graphviz highlight test" +RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" diff --git a/app-text/blogc/blogc-0.18.0.ebuild b/app-text/blogc/blogc-0.18.0.ebuild index d5c7c49e8ea5..e436f3de74d1 100644 --- a/app-text/blogc/blogc-0.18.0.ebuild +++ b/app-text/blogc/blogc-0.18.0.ebuild @@ -22,6 +22,7 @@ fi LICENSE="BSD" SLOT="0" IUSE="git httpd make test" +RESTRICT="!test? ( test )" RDEPEND=" git? ( diff --git a/app-text/blogc/blogc-9999.ebuild b/app-text/blogc/blogc-9999.ebuild index eab99becb995..e436f3de74d1 100644 --- a/app-text/blogc/blogc-9999.ebuild +++ b/app-text/blogc/blogc-9999.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 @@ fi LICENSE="BSD" SLOT="0" IUSE="git httpd make test" +RESTRICT="!test? ( test )" RDEPEND=" git? ( diff --git a/app-text/cmark/cmark-0.29.0.ebuild b/app-text/cmark/cmark-0.29.0.ebuild index b9dfe5085714..2b06582a87f9 100644 --- a/app-text/cmark/cmark-0.29.0.ebuild +++ b/app-text/cmark/cmark-0.29.0.ebuild @@ -15,6 +15,7 @@ LICENSE="BSD-2" SLOT="0/0.29.0" KEYWORDS="amd64 ppc ppc64 x86" IUSE="test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" diff --git a/app-text/crm114/crm114-20100106-r1.ebuild b/app-text/crm114/crm114-20100106-r1.ebuild index 9e28d628eaec..c141b5c7c517 100644 --- a/app-text/crm114/crm114-20100106-r1.ebuild +++ b/app-text/crm114/crm114-20100106-r1.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="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="examples mew mimencode nls normalizemime static test" +RESTRICT="!test? ( test )" RDEPEND=" static? ( dev-libs/tre[static-libs] ) diff --git a/app-text/discount/discount-2.2.4.ebuild b/app-text/discount/discount-2.2.4.ebuild index d4d34cd4f43d..6fa776e65d63 100644 --- a/app-text/discount/discount-2.2.4.ebuild +++ b/app-text/discount/discount-2.2.4.ebuild @@ -13,6 +13,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="alpha amd64 ~arm arm64 ia64 ppc ppc64 sparc x86" IUSE="minimal test" +RESTRICT="!test? ( test )" src_prepare() { default diff --git a/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild b/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild index 3a2c9554073b..c288e830bdbc 100644 --- a/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild +++ b/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild @@ -13,6 +13,7 @@ HOMEPAGE="http://docbook2x.sourceforge.net/" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~riscv s390 sh sparc x86 ~x86-linux ~x86-solaris" IUSE="test" +RESTRICT="!test? ( test )" LICENSE="MIT" # dev-perl/XML-LibXML - although not mentioned upstream is required diff --git a/app-text/enchant/enchant-1.6.1-r1.ebuild b/app-text/enchant/enchant-1.6.1-r1.ebuild index 1c1f2b790703..4c3eaad3737a 100644 --- a/app-text/enchant/enchant-1.6.1-r1.ebuild +++ b/app-text/enchant/enchant-1.6.1-r1.ebuild @@ -14,6 +14,7 @@ SLOT="0" KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="aspell +hunspell static-libs test" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( hunspell aspell )" # FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742 diff --git a/app-text/enchant/enchant-1.6.1.ebuild b/app-text/enchant/enchant-1.6.1.ebuild index 30cc4c9998e1..7c319297213d 100644 --- a/app-text/enchant/enchant-1.6.1.ebuild +++ b/app-text/enchant/enchant-1.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 @@ -14,6 +14,7 @@ SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="aspell +hunspell static-libs test" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( hunspell aspell )" # FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742 diff --git a/app-text/libebook/libebook-0.1.2-r1.ebuild b/app-text/libebook/libebook-0.1.2-r1.ebuild index e91c7a75c406..d7fb8e609183 100644 --- a/app-text/libebook/libebook-0.1.2-r1.ebuild +++ b/app-text/libebook/libebook-0.1.2-r1.ebuild @@ -16,6 +16,7 @@ LICENSE="MPL-2.0" SLOT="0" KEYWORDS="amd64 ~arm arm64 x86" IUSE="doc test tools" +RESTRICT="!test? ( test )" RDEPEND=" dev-libs/icu:= diff --git a/app-text/libebook/libebook-0.1.3.ebuild b/app-text/libebook/libebook-0.1.3.ebuild index 37b315119bd4..07d3dfb305cf 100644 --- a/app-text/libebook/libebook-0.1.3.ebuild +++ b/app-text/libebook/libebook-0.1.3.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 @@ -16,6 +16,7 @@ LICENSE="MPL-2.0" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="doc test tools" +RESTRICT="!test? ( test )" RDEPEND=" app-text/liblangtag diff --git a/app-text/libepubgen/libepubgen-0.1.1.ebuild b/app-text/libepubgen/libepubgen-0.1.1.ebuild index da571d0a4452..3b3e96693e44 100644 --- a/app-text/libepubgen/libepubgen-0.1.1.ebuild +++ b/app-text/libepubgen/libepubgen-0.1.1.ebuild @@ -11,6 +11,7 @@ LICENSE="MPL-2.0" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" IUSE="debug doc test" +RESTRICT="!test? ( test )" RDEPEND=" dev-libs/librevenge diff --git a/app-text/libetonyek/libetonyek-0.1.9.ebuild b/app-text/libetonyek/libetonyek-0.1.9.ebuild index e690d1468504..36303b04a6f7 100644 --- a/app-text/libetonyek/libetonyek-0.1.9.ebuild +++ b/app-text/libetonyek/libetonyek-0.1.9.ebuild @@ -16,6 +16,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" SLOT="0" IUSE="doc static-libs test" +RESTRICT="!test? ( test )" RDEPEND=" app-text/liblangtag diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild index 9bea9ad25cf0..a545cc94cd23 100644 --- a/app-text/libetonyek/libetonyek-9999.ebuild +++ b/app-text/libetonyek/libetonyek-9999.ebuild @@ -16,6 +16,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" SLOT="0" IUSE="doc static-libs test" +RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig diff --git a/app-text/libqxp/libqxp-0.0.2.ebuild b/app-text/libqxp/libqxp-0.0.2.ebuild index e15f19284937..45620397cd35 100644 --- a/app-text/libqxp/libqxp-0.0.2.ebuild +++ b/app-text/libqxp/libqxp-0.0.2.ebuild @@ -11,6 +11,7 @@ LICENSE="MPL-2.0" SLOT="0" KEYWORDS="amd64 ~arm arm64 ppc ppc64 x86" IUSE="debug doc test tools" +RESTRICT="!test? ( test )" RDEPEND=" dev-libs/librevenge diff --git a/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild b/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild index f5697fc876de..51ae4624c90c 100644 --- a/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild +++ b/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=4 @@ -13,6 +13,7 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" IUSE="test static-libs" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/glib:2 dev-libs/libxml2" diff --git a/app-text/mftrace/mftrace-1.2.18-r3.ebuild b/app-text/mftrace/mftrace-1.2.18-r3.ebuild index 3487a1885759..043340c9e9ab 100644 --- a/app-text/mftrace/mftrace-1.2.18-r3.ebuild +++ b/app-text/mftrace/mftrace-1.2.18-r3.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 @@ -16,6 +16,7 @@ KEYWORDS="amd64 ~hppa ppc x86" # SLOT 1 was used in pktrace ebuild SLOT="1" IUSE="test truetype" +RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=">=app-text/t1utils-1.25 diff --git a/app-text/mftrace/mftrace-1.2.19-r1.ebuild b/app-text/mftrace/mftrace-1.2.19-r1.ebuild index 8f79db97ec5a..ec0f31be3231 100644 --- a/app-text/mftrace/mftrace-1.2.19-r1.ebuild +++ b/app-text/mftrace/mftrace-1.2.19-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 @@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~hppa ~ppc ~x86" # SLOT 1 was used in pktrace ebuild SLOT="1" IUSE="test truetype" +RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=">=app-text/t1utils-1.25 diff --git a/app-text/opensp/opensp-1.5.2-r3.ebuild b/app-text/opensp/opensp-1.5.2-r3.ebuild index 655afe2945f7..8abb9fa4c5fb 100644 --- a/app-text/opensp/opensp-1.5.2-r3.ebuild +++ b/app-text/opensp/opensp-1.5.2-r3.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 @@ -14,6 +14,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc nls static-libs test" +RESTRICT="!test? ( test )" DEPEND="net-libs/libnsl:0= nls? ( sys-devel/gettext ) diff --git a/app-text/opensp/opensp-1.5.2-r6.ebuild b/app-text/opensp/opensp-1.5.2-r6.ebuild index 73415f181564..b9081aef1e1e 100644 --- a/app-text/opensp/opensp-1.5.2-r6.ebuild +++ b/app-text/opensp/opensp-1.5.2-r6.ebuild @@ -14,6 +14,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc elibc_glibc nls static-libs test" +RESTRICT="!test? ( test )" RDEPEND=" elibc_glibc? ( net-libs/libnsl:0= ) diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.11.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.11.ebuild index cf33748eec99..484184a9032a 100644 --- a/app-text/pdf2djvu/pdf2djvu-0.9.11.ebuild +++ b/app-text/pdf2djvu/pdf2djvu-0.9.11.ebuild @@ -15,6 +15,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+graphicsmagick nls openmp test" +RESTRICT="!test? ( test )" RDEPEND=" >=app-text/djvu-3.5.21:= diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild index 1b3b34c9947d..549b587cee2b 100644 --- a/app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild +++ b/app-text/pdf2djvu/pdf2djvu-0.9.12.ebuild @@ -15,6 +15,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+graphicsmagick nls openmp test" +RESTRICT="!test? ( test )" RDEPEND=" >=app-text/djvu-3.5.21:= diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.8.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.8.ebuild index 84bd0e4be6ee..cc21c69c5ee5 100644 --- a/app-text/pdf2djvu/pdf2djvu-0.9.8.ebuild +++ b/app-text/pdf2djvu/pdf2djvu-0.9.8.ebuild @@ -15,6 +15,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+graphicsmagick nls openmp test" +RESTRICT="!test? ( test )" RDEPEND=" >=app-text/djvu-3.5.21:= diff --git a/app-text/pdfgrep/pdfgrep-1.4.1-r1.ebuild b/app-text/pdfgrep/pdfgrep-1.4.1-r1.ebuild index b3ac59a28b3d..bd8de67b356e 100644 --- a/app-text/pdfgrep/pdfgrep-1.4.1-r1.ebuild +++ b/app-text/pdfgrep/pdfgrep-1.4.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 @@ -11,6 +11,7 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 x86" IUSE="+pcre test unac" +RESTRICT="!test? ( test )" RDEPEND=" app-text/poppler:=[cxx] diff --git a/app-text/pdfgrep/pdfgrep-2.0.1.ebuild b/app-text/pdfgrep/pdfgrep-2.0.1.ebuild index 94665a7d2fba..1d7d8f6ab178 100644 --- a/app-text/pdfgrep/pdfgrep-2.0.1.ebuild +++ b/app-text/pdfgrep/pdfgrep-2.0.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 @@ -11,6 +11,7 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 x86" IUSE="+pcre test unac" +RESTRICT="!test? ( test )" RDEPEND=" app-text/poppler:=[cxx] diff --git a/app-text/pdfgrep/pdfgrep-2.1.2.ebuild b/app-text/pdfgrep/pdfgrep-2.1.2.ebuild index 41a8ff10f22f..d92566b9852c 100644 --- a/app-text/pdfgrep/pdfgrep-2.1.2.ebuild +++ b/app-text/pdfgrep/pdfgrep-2.1.2.ebuild @@ -11,6 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+pcre test unac" +RESTRICT="!test? ( test )" RDEPEND=" app-text/poppler:=[cxx] diff --git a/app-text/pdfminer/pdfminer-20140328-r1.ebuild b/app-text/pdfminer/pdfminer-20140328-r1.ebuild index 2fc3e5eeaed6..8f6b64eac22e 100644 --- a/app-text/pdfminer/pdfminer-20140328-r1.ebuild +++ b/app-text/pdfminer/pdfminer-20140328-r1.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 @@ -14,6 +14,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc examples test" +RESTRICT="!test? ( test )" python_compile_all(){ use examples && emake -C samples all diff --git a/app-text/pdfminer/pdfminer-20191020.ebuild b/app-text/pdfminer/pdfminer-20191020.ebuild index 77050f5937cf..f15e077d5f14 100644 --- a/app-text/pdfminer/pdfminer-20191020.ebuild +++ b/app-text/pdfminer/pdfminer-20191020.ebuild @@ -15,6 +15,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc examples test" +RESTRICT="!test? ( test )" BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]" diff --git a/app-text/peg-markdown/peg-markdown-0.4.14.ebuild b/app-text/peg-markdown/peg-markdown-0.4.14.ebuild index 10e5d2c0581c..66f95d01bb91 100644 --- a/app-text/peg-markdown/peg-markdown-0.4.14.ebuild +++ b/app-text/peg-markdown/peg-markdown-0.4.14.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 @@ -11,6 +11,7 @@ LICENSE="|| ( GPL-2 MIT )" SLOT="0" KEYWORDS="~amd64" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/glib:2" DEPEND="${RDEPEND} diff --git a/app-text/pelican/pelican-3.7.1.ebuild b/app-text/pelican/pelican-3.7.1.ebuild index af10a1759f36..ba77960ce0dc 100644 --- a/app-text/pelican/pelican-3.7.1.ebuild +++ b/app-text/pelican/pelican-3.7.1.ebuild @@ -14,6 +14,7 @@ LICENSE="AGPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="doc examples markdown test" +RESTRICT="!test? ( test )" DEPEND=">=dev-python/feedgenerator-1.9[${PYTHON_USEDEP}] >=dev-python/jinja-2.7[${PYTHON_USEDEP}] diff --git a/app-text/po4a/po4a-0.47-r1.ebuild b/app-text/po4a/po4a-0.47-r1.ebuild index 03f447d5d513..c6cb0275ca5b 100644 --- a/app-text/po4a/po4a-0.47-r1.ebuild +++ b/app-text/po4a/po4a-0.47-r1.ebuild @@ -16,6 +16,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="app-text/openjade dev-libs/libxslt diff --git a/app-text/po4a/po4a-0.55.ebuild b/app-text/po4a/po4a-0.55.ebuild index 0fe06ed676c8..1ed363d2ffee 100644 --- a/app-text/po4a/po4a-0.55.ebuild +++ b/app-text/po4a/po4a-0.55.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="app-text/opensp dev-libs/libxslt diff --git a/app-text/po4a/po4a-0.56.ebuild b/app-text/po4a/po4a-0.56.ebuild index c4c7d79c9443..3cf5d3d570b0 100644 --- a/app-text/po4a/po4a-0.56.ebuild +++ b/app-text/po4a/po4a-0.56.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="app-text/opensp dev-libs/libxslt diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild b/app-text/podofo/podofo-0.9.6_p20180715.ebuild index afde927a0cf1..667a02839159 100644 --- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild +++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild @@ -12,6 +12,7 @@ LICENSE="GPL-2 LGPL-2.1" SLOT="0/${PV%_*}" KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86" IUSE="+boost idn libressl debug test +tools" +RESTRICT="!test? ( test )" REQUIRED_USE="test? ( tools )" RDEPEND="dev-lang/lua:= diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild index a75c43638425..bbed6ce6bb91 100644 --- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild +++ b/app-text/podofo/podofo-0.9.6_pre20170508-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 @@ -12,6 +12,7 @@ LICENSE="GPL-2 LGPL-2.1" SLOT="0/${PVR}" KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86" IUSE="+boost idn libressl debug test +tools" +RESTRICT="!test? ( test )" REQUIRED_USE="test? ( tools )" RDEPEND="dev-lang/lua:= diff --git a/app-text/podofo/podofo-0.9.6_pre20171027.ebuild b/app-text/podofo/podofo-0.9.6_pre20171027.ebuild index b7e200e657a7..4c9b80bd810b 100644 --- a/app-text/podofo/podofo-0.9.6_pre20171027.ebuild +++ b/app-text/podofo/podofo-0.9.6_pre20171027.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 @@ -12,6 +12,7 @@ LICENSE="GPL-2 LGPL-2.1" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="+boost idn libressl debug test +tools" +RESTRICT="!test? ( test )" REQUIRED_USE="test? ( tools )" RDEPEND="dev-lang/lua:= diff --git a/app-text/pytextile/pytextile-2.3.3.ebuild b/app-text/pytextile/pytextile-2.3.3.ebuild index 222e6d2ff4a2..4c257b78c7e3 100644 --- a/app-text/pytextile/pytextile-2.3.3.ebuild +++ b/app-text/pytextile/pytextile-2.3.3.ebuild @@ -17,6 +17,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ppc ppc64 sparc x86" IUSE="test" +RESTRICT="!test? ( test )" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] dev-python/pytest-runner[${PYTHON_USEDEP}] diff --git a/app-text/pytextile/pytextile-3.0.3.ebuild b/app-text/pytextile/pytextile-3.0.3.ebuild index d06e62c366e2..06069bbdd49c 100644 --- a/app-text/pytextile/pytextile-3.0.3.ebuild +++ b/app-text/pytextile/pytextile-3.0.3.ebuild @@ -17,6 +17,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" dev-python/html5lib[${PYTHON_USEDEP}] diff --git a/app-text/referencer/referencer-1.2.2-r1.ebuild b/app-text/referencer/referencer-1.2.2-r1.ebuild index 6e6d213af97b..aec67160a1d3 100644 --- a/app-text/referencer/referencer-1.2.2-r1.ebuild +++ b/app-text/referencer/referencer-1.2.2-r1.ebuild @@ -15,6 +15,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" +RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" diff --git a/app-text/sdcv/sdcv-0.5.2.ebuild b/app-text/sdcv/sdcv-0.5.2.ebuild index 59a8f62a0b14..fad5dbbdeee0 100644 --- a/app-text/sdcv/sdcv-0.5.2.ebuild +++ b/app-text/sdcv/sdcv-0.5.2.ebuild @@ -16,6 +16,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="darkterm nls readline test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/glib-2.6.1 diff --git a/app-text/unac/unac-1.8.0.ebuild b/app-text/unac/unac-1.8.0.ebuild index f5dfcb76a2fb..72fcf4f08e3f 100644 --- a/app-text/unac/unac-1.8.0.ebuild +++ b/app-text/unac/unac-1.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 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" IUSE="static-libs test" +RESTRICT="!test? ( test )" RDEPEND="virtual/libiconv" DEPEND="${RDEPEND} diff --git a/app-text/wdiff/wdiff-1.2.2-r1.ebuild b/app-text/wdiff/wdiff-1.2.2-r1.ebuild index 1690a2a05365..b1cbdec41d11 100644 --- a/app-text/wdiff/wdiff-1.2.2-r1.ebuild +++ b/app-text/wdiff/wdiff-1.2.2-r1.ebuild @@ -11,6 +11,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" IUSE="experimental test" +RESTRICT="!test? ( test )" RDEPEND=" sys-apps/diffutils diff --git a/app-text/wdiff/wdiff-1.2.2.ebuild b/app-text/wdiff/wdiff-1.2.2.ebuild index 3dc14fe01f8d..da067814bd80 100644 --- a/app-text/wdiff/wdiff-1.2.2.ebuild +++ b/app-text/wdiff/wdiff-1.2.2.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 @@ -11,6 +11,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" IUSE="experimental test" +RESTRICT="!test? ( test )" RDEPEND=" sys-apps/diffutils |