aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2020-01-28 13:14:19 -0600
committerJory Pratt <anarchy@gentoo.org>2020-01-28 13:14:19 -0600
commit75077f2c46d5c86c238d0dcedf9953d3e0ef4a79 (patch)
tree4bbbefc88c3ac0fd9700f4dc6e5b10fe286c9adc /sys-auth
parentdev-libs/weston: adjust cairo dep (diff)
downloadmusl-75077f2c46d5c86c238d0dcedf9953d3e0ef4a79.tar.gz
musl-75077f2c46d5c86c238d0dcedf9953d3e0ef4a79.tar.bz2
musl-75077f2c46d5c86c238d0dcedf9953d3e0ef4a79.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. Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/polkit-0.115-r3.ebuild1
-rw-r--r--sys-auth/polkit/polkit-0.115-r4.ebuild1
-rw-r--r--sys-auth/polkit/polkit-0.116-r1.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys-auth/polkit/polkit-0.115-r3.ebuild b/sys-auth/polkit/polkit-0.115-r3.ebuild
index e3cecd4b..51680ce6 100644
--- a/sys-auth/polkit/polkit-0.115-r3.ebuild
+++ b/sys-auth/polkit/polkit-0.115-r3.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~mips ~ppc x86"
IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="?? ( elogind systemd )"
diff --git a/sys-auth/polkit/polkit-0.115-r4.ebuild b/sys-auth/polkit/polkit-0.115-r4.ebuild
index 9ca0170a..a8b9274b 100644
--- a/sys-auth/polkit/polkit-0.115-r4.ebuild
+++ b/sys-auth/polkit/polkit-0.115-r4.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~mips ~ppc x86"
IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux systemd test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="^^ ( consolekit elogind systemd )"
diff --git a/sys-auth/polkit/polkit-0.116-r1.ebuild b/sys-auth/polkit/polkit-0.116-r1.ebuild
index 0d0d3a78..a476e4f6 100644
--- a/sys-auth/polkit/polkit-0.116-r1.ebuild
+++ b/sys-auth/polkit/polkit-0.116-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux systemd test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="^^ ( consolekit elogind systemd )"