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 /media-libs
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 'media-libs')
-rw-r--r--media-libs/libepoxy/libepoxy-1.5.0.ebuild1
-rw-r--r--media-libs/libopenraw/libopenraw-0.0.9.ebuild1
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.6.0.ebuild1
-rw-r--r--media-libs/virglrenderer/virglrenderer-9999.ebuild1
4 files changed, 4 insertions, 0 deletions
diff --git a/media-libs/libepoxy/libepoxy-1.5.0.ebuild b/media-libs/libepoxy/libepoxy-1.5.0.ebuild
index 9165436..84fce5a 100644
--- a/media-libs/libepoxy/libepoxy-1.5.0.ebuild
+++ b/media-libs/libepoxy/libepoxy-1.5.0.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="test +X"
+RESTRICT="!test? ( test )"
DEPEND="${PYTHON_DEPS}
media-libs/mesa[egl,${MULTILIB_USEDEP}]
diff --git a/media-libs/libopenraw/libopenraw-0.0.9.ebuild b/media-libs/libopenraw/libopenraw-0.0.9.ebuild
index 79d34fe..b75a938 100644
--- a/media-libs/libopenraw/libopenraw-0.0.9.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.0.9.ebuild
@@ -12,6 +12,7 @@ LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~mips ppc x86"
IUSE="gtk static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="virtual/jpeg:0
dev-libs/libxml2
diff --git a/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
index 0c8a20f..90bfb52 100644
--- a/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://virgil3d.github.io/"
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=x11-libs/libdrm-2.4.50
media-libs/libepoxy"
diff --git a/media-libs/virglrenderer/virglrenderer-9999.ebuild b/media-libs/virglrenderer/virglrenderer-9999.ebuild
index ec9ae2b..bb8acc8 100644
--- a/media-libs/virglrenderer/virglrenderer-9999.ebuild
+++ b/media-libs/virglrenderer/virglrenderer-9999.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://virgil3d.github.io/"
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND=">=x11-libs/libdrm-2.4.50
media-libs/libepoxy"