summaryrefslogtreecommitdiff
path: root/dev-python/asyncssh/asyncssh-2.19.0.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-12-13 06:10:26 +0100
committerMichał Górny <mgorny@gentoo.org>2024-12-13 07:15:04 +0100
commit1ebdc32e453501d8f149ce8d5a5c99371b43f353 (patch)
treee1a7875530bfa373ab501a973e78eebea5154530 /dev-python/asyncssh/asyncssh-2.19.0.ebuild
parentff669ddf9c5241cb4e5b0329945bd44a702854b0 (diff)
downloadgentoo-1ebdc32e453501d8f149ce8d5a5c99371b43f353.tar.gz
gentoo-1ebdc32e453501d8f149ce8d5a5c99371b43f353.tar.bz2
gentoo-1ebdc32e453501d8f149ce8d5a5c99371b43f353.zip
dev-python/asyncssh: Bump to 2.19.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/asyncssh/asyncssh-2.19.0.ebuild')
-rw-r--r--dev-python/asyncssh/asyncssh-2.19.0.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/asyncssh/asyncssh-2.19.0.ebuild b/dev-python/asyncssh/asyncssh-2.19.0.ebuild
new file mode 100644
index 000000000000..c23744d4c8f2
--- /dev/null
+++ b/dev-python/asyncssh/asyncssh-2.19.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 GPL-2+ )"
+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"
+}