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 /net-im | |
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 'net-im')
-rw-r--r-- | net-im/bitlbee/bitlbee-3.5.1.ebuild | 1 | ||||
-rw-r--r-- | net-im/empathy/empathy-3.12.14.ebuild | 1 | ||||
-rw-r--r-- | net-im/poezio/poezio-0.12.ebuild | 3 | ||||
-rw-r--r-- | net-im/poezio/poezio-9999.ebuild | 1 | ||||
-rw-r--r-- | net-im/prosody/prosody-0.11.2-r1.ebuild | 1 | ||||
-rw-r--r-- | net-im/prosody/prosody-0.11.3.ebuild | 1 | ||||
-rw-r--r-- | net-im/qtox/qtox-1.16.3.ebuild | 3 | ||||
-rw-r--r-- | net-im/qtox/qtox-9999.ebuild | 3 | ||||
-rw-r--r-- | net-im/turses/turses-0.2.23.ebuild | 3 |
9 files changed, 13 insertions, 4 deletions
diff --git a/net-im/bitlbee/bitlbee-3.5.1.ebuild b/net-im/bitlbee/bitlbee-3.5.1.ebuild index 1e09301af295..3ce9cca1ef23 100644 --- a/net-im/bitlbee/bitlbee-3.5.1.ebuild +++ b/net-im/bitlbee/bitlbee-3.5.1.ebuild @@ -21,6 +21,7 @@ SLOT="0" IUSE_PROTOCOLS="msn oscar purple twitter +xmpp" IUSE="debug +gnutls ipv6 libevent libressl nss otr +plugins selinux test xinetd ${IUSE_PROTOCOLS}" +RESTRICT="!test? ( test )" REQUIRED_USE=" || ( purple xmpp msn oscar ) diff --git a/net-im/empathy/empathy-3.12.14.ebuild b/net-im/empathy/empathy-3.12.14.ebuild index 0da5036c8c0e..59c7551a4919 100644 --- a/net-im/empathy/empathy-3.12.14.ebuild +++ b/net-im/empathy/empathy-3.12.14.ebuild @@ -13,6 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Empathy" LICENSE="GPL-2 CC-BY-SA-3.0 FDL-1.3 LGPL-2.1" SLOT="0" IUSE="debug +geolocation gnome gnome-online-accounts +map spell test +v4l" +RESTRICT="!test? ( test )" KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux" # False positives caused by nested configure scripts diff --git a/net-im/poezio/poezio-0.12.ebuild b/net-im/poezio/poezio-0.12.ebuild index d550ee29c570..8143dd8319db 100644 --- a/net-im/poezio/poezio-0.12.ebuild +++ b/net-im/poezio/poezio-0.12.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=7 @@ -11,6 +11,7 @@ HOMEPAGE="https://poez.io/" LICENSE="ZLIB" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" if [[ "${PV}" == "9999" ]]; then EGIT_REPO_URI="https://git.poez.io/${PN}.git" diff --git a/net-im/poezio/poezio-9999.ebuild b/net-im/poezio/poezio-9999.ebuild index a0147fb03e58..5c1d4b770a47 100644 --- a/net-im/poezio/poezio-9999.ebuild +++ b/net-im/poezio/poezio-9999.ebuild @@ -11,6 +11,7 @@ HOMEPAGE="https://poez.io/" LICENSE="ZLIB" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" if [[ "${PV}" == "9999" ]]; then EGIT_REPO_URI="https://lab.louiz.org/${PN}/${PN}.git" diff --git a/net-im/prosody/prosody-0.11.2-r1.ebuild b/net-im/prosody/prosody-0.11.2-r1.ebuild index a39b14a30be3..30f813ea7270 100644 --- a/net-im/prosody/prosody-0.11.2-r1.ebuild +++ b/net-im/prosody/prosody-0.11.2-r1.ebuild @@ -15,6 +15,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 arm x86" IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit libressl test" +RESTRICT="!test? ( test )" BASE_DEPEND="net-im/jabber-base dev-lua/LuaBitOp diff --git a/net-im/prosody/prosody-0.11.3.ebuild b/net-im/prosody/prosody-0.11.3.ebuild index 253c10d7bfbf..7ffdb4c9699d 100644 --- a/net-im/prosody/prosody-0.11.3.ebuild +++ b/net-im/prosody/prosody-0.11.3.ebuild @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="ipv6 jit libevent libressl mysql postgres sqlite ssl test zlib" +RESTRICT="!test? ( test )" BASE_DEPEND="net-im/jabber-base dev-lua/LuaBitOp diff --git a/net-im/qtox/qtox-1.16.3.ebuild b/net-im/qtox/qtox-1.16.3.ebuild index 028c8cdda832..44236e1bfab8 100644 --- a/net-im/qtox/qtox-1.16.3.ebuild +++ b/net-im/qtox/qtox-1.16.3.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 @@ -14,6 +14,7 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="notification test X" +RESTRICT="!test? ( test )" S="${WORKDIR}/${MY_P}" diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild index 24ca529bcbea..955d7a8edce1 100644 --- a/net-im/qtox/qtox-9999.ebuild +++ b/net-im/qtox/qtox-9999.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 @@ -14,6 +14,7 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="" IUSE="notification test X" +RESTRICT="!test? ( test )" RDEPEND=" dev-db/sqlcipher diff --git a/net-im/turses/turses-0.2.23.ebuild b/net-im/turses/turses-0.2.23.ebuild index ece5e2e592de..0bcf36089c13 100644 --- a/net-im/turses/turses-0.2.23.ebuild +++ b/net-im/turses/turses-0.2.23.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -15,6 +15,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc test" +RESTRICT="!test? ( test )" DEPEND=" dev-python/httplib2[${PYTHON_USEDEP}] |