Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/asyncssh/
Date: Mon, 28 Jun 2021 10:59:08
Message-Id: 1624835464.c10554072d604ad0cde34ebd7112152ac923b471.flow@gentoo
1 commit: c10554072d604ad0cde34ebd7112152ac923b471
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 27 23:11:04 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 27 23:11:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1055407
7
8 dev-python/asyncssh: add 2.7.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.7.0.ebuild | 53 +++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest
17 index d9511fd47..88408ea69 100644
18 --- a/dev-python/asyncssh/Manifest
19 +++ b/dev-python/asyncssh/Manifest
20 @@ -1 +1,2 @@
21 DIST asyncssh-2.6.0.tar.gz 419074 BLAKE2B ecac549c3b95b024cf6135e8809720f547607842506e874fd066c351fd89d48b705c4056efdfebed4e88e74f544e8d362d95690c9574e5cd4e0de5cafd84b44e SHA512 b1421ba03bbc3f919ebdc3f4936e024ecb579e9a6823ff507be5fb3b6e03ff0b7aaebf364282902b53f82eeaa095894d747e200eb9fc28cad19d94ec809448a3
22 +DIST asyncssh-2.7.0.tar.gz 420765 BLAKE2B 4beab38843951cb9e86f5dc88b4bde4efd9a29178160381ea359233b675d2fa8bbfe58750b8d3fdded65998ea3c472b7b26c07fa191bd8428a06e3e014794dfe SHA512 0f25b199075fc5ff2f27c040b81d679c17fdebb68e919abc23af5b10dc0626eb10141bd6d6de7d92f797f84394a54c34757a8332c4aa08bab36ec6f04e353204
23
24 diff --git a/dev-python/asyncssh/asyncssh-2.7.0.ebuild b/dev-python/asyncssh/asyncssh-2.7.0.ebuild
25 new file mode 100644
26 index 000000000..fb28de3c9
27 --- /dev/null
28 +++ b/dev-python/asyncssh/asyncssh-2.7.0.ebuild
29 @@ -0,0 +1,53 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DOCS_BUILDER="sphinx"
36 +DOCS_DIR="docs"
37 +PYTHON_COMPAT=( python3_{8..9} )
38 +
39 +inherit distutils-r1 docs optfeature
40 +
41 +DESCRIPTION="Asynchronous SSHv2 client and server library"
42 +HOMEPAGE="
43 + https://asyncssh.timeheart.net
44 + https://pypi.org/project/asyncssh
45 + https://github.com/ronf/asyncssh
46 +"
47 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="ECL-2.0"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +RDEPEND=">=dev-python/cryptography-2.8[${PYTHON_USEDEP}]"
54 +BDEPEND="
55 + ${REDEPEND}
56 + test? (
57 + >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
58 + >=dev-python/gssapi-1.2.0[${PYTHON_USEDEP}]
59 + >=dev-python/libnacl-1.4.2[${PYTHON_USEDEP}]
60 + >=dev-python/pyopenssl-17.0.0[${PYTHON_USEDEP}]
61 + >=dev-python/python-pkcs11-0.7.0[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +distutils_enable_tests pytest
66 +distutils_enable_sphinx docs
67 +
68 +#python_test() {
69 +# epytest \
70 +# --deselect tests/test_agent.py::_TestAgent::test_confirm \
71 +# --deselect tests/test_x509.py::_TestX509::test_expired_root
72 +#}
73 +
74 +pkg_postinst() {
75 + optfeature "support for OpenSSH private key encryption" dev-python/bcrypt
76 + optfeature "support for key exchange and authentication with U2F/FIDO2 security keys" dev-python/fido2
77 + optfeature "support for accessing PIV keys on PKCS#11 security tokens" dev-python/python-pkcs11
78 + optfeature "support for GSSAPI key exchange and authentication on UNIX" dev-python/gssapi
79 + 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
80 + optfeature "support for UMAC cryptographic hashes" dev-python/libnettle
81 + optfeature "support for X.509 certificate authentication" dev-python/pyopenssl
82 +}