summaryrefslogtreecommitdiff
path: root/dev-python/asyncssh
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/asyncssh')
-rw-r--r--dev-python/asyncssh/Manifest1
-rw-r--r--dev-python/asyncssh/asyncssh-2.11.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest
index 95cc262dc35f..8421cacba4e9 100644
--- a/dev-python/asyncssh/Manifest
+++ b/dev-python/asyncssh/Manifest
@@ -1 +1,2 @@
DIST asyncssh-2.10.1.tar.gz 483000 BLAKE2B a588d671b3afe9f77f15974578f27e9001e8138284e4313d8188766c66e81942a8d37598ba79af4971c11f900fa7009311c20c86fce0e058d1fdeeec72c9320a SHA512 adaf68f2e4209e9bf91c2018298a281dab490d723bda9d6f7db892aa43e796e38ff904cf39f56c8b545439ca71c89b419e53521f323cb753cf7a2290beb04e12
+DIST asyncssh-2.11.0.tar.gz 482916 BLAKE2B fd410771d4032996b4a75c0cf7250f481a8e5f5498f6a4c31227468eff3dba8f4936c2711e11aadbf313989e395ee679d11b0a28646735f1868bd81680c3f3e3 SHA512 d9736d0d9e486c4a062fbf493d28f2c5b1074baa32879430750115a686600fa97c947ea34b47a1d9962cc44cc32ce6b31fdb0baa455fbde9b63660c5b8454810
diff --git a/dev-python/asyncssh/asyncssh-2.11.0.ebuild b/dev-python/asyncssh/asyncssh-2.11.0.ebuild
new file mode 100644
index 000000000000..453c040f276f
--- /dev/null
+++ b/dev-python/asyncssh/asyncssh-2.11.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="sphinx"
+DOCS_DIR="docs"
+EPYTEST_DESELECT=(
+ tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded
+ tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded_string
+ tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded_tunnel
+) # network tests
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit distutils-r1 docs optfeature
+
+DESCRIPTION="Asynchronous SSHv2 client and server library"
+HOMEPAGE="
+ https://asyncssh.timeheart.net
+ https://pypi.org/project/asyncssh/
+ https://github.com/ronf/asyncssh
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="ECL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cryptography-3.1[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-3.6[${PYTHON_USEDEP}]
+"
+DEPEND="${REDEPEND}"
+BDEPEND="
+ test? (
+ >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
+ >=dev-python/gssapi-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/libnacl-1.4.2[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-17.0.0[${PYTHON_USEDEP}]
+ >=dev-python/python-pkcs11-0.7.0[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+pkg_postinst() {
+ optfeature "support for OpenSSH private key encryption" dev-python/bcrypt
+ optfeature "support for key exchange and authentication with U2F/FIDO2 security keys" dev-python/fido2
+ optfeature "support for accessing PIV keys on PKCS#11 security tokens" dev-python/python-pkcs11
+ optfeature "support for GSSAPI key exchange and authentication on UNIX" dev-python/gssapi
+ optfeature "if you have a version of OpenSSL older than 1.1.1b installed and you want support for Curve25519 key exchange, Ed25519 keys and certificates, or the Chacha20-Poly1305 cipher" dev-python/libnacl
+ optfeature "support for UMAC cryptographic hashes" dev-python/libnettle
+ optfeature "support for X.509 certificate authentication" dev-python/pyopenssl
+}