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 /gnome-extra
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 'gnome-extra')
-rw-r--r--gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0-r1.ebuild1
-rw-r--r--gnome-extra/gnome-color-manager/gnome-color-manager-3.32.0.ebuild1
-rw-r--r--gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild1
-rw-r--r--gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild1
-rw-r--r--gnome-extra/gnome-packagekit/gnome-packagekit-3.24.0.ebuild1
-rw-r--r--gnome-extra/gnome-packagekit/gnome-packagekit-3.30.0.ebuild3
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild1
-rw-r--r--gnome-extra/gnome-software/gnome-software-3.30.6.ebuild1
-rw-r--r--gnome-extra/gnome-weather/gnome-weather-3.26.0.ebuild1
-rw-r--r--gnome-extra/gucharmap/gucharmap-12.0.1.ebuild1
10 files changed, 11 insertions, 1 deletions
diff --git a/gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0-r1.ebuild b/gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0-r1.ebuild
index abdfde583dac..67ba9af2b318 100644
--- a/gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0-r1.ebuild
+++ b/gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0-r1.ebuild
@@ -11,6 +11,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="packagekit raw test"
+RESTRICT="!test? ( test )"
# Need gtk+-3.3.8 for https://bugzilla.gnome.org/show_bug.cgi?id=673331
# vte could be made optional
diff --git a/gnome-extra/gnome-color-manager/gnome-color-manager-3.32.0.ebuild b/gnome-extra/gnome-color-manager/gnome-color-manager-3.32.0.ebuild
index 1d3ad6ab0bd2..def430c26486 100644
--- a/gnome-extra/gnome-color-manager/gnome-color-manager-3.32.0.ebuild
+++ b/gnome-extra/gnome-color-manager/gnome-color-manager-3.32.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="packagekit raw test"
+RESTRICT="!test? ( test )"
# Need gtk+-3.3.8 for https://bugzilla.gnome.org/show_bug.cgi?id=673331
# vte could be made optional
diff --git a/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild b/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild
index f09cc0c24af2..b145aee0dcb2 100644
--- a/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild
+++ b/gnome-extra/gnome-commander/gnome-commander-1.10.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="chm exif gsf pdf taglib samba test +unique"
+RESTRICT="!test? ( test )"
RDEPEND="
app-text/yelp-tools
diff --git a/gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild b/gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild
index 06cd772cfedb..5087c582cc0f 100644
--- a/gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild
+++ b/gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="chm exif gsf pdf taglib samba test +unique"
+RESTRICT="!test? ( test )"
RDEPEND="
app-text/yelp-tools
diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.24.0.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.24.0.ebuild
index 7c88ff7e92c7..b57e3b9ceb8f 100644
--- a/gnome-extra/gnome-packagekit/gnome-packagekit-3.24.0.ebuild
+++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.24.0.ebuild
@@ -11,6 +11,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="systemd udev" # test
+RESTRICT="!test? ( test )"
# XXX: test, upstream managed to break gpk-self-test beyond repair
# gdk-pixbuf used in gpk-animated-icon
diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.30.0.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.30.0.ebuild
index 078f468963e7..f95e27f607e0 100644
--- a/gnome-extra/gnome-packagekit/gnome-packagekit-3.30.0.ebuild
+++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.30.0.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
@@ -11,6 +11,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="systemd test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.32:2
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild
index 4b5cc70dc715..861c8bf944e9 100644
--- a/gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-3.30.0.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://projects.gnome.org/gnome-power-manager/"
LICENSE="GPL-2+"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
COMMON_DEPEND="
diff --git a/gnome-extra/gnome-software/gnome-software-3.30.6.ebuild b/gnome-extra/gnome-software/gnome-software-3.30.6.ebuild
index 452c5fea8fac..abaabc99d6ed 100644
--- a/gnome-extra/gnome-software/gnome-software-3.30.6.ebuild
+++ b/gnome-extra/gnome-software/gnome-software-3.30.6.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+firmware gnome gtk-doc packagekit spell test udev"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/appstream-glib-0.7.14:0
diff --git a/gnome-extra/gnome-weather/gnome-weather-3.26.0.ebuild b/gnome-extra/gnome-weather/gnome-weather-3.26.0.ebuild
index a7ca1ec3787c..1505a4345824 100644
--- a/gnome-extra/gnome-weather/gnome-weather-3.26.0.ebuild
+++ b/gnome-extra/gnome-weather/gnome-weather-3.26.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=app-misc/geoclue-2.3.1:2.0
diff --git a/gnome-extra/gucharmap/gucharmap-12.0.1.ebuild b/gnome-extra/gucharmap/gucharmap-12.0.1.ebuild
index 96022cd545b9..0d1ac85b6d49 100644
--- a/gnome-extra/gucharmap/gucharmap-12.0.1.ebuild
+++ b/gnome-extra/gucharmap/gucharmap-12.0.1.ebuild
@@ -14,6 +14,7 @@ SLOT="2.90"
KEYWORDS="alpha amd64 arm arm64 ia64 ppc ppc64 ~sh sparc x86"
IUSE="debug +introspection test vala"
+RESTRICT="!test? ( test )"
REQUIRED_USE="vala? ( introspection )"
UNICODE_VERSION=$(ver_cut 1-2)