Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncssh/
Date: Tue, 28 Jun 2022 04:34:39
Message-Id: 1656390869.76c36ec52b5d7f1997b3dc60a2183b5ec3e206af.Alessandro-Barbieri@gentoo
1 commit: 76c36ec52b5d7f1997b3dc60a2183b5ec3e206af
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 28 04:30:03 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Jun 28 04:34:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76c36ec5
7
8 dev-python/asyncssh: add 2.11.0
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/asyncssh/Manifest | 1 +
13 dev-python/asyncssh/asyncssh-2.11.0.ebuild | 55 ++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest
17 index 95cc262dc..8421cacba 100644
18 --- a/dev-python/asyncssh/Manifest
19 +++ b/dev-python/asyncssh/Manifest
20 @@ -1 +1,2 @@
21 DIST asyncssh-2.10.1.tar.gz 483000 BLAKE2B a588d671b3afe9f77f15974578f27e9001e8138284e4313d8188766c66e81942a8d37598ba79af4971c11f900fa7009311c20c86fce0e058d1fdeeec72c9320a SHA512 adaf68f2e4209e9bf91c2018298a281dab490d723bda9d6f7db892aa43e796e38ff904cf39f56c8b545439ca71c89b419e53521f323cb753cf7a2290beb04e12
22 +DIST asyncssh-2.11.0.tar.gz 482916 BLAKE2B fd410771d4032996b4a75c0cf7250f481a8e5f5498f6a4c31227468eff3dba8f4936c2711e11aadbf313989e395ee679d11b0a28646735f1868bd81680c3f3e3 SHA512 d9736d0d9e486c4a062fbf493d28f2c5b1074baa32879430750115a686600fa97c947ea34b47a1d9962cc44cc32ce6b31fdb0baa455fbde9b63660c5b8454810
23
24 diff --git a/dev-python/asyncssh/asyncssh-2.11.0.ebuild b/dev-python/asyncssh/asyncssh-2.11.0.ebuild
25 new file mode 100644
26 index 000000000..c574e23a1
27 --- /dev/null
28 +++ b/dev-python/asyncssh/asyncssh-2.11.0.ebuild
29 @@ -0,0 +1,55 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DOCS_BUILDER="sphinx"
36 +DOCS_DIR="docs"
37 +EPYTEST_DESELECT=(
38 + tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded
39 + tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded_string
40 + tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded_tunnel
41 +) # network tests
42 +PYTHON_COMPAT=( python3_{8..10} )
43 +
44 +inherit distutils-r1 docs optfeature
45 +
46 +DESCRIPTION="Asynchronous SSHv2 client and server library"
47 +HOMEPAGE="
48 + https://asyncssh.timeheart.net
49 + https://pypi.org/project/asyncssh/
50 + https://github.com/ronf/asyncssh
51 +"
52 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
53 +
54 +LICENSE="ECL-2.0"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86"
57 +
58 +RDEPEND="
59 + >=dev-python/cryptography-3.1[${PYTHON_USEDEP}]
60 + >=dev-python/typing-extensions-3.6[${PYTHON_USEDEP}]
61 +"
62 +DEPEND="${REDEPEND}"
63 +BDEPEND="
64 + test? (
65 + >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
66 + >=dev-python/gssapi-1.2.0[${PYTHON_USEDEP}]
67 + >=dev-python/libnacl-1.4.2[${PYTHON_USEDEP}]
68 + >=dev-python/pyopenssl-17.0.0[${PYTHON_USEDEP}]
69 + >=dev-python/python-pkcs11-0.7.0[${PYTHON_USEDEP}]
70 + )
71 +"
72 +
73 +distutils_enable_tests pytest
74 +distutils_enable_sphinx docs
75 +
76 +pkg_postinst() {
77 + optfeature "support for OpenSSH private key encryption" dev-python/bcrypt
78 + optfeature "support for key exchange and authentication with U2F/FIDO2 security keys" dev-python/fido2
79 + optfeature "support for accessing PIV keys on PKCS#11 security tokens" dev-python/python-pkcs11
80 + optfeature "support for GSSAPI key exchange and authentication on UNIX" dev-python/gssapi
81 + 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
82 + optfeature "support for UMAC cryptographic hashes" dev-python/libnettle
83 + optfeature "support for X.509 certificate authentication" dev-python/pyopenssl
84 +}