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 /sys-devel/binutils-apple | |
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 'sys-devel/binutils-apple')
10 files changed, 10 insertions, 0 deletions
diff --git a/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild b/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild index b22d2eadae76..f959d52dadb7 100644 --- a/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild @@ -24,6 +24,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test multitarget" +RESTRICT="!test? ( test )" RDEPEND="sys-devel/binutils-config lto? ( sys-devel/llvm:* )" diff --git a/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild index 8054c9ae0d53..e2bead82b9e7 100644 --- a/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild @@ -23,6 +23,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test libcxx multitarget" +RESTRICT="!test? ( test )" RDEPEND="sys-devel/binutils-config lto? ( sys-devel/llvm:* ) diff --git a/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild index 8d7aa6d2cf36..3e68d58f0b9f 100644 --- a/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild @@ -24,6 +24,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test libcxx multitarget" +RESTRICT="!test? ( test )" RDEPEND="sys-devel/binutils-config lto? ( sys-devel/llvm:* ) diff --git a/sys-devel/binutils-apple/binutils-apple-6.3-r2.ebuild b/sys-devel/binutils-apple/binutils-apple-6.3-r2.ebuild index c84b2b5c8f2d..2471067df89b 100644 --- a/sys-devel/binutils-apple/binutils-apple-6.3-r2.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-6.3-r2.ebuild @@ -25,6 +25,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test libcxx multitarget" +RESTRICT="!test? ( test )" RDEPEND="sys-devel/binutils-config lto? ( sys-devel/llvm:* ) diff --git a/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild index 6082903fa5af..26cdc62a049f 100644 --- a/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild @@ -26,6 +26,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test multitarget" +RESTRICT="!test? ( test )" # ld64 can now only be compiled using llvm and libc++ since it massivley uses # C++11 language fatures. *But additionally* the as driver now defaults to diff --git a/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild index 98eccefbd990..1726e46df84b 100644 --- a/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild @@ -26,6 +26,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test multitarget" +RESTRICT="!test? ( test )" # ld64 can now only be compiled using llvm and libc++ since it massivley uses # C++11 language fatures. *But additionally* the as driver now defaults to diff --git a/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild index ac2ac3a6ec47..2c95149c0179 100644 --- a/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild @@ -27,6 +27,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test multitarget" +RESTRICT="!test? ( test )" # ld64 can now only be compiled using llvm and libc++ since it massivley uses # C++11 language fatures. *But additionally* the as driver now defaults to diff --git a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild index b903419b7ccf..6c1ac5689e24 100644 --- a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild @@ -28,6 +28,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="lto test multitarget" +RESTRICT="!test? ( test )" # ld64 can now only be compiled using llvm and libc++ since it massively uses # C++11 language features. *But additionally* the as driver now defaults to diff --git a/sys-devel/binutils-apple/binutils-apple-8.1.ebuild b/sys-devel/binutils-apple/binutils-apple-8.1.ebuild index 0658f9816910..ba6816417faf 100644 --- a/sys-devel/binutils-apple/binutils-apple-8.1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-8.1.ebuild @@ -24,6 +24,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~x64-macos ~x86-macos" IUSE="lto tapi classic test" +RESTRICT="!test? ( test )" # ld64 can now only be compiled using llvm and libc++ since it massively uses # C++11 language features. *But additionally* the as driver now defaults to diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild index 7df83c36da89..2ff38c2b3909 100644 --- a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild @@ -23,6 +23,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~x64-macos ~x86-macos" IUSE="lto tapi classic test" +RESTRICT="!test? ( test )" # ld64 can now only be compiled using llvm and libc++ since it massively uses # C++11 language features. *But additionally* the as driver now defaults to |