summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2019-05-10 13:59:58 -0400
committerVirgil Dupras <vdupras@gentoo.org>2019-05-10 14:05:59 -0400
commitcb382ae7ce7e0b98f4c050c30adbad2597a92f36 (patch)
tree416f90816be5d70705b07fa18b4a19d92d320753 /dev-python/invoke
parentapp-misc/tmuxp: New package (diff)
downloadgentoo-cb382ae7ce7e0b98f4c050c30adbad2597a92f36.tar.gz
gentoo-cb382ae7ce7e0b98f4c050c30adbad2597a92f36.tar.bz2
gentoo-cb382ae7ce7e0b98f4c050c30adbad2597a92f36.zip
dev-python/invoke: RESTRICT test
Depends on pytest-relaxed which is about to be last-rited. Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-python/invoke')
-rw-r--r--dev-python/invoke/invoke-1.1.1.ebuild21
1 files 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"