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-db/mongodb | |
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-db/mongodb')
-rw-r--r-- | dev-db/mongodb/mongodb-3.6.13.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-3.6.14.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-3.6.8.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.0.10.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.0.12.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.0.13.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.2.0-r2.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.2.1.ebuild | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/dev-db/mongodb/mongodb-3.6.13.ebuild b/dev-db/mongodb/mongodb-3.6.13.ebuild index 4fb9536e58f4..88e6596fe833 100644 --- a/dev-db/mongodb/mongodb-3.6.13.ebuild +++ b/dev-db/mongodb/mongodb-3.6.13.ebuild @@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND=">=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= diff --git a/dev-db/mongodb/mongodb-3.6.14.ebuild b/dev-db/mongodb/mongodb-3.6.14.ebuild index b63d5ceeb560..346c4039a335 100644 --- a/dev-db/mongodb/mongodb-3.6.14.ebuild +++ b/dev-db/mongodb/mongodb-3.6.14.ebuild @@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="~amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND="acct-group/mongodb acct-user/mongodb diff --git a/dev-db/mongodb/mongodb-3.6.8.ebuild b/dev-db/mongodb/mongodb-3.6.8.ebuild index 3f1b10dc84fd..e2c2033998d7 100644 --- a/dev-db/mongodb/mongodb-3.6.8.ebuild +++ b/dev-db/mongodb/mongodb-3.6.8.ebuild @@ -22,6 +22,7 @@ LICENSE="AGPL-3 Apache-2.0" SLOT="0" KEYWORDS="amd64" IUSE="debug kerberos libressl mms-agent ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND=">=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= diff --git a/dev-db/mongodb/mongodb-4.0.10.ebuild b/dev-db/mongodb/mongodb-4.0.10.ebuild index ad10fd71e28a..5a035ec23440 100644 --- a/dev-db/mongodb/mongodb-4.0.10.ebuild +++ b/dev-db/mongodb/mongodb-4.0.10.ebuild @@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND=">=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= diff --git a/dev-db/mongodb/mongodb-4.0.12.ebuild b/dev-db/mongodb/mongodb-4.0.12.ebuild index 2792ff470fe4..1aac4e77094e 100644 --- a/dev-db/mongodb/mongodb-4.0.12.ebuild +++ b/dev-db/mongodb/mongodb-4.0.12.ebuild @@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND=">=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= diff --git a/dev-db/mongodb/mongodb-4.0.13.ebuild b/dev-db/mongodb/mongodb-4.0.13.ebuild index 74236bf4fa1e..ef4bca699aab 100644 --- a/dev-db/mongodb/mongodb-4.0.13.ebuild +++ b/dev-db/mongodb/mongodb-4.0.13.ebuild @@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="~amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND="acct-group/mongodb acct-user/mongodb diff --git a/dev-db/mongodb/mongodb-4.2.0-r2.ebuild b/dev-db/mongodb/mongodb-4.2.0-r2.ebuild index 23f844c5069c..bbb765a7566c 100644 --- a/dev-db/mongodb/mongodb-4.2.0-r2.ebuild +++ b/dev-db/mongodb/mongodb-4.2.0-r2.ebuild @@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="~amd64" IUSE="debug kerberos libressl lto ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND=">=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.6.2:= diff --git a/dev-db/mongodb/mongodb-4.2.1.ebuild b/dev-db/mongodb/mongodb-4.2.1.ebuild index 6e7959885f0b..42fec3063700 100644 --- a/dev-db/mongodb/mongodb-4.2.1.ebuild +++ b/dev-db/mongodb/mongodb-4.2.1.ebuild @@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="~amd64" IUSE="debug kerberos libressl lto ssl test +tools" +RESTRICT="!test? ( test )" RDEPEND="acct-group/mongodb acct-user/mongodb |