commit:     b00876148e756c2eebc2bd51867bde44e8db3fc9
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Dec  3 18:47:57 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> 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 <lssndrbarbieri <AT> 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 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</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>[email protected]</email>
+      <name>Ron Frederick</name>
+    </maintainer>
+  </upstream>
+</pkgmetadata>

Reply via email to