commit: fe0fb581045045ce5afdf06f24c9467beb249999 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Jul 4 04:57:39 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Jul 4 05:13:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe0fb581
dev-python/asyncssh: Bump to 2.15.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/asyncssh/Manifest | 1 + dev-python/asyncssh/asyncssh-2.15.0.ebuild | 54 ++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest index b8b02af0e904..5286e46df645 100644 --- a/dev-python/asyncssh/Manifest +++ b/dev-python/asyncssh/Manifest @@ -1 +1,2 @@ DIST asyncssh-2.14.2.tar.gz 498190 BLAKE2B 66cc538322688d0782e203eb723c7c7a196fd5da725fe95df8b31e25e35e45b86bb01cb5c46f5516475614b9cf7b8076bc3994ec77daf552e030724b0734c2d1 SHA512 76952b8837832139274fbfc4ec4aa84841c66a4eb4c1bd09fd532727287574509fb2b94b684c14d6f76add80a1fe5c8236a3412ab6a71574c203706895b23f93 +DIST asyncssh-2.15.0.tar.gz 516935 BLAKE2B 0e67dc6c2d7814479241d81e06d6a5290a99802490c097769137673980b798122718a3af99c6d71a3fb08b37d4e3e0c4cfc2fb69523b2b76c88cdbf638fd42ee SHA512 51f43bfcf27dadd9e79d7b306b11f6dc196d2de65a60663aa6e59f1b1246a6467a6324209bfb0607a9d2902ef8dde51cd172f9e32e36168954c67b8fcd7e1dd6 diff --git a/dev-python/asyncssh/asyncssh-2.15.0.ebuild b/dev-python/asyncssh/asyncssh-2.15.0.ebuild new file mode 100644 index 000000000000..8dd7162e4b4b --- /dev/null +++ b/dev-python/asyncssh/asyncssh-2.15.0.ebuild @@ -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" +}