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 /app-emulation | |
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 'app-emulation')
-rw-r--r-- | app-emulation/cloud-init/cloud-init-18.4-r1.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/cloud-init/cloud-init-18.5.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/cloud-init/cloud-init-9999.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/faudio/faudio-19.06.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/faudio/faudio-19.09.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/faudio/faudio-9999.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/ganeti/ganeti-2.15.2-r8.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/ganeti/ganeti-2.17.0_beta1.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/libguestfs/libguestfs-1.36.13.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/libguestfs/libguestfs-1.36.15.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/libguestfs/libguestfs-1.38.6.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/lxd/lxd-3.14.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/sen/sen-0.6.0.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/sen/sen-0.6.1.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/winetricks/winetricks-20190912.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/winetricks/winetricks-99999999.ebuild | 1 |
17 files changed, 17 insertions, 0 deletions
diff --git a/app-emulation/cloud-init/cloud-init-18.4-r1.ebuild b/app-emulation/cloud-init/cloud-init-18.4-r1.ebuild index 8065d2ed4720..bcf44e1e85d3 100644 --- a/app-emulation/cloud-init/cloud-init-18.4-r1.ebuild +++ b/app-emulation/cloud-init/cloud-init-18.4-r1.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" +RESTRICT="!test? ( test )" CDEPEND=" dev-python/jinja[${PYTHON_USEDEP}] diff --git a/app-emulation/cloud-init/cloud-init-18.5.ebuild b/app-emulation/cloud-init/cloud-init-18.5.ebuild index 51b52e32d6e9..eca1e9662d9f 100644 --- a/app-emulation/cloud-init/cloud-init-18.5.ebuild +++ b/app-emulation/cloud-init/cloud-init-18.5.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" +RESTRICT="!test? ( test )" CDEPEND=" dev-python/jinja[${PYTHON_USEDEP}] diff --git a/app-emulation/cloud-init/cloud-init-9999.ebuild b/app-emulation/cloud-init/cloud-init-9999.ebuild index b5415723a60e..d573cb307977 100644 --- a/app-emulation/cloud-init/cloud-init-9999.ebuild +++ b/app-emulation/cloud-init/cloud-init-9999.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="" IUSE="test" +RESTRICT="!test? ( test )" CDEPEND=" dev-python/jinja[${PYTHON_USEDEP}] diff --git a/app-emulation/faudio/faudio-19.06.ebuild b/app-emulation/faudio/faudio-19.06.ebuild index 5c40e2ec7566..b776945034dd 100644 --- a/app-emulation/faudio/faudio-19.06.ebuild +++ b/app-emulation/faudio/faudio-19.06.ebuild @@ -27,6 +27,7 @@ LICENSE="ZLIB" SLOT="0" IUSE="+abi_x86_32 +abi_x86_64 debug ffmpeg xnasong test utils" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )" COMMON_DEPEND=" diff --git a/app-emulation/faudio/faudio-19.09.ebuild b/app-emulation/faudio/faudio-19.09.ebuild index 5c40e2ec7566..b776945034dd 100644 --- a/app-emulation/faudio/faudio-19.09.ebuild +++ b/app-emulation/faudio/faudio-19.09.ebuild @@ -27,6 +27,7 @@ LICENSE="ZLIB" SLOT="0" IUSE="+abi_x86_32 +abi_x86_64 debug ffmpeg xnasong test utils" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )" COMMON_DEPEND=" diff --git a/app-emulation/faudio/faudio-9999.ebuild b/app-emulation/faudio/faudio-9999.ebuild index 5c40e2ec7566..b776945034dd 100644 --- a/app-emulation/faudio/faudio-9999.ebuild +++ b/app-emulation/faudio/faudio-9999.ebuild @@ -27,6 +27,7 @@ LICENSE="ZLIB" SLOT="0" IUSE="+abi_x86_32 +abi_x86_64 debug ffmpeg xnasong test utils" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )" COMMON_DEPEND=" diff --git a/app-emulation/ganeti/ganeti-2.15.2-r8.ebuild b/app-emulation/ganeti/ganeti-2.15.2-r8.ebuild index 33cb8d9e495f..886e0a9ebaec 100644 --- a/app-emulation/ganeti/ganeti-2.15.2-r8.ebuild +++ b/app-emulation/ganeti/ganeti-2.15.2-r8.ebuild @@ -56,6 +56,7 @@ HOMEPAGE="http://www.ganeti.org/" LICENSE="GPL-2" SLOT="0" IUSE="drbd experimental haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen restricted-commands" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( kvm xen lxc ) test? ( ipv6 ) diff --git a/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild b/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild index 7902fba92c36..2a860fdfd716 100644 --- a/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild +++ b/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild @@ -41,6 +41,7 @@ HOMEPAGE="http://www.ganeti.org/" LICENSE="GPL-2" SLOT="0" IUSE="drbd experimental haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen restricted-commands" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( kvm xen lxc ) test? ( ipv6 ) diff --git a/app-emulation/ganeti/ganeti-2.17.0_beta1.ebuild b/app-emulation/ganeti/ganeti-2.17.0_beta1.ebuild index 053c5aff28a1..ef5c738ba9be 100644 --- a/app-emulation/ganeti/ganeti-2.17.0_beta1.ebuild +++ b/app-emulation/ganeti/ganeti-2.17.0_beta1.ebuild @@ -41,6 +41,7 @@ HOMEPAGE="http://www.ganeti.org/" LICENSE="GPL-2" SLOT="0" IUSE="drbd experimental haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen restricted-commands" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( kvm xen lxc ) test? ( ipv6 ) diff --git a/app-emulation/libguestfs/libguestfs-1.36.13.ebuild b/app-emulation/libguestfs/libguestfs-1.36.13.ebuild index e73ca816d645..16e538be3cb4 100644 --- a/app-emulation/libguestfs/libguestfs-1.36.13.ebuild +++ b/app-emulation/libguestfs/libguestfs-1.36.13.ebuild @@ -20,6 +20,7 @@ SLOT="0/"${MY_PV_1}"" KEYWORDS="~amd64" IUSE="bash-completion debug doc erlang +fuse gtk inspect-icons introspection lua ocaml +perl python ruby selinux static-libs systemtap test" +RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/app-emulation/libguestfs/libguestfs-1.36.15.ebuild b/app-emulation/libguestfs/libguestfs-1.36.15.ebuild index c79d9557ecb5..e5873115439e 100644 --- a/app-emulation/libguestfs/libguestfs-1.36.15.ebuild +++ b/app-emulation/libguestfs/libguestfs-1.36.15.ebuild @@ -20,6 +20,7 @@ SLOT="0/"${MY_PV_1}"" KEYWORDS="~amd64" IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua ocaml +perl python ruby selinux static-libs systemtap test" +RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/app-emulation/libguestfs/libguestfs-1.38.6.ebuild b/app-emulation/libguestfs/libguestfs-1.38.6.ebuild index 2bc6b5cb0d6c..84afdbc5ad9a 100644 --- a/app-emulation/libguestfs/libguestfs-1.38.6.ebuild +++ b/app-emulation/libguestfs/libguestfs-1.38.6.ebuild @@ -20,6 +20,7 @@ SLOT="0/"${MY_PV_1}"" KEYWORDS="~amd64" IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua ocaml +perl python ruby selinux static-libs systemtap test" +RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/app-emulation/lxd/lxd-3.14.ebuild b/app-emulation/lxd/lxd-3.14.ebuild index 4d7ff49b9d13..3639d12ad028 100644 --- a/app-emulation/lxd/lxd-3.14.ebuild +++ b/app-emulation/lxd/lxd-3.14.ebuild @@ -11,6 +11,7 @@ SLOT="0" KEYWORDS="amd64" IUSE="+daemon +ipv6 +dnsmasq nls test tools" +RESTRICT="!test? ( test )" inherit autotools bash-completion-r1 linux-info systemd user diff --git a/app-emulation/sen/sen-0.6.0.ebuild b/app-emulation/sen/sen-0.6.0.ebuild index d8c239c34073..1be5b7a36e50 100644 --- a/app-emulation/sen/sen-0.6.0.ebuild +++ b/app-emulation/sen/sen-0.6.0.ebuild @@ -15,6 +15,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/urwid[${PYTHON_USEDEP}] dev-python/urwidtrees[${PYTHON_USEDEP}] diff --git a/app-emulation/sen/sen-0.6.1.ebuild b/app-emulation/sen/sen-0.6.1.ebuild index a1159468c541..99d912fdad0c 100644 --- a/app-emulation/sen/sen-0.6.1.ebuild +++ b/app-emulation/sen/sen-0.6.1.ebuild @@ -15,6 +15,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/urwid[${PYTHON_USEDEP}] dev-python/urwidtrees[${PYTHON_USEDEP}] diff --git a/app-emulation/winetricks/winetricks-20190912.ebuild b/app-emulation/winetricks/winetricks-20190912.ebuild index dab00adc9eb3..3cb7eb82c4b2 100644 --- a/app-emulation/winetricks/winetricks-20190912.ebuild +++ b/app-emulation/winetricks/winetricks-20190912.ebuild @@ -27,6 +27,7 @@ HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winet LICENSE="LGPL-2.1+" SLOT="0" IUSE="gtk kde rar test" +RESTRICT="!test? ( test )" BDEPEND=" test? ( diff --git a/app-emulation/winetricks/winetricks-99999999.ebuild b/app-emulation/winetricks/winetricks-99999999.ebuild index 900a5b539221..b189cfcbaca7 100644 --- a/app-emulation/winetricks/winetricks-99999999.ebuild +++ b/app-emulation/winetricks/winetricks-99999999.ebuild @@ -27,6 +27,7 @@ HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winet LICENSE="LGPL-2.1+" SLOT="0" IUSE="gtk kde rar test" +RESTRICT="!test? ( test )" BDEPEND=" test? ( |