dev-python/twisted: drop conch tests
authorThomas Deutschmann <whissi@gentoo.org>
Tue, 21 Apr 2020 12:11:37 +0000 (14:11 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Tue, 21 Apr 2020 12:11:46 +0000 (14:11 +0200)
Closes: https://bugs.gentoo.org/661258
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-python/twisted/twisted-18.4.0.ebuild

index 16b017e9f0505d4bc6196b9f05aea30dc4e27e85..131a2e05578d1de1eec0cd730c932b22e3151bfd 100644 (file)
@@ -74,7 +74,6 @@ DEPEND="
                dev-python/idna[${PYTHON_USEDEP}]
                dev-python/pyserial[${PYTHON_USEDEP}]
                >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
-               <net-misc/openssh-7.6
        )
 "
 
@@ -96,6 +95,12 @@ python_prepare_all() {
        if use test ; then
                # Remove since this is an upstream distribution test for making releases
                rm src/twisted/python/test/test_release.py || die "rm src/twisted/python/test/test_release.py FAILED"
+
+               # Conch doesn't work with latest >=OpenSSH 7.6
+               #   - https://twistedmatrix.com/trac/ticket/9311
+               #   - https://twistedmatrix.com/trac/ticket/9515
+               rm src/twisted/conch/test/test_conch.py || die "rm src/twisted/conch/test/test_conch.py FAILED"
+               rm src/twisted/conch/test/test_cftp.py || die "rm src/twisted/conch/test/test_cftp.py FAILED"
        fi
        distutils-r1_python_prepare_all
 }