dev-python/asyncssh: bump to 2.5.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2020-12-26 22:08:58 +13:00
parent de39349021
commit 0f0c016f93
2 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST asyncssh-2.4.2.tar.gz 409792 BLAKE2B 385a39047695c1f42c5fa76ebd3789f908918c0dcb70588cc288f867fc2b4d1a1d42d6216a9f0664b586687551643d0cee26bd305f05ce9780dadc71b33d55f5 SHA512 86d191cda659dd367b8f82fda783cd02afcb8759b29ec88ba3eb095e6dae42126b36da8dcf2fb29d42c6897fa351e96c82cb372d095af8d98ccb5c9483db1f93
DIST asyncssh-2.5.0.tar.gz 414437 BLAKE2B 5d1b18ba21230e4f2ee47be5616f3db2e3c67c7980994bc205007a6492ff3af0fe800a7c8d89730c06a0d34cf388babc985d7eacb6b625b0f81d64df992158e2 SHA512 646f00287eb8aedc1fc23e35c93a831420b4fba5f2f52091e3a06f6cba06684439d0c58df6a1597f9065436e973d355fb8fefdd9684d163979f86bef331183a5

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..8} )
DOCS_DIR="docs"
DOCS_BUILDER="sphinx"
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-2.8[${PYTHON_USEDEP}]"
BDEPEND="
${REDEPEND}
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}]
>=dev-python/uvloop-0.9.1[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
pytest -vv \
--deselect tests/test_agent.py::_TestAgent::test_confirm \
--deselect tests/test_x509.py::_TestX509::test_expired_root \
|| die
}
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
}