From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BB0171382C5 for ; Thu, 3 Dec 2020 18:53:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00003E07DB; Thu, 3 Dec 2020 18:53:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB8BAE07DB for ; Thu, 3 Dec 2020 18:53:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 631E334102A for ; Thu, 3 Dec 2020 18:53:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9D622C5 for ; Thu, 3 Dec 2020 18:53:25 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1607021603.b00876148e756c2eebc2bd51867bde44e8db3fc9.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncssh/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/asyncssh/Manifest dev-python/asyncssh/asyncssh-2.4.0.ebuild dev-python/asyncssh/metadata.xml X-VCS-Directories: dev-python/asyncssh/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: b00876148e756c2eebc2bd51867bde44e8db3fc9 X-VCS-Branch: dev Date: Thu, 3 Dec 2020 18:53:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 70ecdb58-dd9a-49ab-aae6-1ae02ea6cf1b X-Archives-Hash: 1176ec8b3a5c9053659da61c8b3aeb0b commit: b00876148e756c2eebc2bd51867bde44e8db3fc9 Author: Alessandro Barbieri gmail com> AuthorDate: Thu Dec 3 18:47:57 2020 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Thu Dec 3 18:53:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b0087614 dev-python/asyncssh: new package Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/asyncssh/Manifest | 1 + dev-python/asyncssh/asyncssh-2.4.0.ebuild | 54 +++++++++++++++++++++++++++++++ dev-python/asyncssh/metadata.xml | 54 +++++++++++++++++++++++++++++++ 3 files changed, 109 insertions(+) diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest new file mode 100644 index 00000000..6c5e02f1 --- /dev/null +++ b/dev-python/asyncssh/Manifest @@ -0,0 +1 @@ +DIST asyncssh-2.4.0.tar.gz 408626 BLAKE2B cae91006693b04920955f790b43cf05cf2b8b552f853907655fa09d88ea8b955bea93b2c43615008d1048a7eb339f489086496cd4bdbc4728be467eb782b7746 SHA512 f28fb0562d11af54456834696c3bbadb3317a2646b75219da9cc71146d228ab38b616436cf4d4689c5a512b8bc528880e0209cca154884e71a0b0cf7aa433562 diff --git a/dev-python/asyncssh/asyncssh-2.4.0.ebuild b/dev-python/asyncssh/asyncssh-2.4.0.ebuild new file mode 100644 index 00000000..2195d3b5 --- /dev/null +++ b/dev-python/asyncssh/asyncssh-2.4.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_7 ) +DOCDIR="docs" +DOCBUILDER="sphinx" + +inherit distutils-r1 docs optfeature + +DESCRIPTION="Asynchronous SSHv2 client and server library" +HOMEPAGE=" + https://asyncssh.timeheart.net + https://pypi.org/project/asyncssh + https://github.com/ronf/asyncssh +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="ECL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-python/cryptography-2.8[${PYTHON_USEDEP}]" +BDEPEND=" + ${REDEPEND} + test? ( + >=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-17.0.0[${PYTHON_USEDEP}] + >=dev-python/python-pkcs11-0.7.0[${PYTHON_USEDEP}] + >=dev-python/uvloop-0.9.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + pytest -vv \ + --deselect tests/test_agent.py::_TestAgent::test_confirm \ + --deselect tests/test_x509.py::_TestX509::test_expired_root \ + || die +} + +pkg_postinst() { + optfeature "support for OpenSSH private key encryption" dev-python/bcrypt + optfeature "support for key exchange and authentication with U2F/FIDO2 security keys" dev-python/fido2 + optfeature "support for accessing PIV keys on PKCS#11 security tokens" dev-python/python-pkcs11 + optfeature "support for GSSAPI key exchange and authentication on UNIX" dev-python/gssapi + optfeature "if you have a version of OpenSSL older than 1.1.1b installed and you want support for Curve25519 key exchange, Ed25519 keys and certificates, or the Chacha20-Poly1305 cipher" dev-python/libnacl + optfeature "support for UMAC cryptographic hashes" dev-python/libnettle + optfeature "support for X.509 certificate authentication" dev-python/pyopenssl +} diff --git a/dev-python/asyncssh/metadata.xml b/dev-python/asyncssh/metadata.xml new file mode 100644 index 00000000..9541cf69 --- /dev/null +++ b/dev-python/asyncssh/metadata.xml @@ -0,0 +1,54 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio framework. + +Features + +Full support for SSHv2, SFTP, and SCP client and server functions +Shell, command, and subsystem channels +Environment variables, terminal type, and window size +Direct and forwarded TCP/IP channels +OpenSSH-compatible direct and forwarded UNIX domain socket channels +Local and remote TCP/IP port forwarding +Local and remote UNIX domain socket forwarding +Dynamic TCP/IP port forwarding via SOCKS +X11 forwarding support on both the client and the server +SFTP protocol version 3 with OpenSSH extensions +SCP protocol support, including third-party remote to remote copies +Multiple simultaneous sessions on a single SSH connection +Multiple SSH connections in a single event loop +Byte and string based I/O with settable encoding +A variety of key exchange, encryption, and MAC algorithms +Support for gzip compression +Including OpenSSH variant to delay compression until after auth +User and host-based public key, password, and keyboard-interactive authentication methods +Many types and formats of public keys and certificates +Including OpenSSH-compatible support for U2F and FIDO2 security keys +Including PKCS#11 support for accessing PIV security tokens +Including support for X.509 certificates as defined in RFC 6187 +Support for accessing keys managed by ssh-agent on UNIX systems +Including agent forwarding support on both the client and the server +Support for accessing keys managed by PuTTY's Pageant agent on Windows +Support for accessing host keys via OpenSSH's ssh-keysign +OpenSSH-style known_hosts file support +OpenSSH-style authorized_keys file support +Partial support for OpenSSH-style configuration files +Compatibility with OpenSSH "Encrypt then MAC" option for better security +Time and byte-count based session key renegotiation +Designed to be easy to extend to support new forms of key exchange, authentication, encryption, and compression algorithms + + + ronf/asyncssh + asyncssh + + ronf@timeheart.net + Ron Frederick + + +