Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/asyncssh/
Date: Sun, 27 Dec 2020 12:48:24
Message-Id: 1608973779.0f0c016f93315b7a1856241b37572505fccc61cc.andrewammerlaan@gentoo
1 commit: 0f0c016f93315b7a1856241b37572505fccc61cc
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Sat Dec 26 09:08:58 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sat Dec 26 09:09:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f0c016f
7
8 dev-python/asyncssh: bump to 2.5.0
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
12
13 dev-python/asyncssh/Manifest | 1 +
14 dev-python/asyncssh/asyncssh-2.5.0.ebuild | 54 +++++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest
18 index a1404787..520f8263 100644
19 --- a/dev-python/asyncssh/Manifest
20 +++ b/dev-python/asyncssh/Manifest
21 @@ -1 +1,2 @@
22 DIST asyncssh-2.4.2.tar.gz 409792 BLAKE2B 385a39047695c1f42c5fa76ebd3789f908918c0dcb70588cc288f867fc2b4d1a1d42d6216a9f0664b586687551643d0cee26bd305f05ce9780dadc71b33d55f5 SHA512 86d191cda659dd367b8f82fda783cd02afcb8759b29ec88ba3eb095e6dae42126b36da8dcf2fb29d42c6897fa351e96c82cb372d095af8d98ccb5c9483db1f93
23 +DIST asyncssh-2.5.0.tar.gz 414437 BLAKE2B 5d1b18ba21230e4f2ee47be5616f3db2e3c67c7980994bc205007a6492ff3af0fe800a7c8d89730c06a0d34cf388babc985d7eacb6b625b0f81d64df992158e2 SHA512 646f00287eb8aedc1fc23e35c93a831420b4fba5f2f52091e3a06f6cba06684439d0c58df6a1597f9065436e973d355fb8fefdd9684d163979f86bef331183a5
24
25 diff --git a/dev-python/asyncssh/asyncssh-2.5.0.ebuild b/dev-python/asyncssh/asyncssh-2.5.0.ebuild
26 new file mode 100644
27 index 00000000..43576f2c
28 --- /dev/null
29 +++ b/dev-python/asyncssh/asyncssh-2.5.0.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7..8} )
37 +DOCS_DIR="docs"
38 +DOCS_BUILDER="sphinx"
39 +
40 +inherit distutils-r1 docs optfeature
41 +
42 +DESCRIPTION="Asynchronous SSHv2 client and server library"
43 +HOMEPAGE="
44 + https://asyncssh.timeheart.net
45 + https://pypi.org/project/asyncssh
46 + https://github.com/ronf/asyncssh
47 +"
48 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
49 +
50 +LICENSE="ECL-2.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +
54 +RDEPEND=">=dev-python/cryptography-2.8[${PYTHON_USEDEP}]"
55 +BDEPEND="
56 + ${REDEPEND}
57 + test? (
58 + >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
59 + >=dev-python/gssapi-1.2.0[${PYTHON_USEDEP}]
60 + >=dev-python/libnacl-1.4.2[${PYTHON_USEDEP}]
61 + >=dev-python/pyopenssl-17.0.0[${PYTHON_USEDEP}]
62 + >=dev-python/python-pkcs11-0.7.0[${PYTHON_USEDEP}]
63 + >=dev-python/uvloop-0.9.1[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests pytest
68 +
69 +python_test() {
70 + pytest -vv \
71 + --deselect tests/test_agent.py::_TestAgent::test_confirm \
72 + --deselect tests/test_x509.py::_TestX509::test_expired_root \
73 + || die
74 +}
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 +}