summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-10 23:02:54 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-11 00:22:38 +0100
commit064af661d0c9a31cecdf348632bc5603333a9149 (patch)
tree2202373a7cafcb8a761d32747d4f62263aed64d5 /media-sound
parentdev-python/passlib: keyworded 1.7.1-r2 for hppa, bug #700918 (diff)
downloadgentoo-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 'media-sound')
-rw-r--r--media-sound/apulse/apulse-0.1.12-r4.ebuild3
-rw-r--r--media-sound/bluez-alsa/bluez-alsa-1.4.0.ebuild1
-rw-r--r--media-sound/bluez-alsa/bluez-alsa-2.0.0.ebuild1
-rw-r--r--media-sound/bluez-alsa/bluez-alsa-9999.ebuild1
-rw-r--r--media-sound/clementine/clementine-9999.ebuild1
-rw-r--r--media-sound/easytag/easytag-2.4.3-r1.ebuild3
-rw-r--r--media-sound/flacon/flacon-4.1.0.ebuild3
-rw-r--r--media-sound/gpodder/gpodder-3.10.5.ebuild3
-rw-r--r--media-sound/gpodder/gpodder-3.9.1.ebuild3
-rw-r--r--media-sound/mpc/mpc-0.30.ebuild3
-rw-r--r--media-sound/rhythmbox/rhythmbox-3.4.3.ebuild1
-rw-r--r--media-sound/sound-juicer/sound-juicer-3.24.0.ebuild1
-rw-r--r--media-sound/whipper/whipper-0.7.3-r1.ebuild1
13 files changed, 19 insertions, 6 deletions
diff --git a/media-sound/apulse/apulse-0.1.12-r4.ebuild b/media-sound/apulse/apulse-0.1.12-r4.ebuild
index 5d0b6c1550a7..c91aa5a9d138 100644
--- a/media-sound/apulse/apulse-0.1.12-r4.ebuild
+++ b/media-sound/apulse/apulse-0.1.12-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug sdk test"
+RESTRICT="!test? ( test )"
DEPEND="dev-libs/glib:2[${MULTILIB_USEDEP}]
media-libs/alsa-lib[${MULTILIB_USEDEP}]
diff --git a/media-sound/bluez-alsa/bluez-alsa-1.4.0.ebuild b/media-sound/bluez-alsa/bluez-alsa-1.4.0.ebuild
index 6c33c4f7d936..ebcf1d253247 100644
--- a/media-sound/bluez-alsa/bluez-alsa-1.4.0.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-1.4.0.ebuild
@@ -18,6 +18,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="aac debug hcitop ldac ofono static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}]
>=media-libs/alsa-lib-1.1.2[${MULTILIB_USEDEP}]
diff --git a/media-sound/bluez-alsa/bluez-alsa-2.0.0.ebuild b/media-sound/bluez-alsa/bluez-alsa-2.0.0.ebuild
index 0e5b0d27ae84..32e9eef4fbc0 100644
--- a/media-sound/bluez-alsa/bluez-alsa-2.0.0.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-2.0.0.ebuild
@@ -18,6 +18,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="aac debug hcitop ldac ofono static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}]
>=media-libs/alsa-lib-1.1.2[${MULTILIB_USEDEP}]
diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
index 0e5b0d27ae84..32e9eef4fbc0 100644
--- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
@@ -18,6 +18,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="aac debug hcitop ldac ofono static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}]
>=media-libs/alsa-lib-1.1.2[${MULTILIB_USEDEP}]
diff --git a/media-sound/clementine/clementine-9999.ebuild b/media-sound/clementine/clementine-9999.ebuild
index 4feab71f0716..3efe963fe1b3 100644
--- a/media-sound/clementine/clementine-9999.ebuild
+++ b/media-sound/clementine/clementine-9999.ebuild
@@ -22,6 +22,7 @@ HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player
LICENSE="GPL-3"
SLOT="0"
IUSE="box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
udisks? ( dbus )
diff --git a/media-sound/easytag/easytag-2.4.3-r1.ebuild b/media-sound/easytag/easytag-2.4.3-r1.ebuild
index 630be7217fa0..7736f4dd65ab 100644
--- a/media-sound/easytag/easytag-2.4.3-r1.ebuild
+++ b/media-sound/easytag/easytag-2.4.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="flac mp3 mp4 nautilus opus speex test vorbis wavpack"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
opus? ( vorbis )
speex? ( vorbis )
diff --git a/media-sound/flacon/flacon-4.1.0.ebuild b/media-sound/flacon/flacon-4.1.0.ebuild
index 446aeca8ef6e..82b17e271799 100644
--- a/media-sound/flacon/flacon-4.1.0.ebuild
+++ b/media-sound/flacon/flacon-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -18,6 +18,7 @@ LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
app-i18n/uchardet
diff --git a/media-sound/gpodder/gpodder-3.10.5.ebuild b/media-sound/gpodder/gpodder-3.10.5.ebuild
index 6cc2606c98ba..bb7216eba8f5 100644
--- a/media-sound/gpodder/gpodder-3.10.5.ebuild
+++ b/media-sound/gpodder/gpodder-3.10.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="+dbus bluetooth kernel_linux mtp test"
+RESTRICT="!test? ( test )"
# As in Fedora: re-enable >=dev-python/eyeD3-0.7[${PYTHON_USEDEP}] and
# ipod? ( media-libs/libgpod[python,${PYTHON_USEDEP}] ) once they
diff --git a/media-sound/gpodder/gpodder-3.9.1.ebuild b/media-sound/gpodder/gpodder-3.9.1.ebuild
index 9f1d60ab836c..851a7af6e50e 100644
--- a/media-sound/gpodder/gpodder-3.9.1.ebuild
+++ b/media-sound/gpodder/gpodder-3.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,6 +17,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="+dbus bluetooth ipod kernel_linux mtp test"
+RESTRICT="!test? ( test )"
#TODO: Make pygtk optional, see README
COMMON_DEPEND="
diff --git a/media-sound/mpc/mpc-0.30.ebuild b/media-sound/mpc/mpc-0.30.ebuild
index f37f250a2c9d..70cabfb92a48 100644
--- a/media-sound/mpc/mpc-0.30.ebuild
+++ b/media-sound/mpc/mpc-0.30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ppc ppc64 ~sparc x86"
IUSE="iconv test"
+RESTRICT="!test? ( test )"
RDEPEND="media-libs/libmpdclient
iconv? ( virtual/libiconv )"
diff --git a/media-sound/rhythmbox/rhythmbox-3.4.3.ebuild b/media-sound/rhythmbox/rhythmbox-3.4.3.ebuild
index 03aac902565f..60e0573eb65d 100644
--- a/media-sound/rhythmbox/rhythmbox-3.4.3.ebuild
+++ b/media-sound/rhythmbox/rhythmbox-3.4.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="cdr daap dbus gnome-keyring ipod libnotify lirc mtp nsplugin +python test +udev upnp-av"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
ipod? ( udev )
mtp? ( udev )
diff --git a/media-sound/sound-juicer/sound-juicer-3.24.0.ebuild b/media-sound/sound-juicer/sound-juicer-3.24.0.ebuild
index 0af3611a9e9f..ed690672588a 100644
--- a/media-sound/sound-juicer/sound-juicer-3.24.0.ebuild
+++ b/media-sound/sound-juicer/sound-juicer-3.24.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="debug flac test vorbis"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="
app-text/iso-codes
diff --git a/media-sound/whipper/whipper-0.7.3-r1.ebuild b/media-sound/whipper/whipper-0.7.3-r1.ebuild
index 9491ea390da1..42f05504de49 100644
--- a/media-sound/whipper/whipper-0.7.3-r1.ebuild
+++ b/media-sound/whipper/whipper-0.7.3-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]