summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2019-05-11 20:05:59 -0400
committerVirgil Dupras <vdupras@gentoo.org>2019-05-11 20:05:59 -0400
commit5b3a8b115822442e7933e7d864db54c412ab1d78 (patch)
treeb86ebb9be044cae93dfd765b2ac17ef04ac26358 /dev-python/paramiko
parentapp-portage/gentoolkit: remove old (diff)
downloadgentoo-5b3a8b115822442e7933e7d864db54c412ab1d78.tar.gz
gentoo-5b3a8b115822442e7933e7d864db54c412ab1d78.tar.bz2
gentoo-5b3a8b115822442e7933e7d864db54c412ab1d78.zip
dev-python/paramiko: RESTRICT tests
Bug: https://bugs.gentoo.org/685538 Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-python/paramiko')
-rw-r--r--dev-python/paramiko/paramiko-2.4.2.ebuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/dev-python/paramiko/paramiko-2.4.2.ebuild b/dev-python/paramiko/paramiko-2.4.2.ebuild
index d52e14914dae..559b9089c457 100644
--- a/dev-python/paramiko/paramiko-2.4.2.ebuild
+++ b/dev-python/paramiko/paramiko-2.4.2.ebuild
@@ -28,13 +28,11 @@ RDEPEND="
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? (
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-relaxed[${PYTHON_USEDEP}]
- )
"
+# Depends on pytest-relaxed which is broken.
+RESTRICT="test"
+
src_prepare() {
if ! use server; then
eapply "${FILESDIR}/${PN}-2.4.2-disable-server.patch"
@@ -42,10 +40,6 @@ src_prepare() {
eapply_user
}
-python_test() {
- py.test -v || die "Tests fail with ${EPYTHON}"
-}
-
python_compile_all() {
use doc && esetup.py build_sphinx -s sites/docs
}