summaryrefslogtreecommitdiff
path: root/dev-python/asyncssh/asyncssh-2.21.1.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-09-29 03:46:22 +0200
committerMichał Górny <mgorny@gentoo.org>2025-09-29 03:49:47 +0200
commitd7fb9592dcc1acc5f8c000224d4837468a34fa7e (patch)
tree0715f862be98e8016f822be638760702b50ecbfa /dev-python/asyncssh/asyncssh-2.21.1.ebuild
parent4a021e7d1f72db21a5631bd29766bd4dd39e79c4 (diff)
downloadgentoo-d7fb9592dcc1acc5f8c000224d4837468a34fa7e.tar.gz
gentoo-d7fb9592dcc1acc5f8c000224d4837468a34fa7e.tar.bz2
gentoo-d7fb9592dcc1acc5f8c000224d4837468a34fa7e.zip
dev-python/asyncssh: Bump to 2.21.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/asyncssh/asyncssh-2.21.1.ebuild')
-rw-r--r--dev-python/asyncssh/asyncssh-2.21.1.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/asyncssh/asyncssh-2.21.1.ebuild b/dev-python/asyncssh/asyncssh-2.21.1.ebuild
new file mode 100644
index 000000000000..394bd77e936c
--- /dev/null
+++ b/dev-python/asyncssh/asyncssh-2.21.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+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 ~arm ~arm64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+RDEPEND="
+ virtual/openssh
+ >=dev-python/cryptography-39.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
+"
+# fido2 restricted because of limited keywords on <2
+BDEPEND="
+ test? (
+ dev-python/aiofiles[${PYTHON_USEDEP}]
+ >=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-23.0.0[${PYTHON_USEDEP}]
+ amd64? (
+ <dev-python/fido2-2[${PYTHON_USEDEP}]
+ >=dev-python/fido2-0.9.2[${PYTHON_USEDEP}]
+ )
+ )
+"
+
+EPYTEST_PLUGINS=()
+EPYTEST_RERUNS=5
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+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"
+}