dev-python/asyncssh: Bump to 2.16.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-08-18 07:50:23 +02:00
parent 145b7c42ae
commit 5bef55c0d3
2 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST asyncssh-2.15.0.tar.gz 516935 BLAKE2B 0e67dc6c2d7814479241d81e06d6a5290a99802490c097769137673980b798122718a3af99c6d71a3fb08b37d4e3e0c4cfc2fb69523b2b76c88cdbf638fd42ee SHA512 51f43bfcf27dadd9e79d7b306b11f6dc196d2de65a60663aa6e59f1b1246a6467a6324209bfb0607a9d2902ef8dde51cd172f9e32e36168954c67b8fcd7e1dd6
DIST asyncssh-2.16.0.tar.gz 520697 BLAKE2B 113e079045dd0543966cc9de86c6de453f0da0803955a69948368f015e340f801a99db3cc15c97eaf0030c36edf92ad40071dcfbcd80f6243f8467ba311bb979 SHA512 d47a0450709e48cc781f03dc2fc1f153f4fd59bce59354085ff36ef3af37223071566136d5a48211024db41400e7b82b918921942d8f5df203b98275e6fd460a

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Asynchronous SSHv2 client and server library"
HOMEPAGE="
https://github.com/ronf/asyncssh
https://pypi.org/project/asyncssh/
"
LICENSE="EPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
virtual/openssh
>=dev-python/cryptography-39.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/aiofiles[${PYTHON_USEDEP}]
>=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
>=dev-python/fido2-0.9.2[${PYTHON_USEDEP}]
>=dev-python/gssapi-1.2.0[${PYTHON_USEDEP}]
>=dev-python/libnacl-1.4.2[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
distutils_enable_sphinx docs
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p rerunfailures --reruns=5
}
pkg_postinst() {
optfeature "OpenSSH private key encryption support" ">=dev-python/bcrypt-3.1.3"
optfeature "key exchange and authentication with U2F/FIDO2 security keys support" ">=dev-python/fido2-0.9.2"
optfeature "GSSAPI key exchange and authentication support" ">=dev-python/gssapi-1.2.0"
optfeature "using asyncssh with dev-libs/libsodium" "dev-python/libnacl"
optfeature "X.509 certificate authentication support" ">=dev-python/pyopenssl-23.0.0"
}