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 /gnome-base | |
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 'gnome-base')
-rw-r--r-- | gnome-base/gdm/gdm-3.30.3-r3.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/gdm/gdm-3.32.0.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/gnome-keyring/gnome-keyring-3.28.2.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/gnome-keyring/gnome-keyring-3.31.91-r1.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild | 3 | ||||
-rw-r--r-- | gnome-base/gvfs/gvfs-1.38.3.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/gvfs/gvfs-1.40.2.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/libbonoboui/libbonoboui-2.24.5-r1.ebuild | 3 | ||||
-rw-r--r-- | gnome-base/libglade/libglade-2.6.4-r2.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/libgnomekbd/libgnomekbd-3.26.1.ebuild | 1 | ||||
-rw-r--r-- | gnome-base/libgnomeui/libgnomeui-2.24.5-r1.ebuild | 3 | ||||
-rw-r--r-- | gnome-base/orbit/orbit-2.14.19-r5.ebuild | 1 |
13 files changed, 16 insertions, 3 deletions
diff --git a/gnome-base/gdm/gdm-3.30.3-r3.ebuild b/gnome-base/gdm/gdm-3.30.3-r3.ebuild index ffe2b15b7151..2f4a5cbe291b 100644 --- a/gnome-base/gdm/gdm-3.30.3-r3.ebuild +++ b/gnome-base/gdm/gdm-3.30.3-r3.ebuild @@ -22,6 +22,7 @@ LICENSE=" SLOT="0" IUSE="accessibility audit bluetooth-sound branding elogind fprint +introspection ipv6 plymouth selinux smartcard systemd tcpd test wayland xinerama" +RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh x86" diff --git a/gnome-base/gdm/gdm-3.32.0.ebuild b/gnome-base/gdm/gdm-3.32.0.ebuild index 737599bc3e4d..9512c3a85340 100644 --- a/gnome-base/gdm/gdm-3.32.0.ebuild +++ b/gnome-base/gdm/gdm-3.32.0.ebuild @@ -22,6 +22,7 @@ LICENSE=" SLOT="0" IUSE="accessibility audit bluetooth-sound branding elogind fprint +introspection ipv6 plymouth selinux smartcard systemd tcpd test wayland xinerama" +RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh x86" diff --git a/gnome-base/gnome-keyring/gnome-keyring-3.28.2.ebuild b/gnome-base/gnome-keyring/gnome-keyring-3.28.2.ebuild index d9ad273fc78a..42e5bc533053 100644 --- a/gnome-base/gnome-keyring/gnome-keyring-3.28.2.ebuild +++ b/gnome-base/gnome-keyring/gnome-keyring-3.28.2.ebuild @@ -13,6 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring" LICENSE="GPL-2+ LGPL-2+" SLOT="0" IUSE="+caps pam selinux +ssh-agent test" +RESTRICT="!test? ( test )" KEYWORDS="alpha amd64 arm arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" # Replace gkd gpg-agent with pinentry[gnome-keyring] one, bug #547456 diff --git a/gnome-base/gnome-keyring/gnome-keyring-3.31.91-r1.ebuild b/gnome-base/gnome-keyring/gnome-keyring-3.31.91-r1.ebuild index a3ae78e9fa06..5b4c89f63339 100644 --- a/gnome-base/gnome-keyring/gnome-keyring-3.31.91-r1.ebuild +++ b/gnome-base/gnome-keyring/gnome-keyring-3.31.91-r1.ebuild @@ -13,6 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring" LICENSE="GPL-2+ LGPL-2+" SLOT="0" IUSE="+caps pam selinux +ssh-agent test" +RESTRICT="!test? ( test )" KEYWORDS="alpha amd64 ~arm arm64 ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" # Replace gkd gpg-agent with pinentry[gnome-keyring] one, bug #547456 diff --git a/gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild b/gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild index 44fe31b2cc9c..b569324415cd 100644 --- a/gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild +++ b/gnome-base/gnome-menus/gnome-menus-3.13.3-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" @@ -14,6 +14,7 @@ SLOT="3" KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="+introspection test" +RESTRICT="!test? ( test )" COMMON_DEPEND=" >=dev-libs/glib-2.29.15:2 diff --git a/gnome-base/gvfs/gvfs-1.38.3.ebuild b/gnome-base/gvfs/gvfs-1.38.3.ebuild index 65dbe146f6b0..5cd798af7346 100644 --- a/gnome-base/gvfs/gvfs-1.38.3.ebuild +++ b/gnome-base/gvfs/gvfs-1.38.3.ebuild @@ -12,6 +12,7 @@ LICENSE="LGPL-2+" SLOT="0" IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 +http ios mtp nfs policykit samba systemd test +udev udisks zeroconf" +RESTRICT="!test? ( test )" # elogind/systemd only relevant to udisks (in v1.38.1) REQUIRED_USE=" ?? ( elogind systemd ) diff --git a/gnome-base/gvfs/gvfs-1.40.2.ebuild b/gnome-base/gvfs/gvfs-1.40.2.ebuild index b6dca3188ebf..e86efb195624 100644 --- a/gnome-base/gvfs/gvfs-1.40.2.ebuild +++ b/gnome-base/gvfs/gvfs-1.40.2.ebuild @@ -12,6 +12,7 @@ LICENSE="LGPL-2+" SLOT="0" IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 +http ios mtp nfs policykit samba systemd test +udev udisks zeroconf" +RESTRICT="!test? ( test )" # elogind/systemd only relevant to udisks (in v1.38.1) REQUIRED_USE=" ?? ( elogind systemd ) diff --git a/gnome-base/libbonoboui/libbonoboui-2.24.5-r1.ebuild b/gnome-base/libbonoboui/libbonoboui-2.24.5-r1.ebuild index 4ffc7b9fecd1..42a59a853994 100644 --- a/gnome-base/libbonoboui/libbonoboui-2.24.5-r1.ebuild +++ b/gnome-base/libbonoboui/libbonoboui-2.24.5-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="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" IUSE="examples test" +RESTRICT="!test? ( test )" # GTK+ dep due to bug #126565 RDEPEND=" diff --git a/gnome-base/libglade/libglade-2.6.4-r2.ebuild b/gnome-base/libglade/libglade-2.6.4-r2.ebuild index d70b6e70bcf2..fd0c16d5fdd6 100644 --- a/gnome-base/libglade/libglade-2.6.4-r2.ebuild +++ b/gnome-base/libglade/libglade-2.6.4-r2.ebuild @@ -19,6 +19,7 @@ LICENSE="LGPL-2" SLOT="2.0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="static-libs test tools" +RESTRICT="!test? ( test )" REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] diff --git a/gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild b/gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild index d5269092cc48..632aedc2150e 100644 --- a/gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild +++ b/gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild @@ -16,6 +16,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring" LICENSE="LGPL-2+ GPL-2+" # tests are GPL-2 SLOT="0" IUSE="debug +introspection test vala" +RESTRICT="!test? ( test )" REQUIRED_USE="vala? ( introspection )" KEYWORDS="alpha amd64 arm arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris" diff --git a/gnome-base/libgnomekbd/libgnomekbd-3.26.1.ebuild b/gnome-base/libgnomekbd/libgnomekbd-3.26.1.ebuild index fabd4ad7b2c4..0fb48653b8da 100644 --- a/gnome-base/libgnomekbd/libgnomekbd-3.26.1.ebuild +++ b/gnome-base/libgnomekbd/libgnomekbd-3.26.1.ebuild @@ -12,6 +12,7 @@ LICENSE="LGPL-2+" SLOT="0/8" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" IUSE="+introspection test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/glib-2.18:2 diff --git a/gnome-base/libgnomeui/libgnomeui-2.24.5-r1.ebuild b/gnome-base/libgnomeui/libgnomeui-2.24.5-r1.ebuild index beaff76d872e..54eda929c522 100644 --- a/gnome-base/libgnomeui/libgnomeui-2.24.5-r1.ebuild +++ b/gnome-base/libgnomeui/libgnomeui-2.24.5-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="LGPL-2" SLOT="0" KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" IUSE="test" +RESTRICT="!test? ( test )" # gtk+-2.14 dep instead of 2.12 ensures system doesn't loose VFS capabilities in GtkFilechooser RDEPEND=" diff --git a/gnome-base/orbit/orbit-2.14.19-r5.ebuild b/gnome-base/orbit/orbit-2.14.19-r5.ebuild index 9c20ea842bf6..48a4f1471b05 100644 --- a/gnome-base/orbit/orbit-2.14.19-r5.ebuild +++ b/gnome-base/orbit/orbit-2.14.19-r5.ebuild @@ -16,6 +16,7 @@ LICENSE="GPL-2 LGPL-2" SLOT="2" KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" IUSE="pic static-libs test" +RESTRICT="!test? ( test )" REQUIRED_USE="test? ( debug )" RDEPEND=">=dev-libs/glib-2.44.1-r1:2[${MULTILIB_USEDEP}] |