From cb382ae7ce7e0b98f4c050c30adbad2597a92f36 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 10 May 2019 13:59:58 -0400 Subject: [PATCH] dev-python/invoke: RESTRICT test Depends on pytest-relaxed which is about to be last-rited. Signed-off-by: Virgil Dupras Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- dev-python/invoke/invoke-1.1.1.ebuild | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/dev-python/invoke/invoke-1.1.1.ebuild b/dev-python/invoke/invoke-1.1.1.ebuild index 8317fccae189..3f4449f2ebcf 100644 --- a/dev-python/invoke/invoke-1.1.1.ebuild +++ b/dev-python/invoke/invoke-1.1.1.ebuild @@ -12,23 +12,10 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="test" +IUSE="" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/mock - >=dev-python/pytest-3.0 - >=dev-python/pytest-relaxed-1.1.4 - )" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="" -PATCHES=( - "${FILESDIR}/${PN}-1.1.0-skip-pty-tests.patch" -) - -python_test() { - # -s flag is important: tests fail when pytest isn't in "no capture" mode - # -p pytest_relaxed: this plugin has to be loaded explicitly - pytest -s -v -p pytest_relaxed.plugin || die "Tests failed" -} +# Depends on broken pytest-relaxed plugin +RESTRICT="test" -- 2.26.2