dev-python/asyncssh: new package

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-12-03 19:47:57 +01:00
parent 23f7307436
commit b00876148e
3 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST asyncssh-2.4.0.tar.gz 408626 BLAKE2B cae91006693b04920955f790b43cf05cf2b8b552f853907655fa09d88ea8b955bea93b2c43615008d1048a7eb339f489086496cd4bdbc4728be467eb782b7746 SHA512 f28fb0562d11af54456834696c3bbadb3317a2646b75219da9cc71146d228ab38b616436cf4d4689c5a512b8bc528880e0209cca154884e71a0b0cf7aa433562

View File

@@ -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
}

View File

@@ -0,0 +1,54 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription>
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
</longdescription>
<upstream>
<remote-id type="github">ronf/asyncssh</remote-id>
<remote-id type="pypi">asyncssh</remote-id>
<maintainer status="unknown">
<email>ronf@timeheart.net</email>
<name>Ron Frederick</name>
</maintainer>
</upstream>
</pkgmetadata>