From 2cade4ebf7d8c3a2a47ef9eeb6b676a53491251f Mon Sep 17 00:00:00 2001 From: YOSHIOKA Takuma Date: Wed, 21 Apr 2021 03:59:08 +0900 Subject: [PATCH 1/2] sys-apps/dust: ignore failing tests All failing tests have been already reported at upstream repository. They are not solved yet, and (maybe) not gentoo-specific. Closes: https://bugs.gentoo.org/784521 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: YOSHIOKA Takuma --- sys-apps/dust/dust-0.5.3.ebuild | 5 ++++- sys-apps/dust/dust-0.5.4.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys-apps/dust/dust-0.5.3.ebuild b/sys-apps/dust/dust-0.5.3.ebuild index 00bfd32995..6c46b6b0a0 100644 --- a/sys-apps/dust/dust-0.5.3.ebuild +++ b/sys-apps/dust/dust-0.5.3.ebuild @@ -69,7 +69,10 @@ HOMEPAGE="https://github.com/bootandy/dust" SRC_URI="https://github.com/bootandy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz $(cargo_crate_uris ${CRATES})" # Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored. -RESTRICT="mirror" +# +# Specifying `test` to ignore failing tests. +# See . +RESTRICT="mirror test" LICENSE="Apache-2.0 MIT" SLOT="0" KEYWORDS="~amd64 ~x86" diff --git a/sys-apps/dust/dust-0.5.4.ebuild b/sys-apps/dust/dust-0.5.4.ebuild index f8c3519017..401abd11ec 100644 --- a/sys-apps/dust/dust-0.5.4.ebuild +++ b/sys-apps/dust/dust-0.5.4.ebuild @@ -73,7 +73,10 @@ HOMEPAGE="https://github.com/bootandy/dust" SRC_URI="https://github.com/bootandy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz $(cargo_crate_uris ${CRATES})" # Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored. -RESTRICT="mirror" +# +# Specifying `test` to ignore failing tests. +# See . +RESTRICT="mirror test" LICENSE="Apache-2.0 MIT" SLOT="0" KEYWORDS="~amd64 ~x86" From 588229b55b9bbd925e308b30ca539e59126d4b7c Mon Sep 17 00:00:00 2001 From: Daniel Novomesky Date: Tue, 20 Apr 2021 21:18:58 +0200 Subject: [PATCH 2/2] media-gfx/qview: add test use flag Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Daniel Novomesky --- media-gfx/qview/qview-4.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-gfx/qview/qview-4.0.ebuild b/media-gfx/qview/qview-4.0.ebuild index 8a4b633d67..f385408e4a 100644 --- a/media-gfx/qview/qview-4.0.ebuild +++ b/media-gfx/qview/qview-4.0.ebuild @@ -14,6 +14,9 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + RDEPEND=" dev-qt/qtconcurrent:5 dev-qt/qtgui:5 @@ -22,7 +25,7 @@ RDEPEND=" " DEPEND="${RDEPEND} - dev-qt/qttest:5 + test? ( dev-qt/qttest:5 ) " src_configure() {