diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-05-17 15:08:48 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-05-17 16:12:24 +0200 |
commit | 0ed08b063b0870e252cbcf734f1cff215635bcfe (patch) | |
tree | ba36fa9f9e6fa983415b067853e10efe5285abd5 /dev-python/asyncssh | |
parent | kde-apps/kdeedu-data: slotmove 5 to 0 (diff) | |
download | gentoo-0ed08b063b0870e252cbcf734f1cff215635bcfe.tar.gz gentoo-0ed08b063b0870e252cbcf734f1cff215635bcfe.tar.bz2 gentoo-0ed08b063b0870e252cbcf734f1cff215635bcfe.zip |
dev-python/asyncssh: new package, add 2.14.2
New dependency of spyder, loosly based on the ebuild from the benzene overlay.
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/asyncssh')
-rw-r--r-- | dev-python/asyncssh/Manifest | 1 | ||||
-rw-r--r-- | dev-python/asyncssh/asyncssh-2.14.2.ebuild | 52 | ||||
-rw-r--r-- | dev-python/asyncssh/metadata.xml | 13 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest new file mode 100644 index 000000000000..b8b02af0e904 --- /dev/null +++ b/dev-python/asyncssh/Manifest @@ -0,0 +1 @@ +DIST asyncssh-2.14.2.tar.gz 498190 BLAKE2B 66cc538322688d0782e203eb723c7c7a196fd5da725fe95df8b31e25e35e45b86bb01cb5c46f5516475614b9cf7b8076bc3994ec77daf552e030724b0734c2d1 SHA512 76952b8837832139274fbfc4ec4aa84841c66a4eb4c1bd09fd532727287574509fb2b94b684c14d6f76add80a1fe5c8236a3412ab6a71574c203706895b23f93 diff --git a/dev-python/asyncssh/asyncssh-2.14.2.ebuild b/dev-python/asyncssh/asyncssh-2.14.2.ebuild new file mode 100644 index 000000000000..1ad40f7b2969 --- /dev/null +++ b/dev-python/asyncssh/asyncssh-2.14.2.ebuild @@ -0,0 +1,52 @@ +# 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..12} ) + +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-3.6[${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}] + ) +" + +EPYTEST_DESELECT=( + # https://github.com/ronf/asyncssh/pull/578 + tests/test_process.py::_TestAsyncFileRedirection::test_stdout_aiofile +) + +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" +} diff --git a/dev-python/asyncssh/metadata.xml b/dev-python/asyncssh/metadata.xml new file mode 100644 index 000000000000..1727dacd3918 --- /dev/null +++ b/dev-python/asyncssh/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="pypi">asyncssh</remote-id> + <remote-id type="github">ronf/asyncssh</remote-id> + </upstream> + <stabilize-allarches/> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> |