From 064af661d0c9a31cecdf348632bc5603333a9149 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 10 Dec 2019 23:02:54 +0100 Subject: */*: [QA] Fix trivial cases of MissingTestRestrict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Closes: https://github.com/gentoo/gentoo/pull/13942 Signed-off-by: Michał Górny --- net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild | 3 ++- net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild | 3 ++- net-dns/opendnssec/opendnssec-1.4.8.2.ebuild | 3 ++- net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild | 3 ++- net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild | 1 + 5 files changed, 9 insertions(+), 4 deletions(-) (limited to 'net-dns/opendnssec') diff --git a/net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild b/net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild index d4bfd0296b7c..c29c6bf1ac7b 100644 --- a/net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-1.3.18-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 @@ -15,6 +15,7 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="-auditor +curl debug doc eppclient mysql +signer +sqlite test ${PKCS11_IUSE}" +RESTRICT="!test? ( test )" RDEPEND=" dev-lang/perl diff --git a/net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild b/net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild index 68d85cf8be58..61d2ca9f1014 100644 --- a/net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-1.4.12-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 @@ -15,6 +15,7 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug doc +mysql +signer sqlite test ${PKCS11_IUSE}" +RESTRICT="!test? ( test )" RDEPEND=" dev-lang/perl diff --git a/net-dns/opendnssec/opendnssec-1.4.8.2.ebuild b/net-dns/opendnssec/opendnssec-1.4.8.2.ebuild index c83f258bb104..271869383a54 100644 --- a/net-dns/opendnssec/opendnssec-1.4.8.2.ebuild +++ b/net-dns/opendnssec/opendnssec-1.4.8.2.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 @@ -15,6 +15,7 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug doc +mysql +signer sqlite test ${PKCS11_IUSE}" +RESTRICT="!test? ( test )" RDEPEND=" dev-lang/perl diff --git a/net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild b/net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild index f4ecf0b3f3eb..4802edd1581e 100644 --- a/net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-2.0.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 @@ -15,6 +15,7 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug doc +mysql readline +signer sqlite test ${PKCS11_IUSE}" +RESTRICT="!test? ( test )" RDEPEND=" dev-lang/perl diff --git a/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild b/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild index d8769127684e..71ed1ff5e73b 100644 --- a/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild @@ -15,6 +15,7 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug doc +mysql readline +signer sqlite test ${PKCS11_IUSE}" +RESTRICT="!test? ( test )" RDEPEND=" dev-lang/perl -- cgit v1.2.3-65-gdbad