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-video
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-video')
-rw-r--r--media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild1
-rw-r--r--media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild1
-rw-r--r--media-video/clive/clive-2.3.0.1.ebuild1
-rw-r--r--media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild1
-rw-r--r--media-video/libva-utils/libva-utils-2.4.0.ebuild1
-rw-r--r--media-video/libva-utils/libva-utils-9999.ebuild1
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-35.0.0.ebuild1
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-37.0.0.ebuild1
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-9999.ebuild1
-rw-r--r--media-video/peek/peek-1.3.1-r2.ebuild1
-rw-r--r--media-video/peek/peek-1.4.0.ebuild1
-rw-r--r--media-video/pitivi/pitivi-0.97.1.ebuild1
-rw-r--r--media-video/pitivi/pitivi-0.98.1.ebuild1
-rw-r--r--media-video/pitivi/pitivi-0.999.ebuild1
-rw-r--r--media-video/subliminal/subliminal-9999.ebuild1
-rw-r--r--media-video/totem/totem-3.30.0.ebuild1
16 files changed, 16 insertions, 0 deletions
diff --git a/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild b/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild
index bef93fffa85..1a0ea043f03 100644
--- a/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild
+++ b/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+alsa debug +fftw openal oss portaudio pulseaudio spell test +uchardet"
+RESTRICT="!test? ( test )"
# aegisub bundles luabins (https://github.com/agladysh/luabins).
# Unfortunately, luabins upstream is practically dead since 2010.
diff --git a/media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild b/media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild
index 563691cc85a..3ca8cba21bb 100644
--- a/media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild
+++ b/media-video/aegisub/aegisub-3.2.2_p20160518-r3.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+alsa debug +fftw openal oss portaudio pulseaudio spell test +uchardet"
+RESTRICT="!test? ( test )"
# aegisub bundles luabins (https://github.com/agladysh/luabins).
# Unfortunately, luabins upstream is practically dead since 2010.
diff --git a/media-video/clive/clive-2.3.0.1.ebuild b/media-video/clive/clive-2.3.0.1.ebuild
index 9d5ff02dec3..60f93ec9b36 100644
--- a/media-video/clive/clive-2.3.0.1.ebuild
+++ b/media-video/clive/clive-2.3.0.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE="clipboard pager password test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-perl/BerkeleyDB-0.34
>=dev-perl/Config-Tiny-2.12
diff --git a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild
index 3dc2ba06cd4..4f247e2eb8b 100644
--- a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild
+++ b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="gnome gtk jpeg libav png test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="gnome? ( gtk )
test? ( png jpeg )"
diff --git a/media-video/libva-utils/libva-utils-2.4.0.ebuild b/media-video/libva-utils/libva-utils-2.4.0.ebuild
index 8482dda2887..f9e89f18226 100644
--- a/media-video/libva-utils/libva-utils-2.4.0.ebuild
+++ b/media-video/libva-utils/libva-utils-2.4.0.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="+drm test wayland X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( drm wayland X )"
diff --git a/media-video/libva-utils/libva-utils-9999.ebuild b/media-video/libva-utils/libva-utils-9999.ebuild
index 928d6f126f6..0f311f4f431 100644
--- a/media-video/libva-utils/libva-utils-9999.ebuild
+++ b/media-video/libva-utils/libva-utils-9999.ebuild
@@ -19,6 +19,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="+drm test wayland X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( drm wayland X )"
diff --git a/media-video/mkvtoolnix/mkvtoolnix-35.0.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-35.0.0.ebuild
index 3fabd7e2dcc..83ca04cff73 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-35.0.0.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-35.0.0.ebuild
@@ -18,6 +18,7 @@ HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug nls pch test qt5"
+RESTRICT="!test? ( test )"
# check NEWS.md for build system changes entries for boost/libebml/libmatroska
# version requirement updates and other packaging info
diff --git a/media-video/mkvtoolnix/mkvtoolnix-37.0.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-37.0.0.ebuild
index ed4d2978216..f29330b7108 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-37.0.0.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-37.0.0.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug nls pch test qt5"
+RESTRICT="!test? ( test )"
# check NEWS.md for build system changes entries for boost/libebml/libmatroska
# version requirement updates and other packaging info
diff --git a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
index 5fa94680172..99b70cef63e 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
@@ -20,6 +20,7 @@ HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug nls pch test qt5"
+RESTRICT="!test? ( test )"
# check NEWS.md for build system changes entries for boost/libebml/libmatroska
# version requirement updates and other packaging info
diff --git a/media-video/peek/peek-1.3.1-r2.ebuild b/media-video/peek/peek-1.3.1-r2.ebuild
index 93add0710fa..75a4200a785 100644
--- a/media-video/peek/peek-1.3.1-r2.ebuild
+++ b/media-video/peek/peek-1.3.1-r2.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="keybinder test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/glib-2.38:2
media-video/ffmpeg[X,encode,vpx,xcb]
diff --git a/media-video/peek/peek-1.4.0.ebuild b/media-video/peek/peek-1.4.0.ebuild
index 7cab4b5a379..569a57259a2 100644
--- a/media-video/peek/peek-1.4.0.ebuild
+++ b/media-video/peek/peek-1.4.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="keybinder test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/glib-2.38:2
media-video/ffmpeg[X,encode,vpx,xcb]
diff --git a/media-video/pitivi/pitivi-0.97.1.ebuild b/media-video/pitivi/pitivi-0.97.1.ebuild
index 087bc0875c1..6d819f69629 100644
--- a/media-video/pitivi/pitivi-0.97.1.ebuild
+++ b/media-video/pitivi/pitivi-0.97.1.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="v4l test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# XXX: recommends gst-plugins-libav and frei0r-plugins
diff --git a/media-video/pitivi/pitivi-0.98.1.ebuild b/media-video/pitivi/pitivi-0.98.1.ebuild
index 928c451ff8b..987aa9e1448 100644
--- a/media-video/pitivi/pitivi-0.98.1.ebuild
+++ b/media-video/pitivi/pitivi-0.98.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="v4l test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# XXX: recommends gst-plugins-libav and frei0r-plugins
diff --git a/media-video/pitivi/pitivi-0.999.ebuild b/media-video/pitivi/pitivi-0.999.ebuild
index 0f1661aa8e0..c7703da70ce 100644
--- a/media-video/pitivi/pitivi-0.999.ebuild
+++ b/media-video/pitivi/pitivi-0.999.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="v4l test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# XXX: recommends gst-plugins-libav and frei0r-plugins
diff --git a/media-video/subliminal/subliminal-9999.ebuild b/media-video/subliminal/subliminal-9999.ebuild
index 7c83f3864f0..730716b3146 100644
--- a/media-video/subliminal/subliminal-9999.ebuild
+++ b/media-video/subliminal/subliminal-9999.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/appdirs-1.3[${PYTHON_USEDEP}]
diff --git a/media-video/totem/totem-3.30.0.ebuild b/media-video/totem/totem-3.30.0.ebuild
index ee7f1d4b158..9506455784d 100644
--- a/media-video/totem/totem-3.30.0.ebuild
+++ b/media-video/totem/totem-3.30.0.ebuild
@@ -13,6 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Videos"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
IUSE="cdr gtk-doc +introspection lirc nautilus +python test vala"
+RESTRICT="!test? ( test )"
# see bug #359379
REQUIRED_USE="
python? ( introspection ${PYTHON_REQUIRED_USE} )