diff options
Diffstat (limited to 'dev-python/asyncssh')
| -rw-r--r-- | dev-python/asyncssh/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/asyncssh/asyncssh-2.10.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest index 9354ec44a186..30f844cf43da 100644 --- a/dev-python/asyncssh/Manifest +++ b/dev-python/asyncssh/Manifest @@ -1 +1,2 @@ DIST asyncssh-2.10.0.tar.gz 481494 BLAKE2B fc06ad0579f9dc00af7fd0355f8a3a87144cc6fd5f928cfd7798e9a0942b6b549bd94877ab6371470f014cda040f4092df8980e792c37e37402d77d2f5d7bfe3 SHA512 698d97ca607582d75e74fe39798d9a8490b80c1aa5cfafa0152537c9f2354528a7386b26620d0c18b6d986c710e6c16888404ba7263b821f471211b5eae3d21f +DIST asyncssh-2.10.1.tar.gz 483000 BLAKE2B a588d671b3afe9f77f15974578f27e9001e8138284e4313d8188766c66e81942a8d37598ba79af4971c11f900fa7009311c20c86fce0e058d1fdeeec72c9320a SHA512 adaf68f2e4209e9bf91c2018298a281dab490d723bda9d6f7db892aa43e796e38ff904cf39f56c8b545439ca71c89b419e53521f323cb753cf7a2290beb04e12 diff --git a/dev-python/asyncssh/asyncssh-2.10.1.ebuild b/dev-python/asyncssh/asyncssh-2.10.1.ebuild new file mode 100644 index 000000000000..453c040f276f --- /dev/null +++ b/dev-python/asyncssh/asyncssh-2.10.1.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 +} |
