dev-python/asyncssh: Bump to 2.17.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-09-03 06:55:20 +02:00
parent 55105ab576
commit 1feb048f61
2 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST asyncssh-2.16.0.tar.gz 520697 BLAKE2B 113e079045dd0543966cc9de86c6de453f0da0803955a69948368f015e340f801a99db3cc15c97eaf0030c36edf92ad40071dcfbcd80f6243f8467ba311bb979 SHA512 d47a0450709e48cc781f03dc2fc1f153f4fd59bce59354085ff36ef3af37223071566136d5a48211024db41400e7b82b918921942d8f5df203b98275e6fd460a
DIST asyncssh-2.17.0.tar.gz 515658 BLAKE2B a07cfab65b0d2df09b1a6b93d81f9385571da154953bddefe5e45b8b1c1800c5ad765030f11154de85f03ff946d2b58954ea0dbd15fb468215482c6a9be6168c SHA512 be4d25185008dacde8369249ae8321c403590423dd6f088ca6568333be9e96a93509f9663e5292d5bbe27ea20064bc530f0867dd05aef2a453bc1f8eeff1ed40

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"
}