1 |
commit: 30d57211a2306da29e77749dc56b7dc35bb3b66e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 24 21:42:33 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 24 22:52:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d57211 |
7 |
|
8 |
dev-python/paramiko: Bump to 2.9.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/paramiko/Manifest | 1 + |
13 |
dev-python/paramiko/paramiko-2.9.1.ebuild | 55 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/paramiko/Manifest b/dev-python/paramiko/Manifest |
17 |
index 66da142511d7..ff670d9e3b36 100644 |
18 |
--- a/dev-python/paramiko/Manifest |
19 |
+++ b/dev-python/paramiko/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST paramiko-2.8.0.tar.gz 332217 BLAKE2B fcd691159b0306204064806881f8a42e7310fe23daf22c5de5ce8124d1496d48606247ab03c7657ff01560f801121a35011e0e615c5e142c41d191568f5b2300 SHA512 15f6e1cab9afdf3285804ce09b3af6c20ffc1f8e50d2549272f0ea545d1fdc858e72c7cba085db85c69aad2033655ae2f025e8ed2bd0dff574bcc03156bdb6ed |
22 |
DIST paramiko-2.9.0.tar.gz 344160 BLAKE2B b3436934143971b8a16f6100b6d1633b8ce37303d9be16fd228d7c8c83849e3ef8875cb5d3a3cfa8f08e9e72822ed1dfd310782f1fea0b32051758030b7a1f70 SHA512 3385f837ad36131f4508021b4ee0f073f293c0c1005768071becdfa0b9897dc7dd05467009329160f1eee709d32da72fe9e45fb6d61ea099f64748b00cffce14 |
23 |
+DIST paramiko-2.9.1.tar.gz 344470 BLAKE2B b750cf27d3a1324193f4c9bb39cbf773a4ad859dd3af3065da82d35177b2be9561c5175e15e9dcf4612a109849b5cfeea0d6a5f08098d3a6f3e529310ea8abc8 SHA512 d86824451be417322e0cdd073b31c103e737663af89f31abb1de21b5fbb9bdaa4b2e49505d2bc599114173df2457dcea308eb5c445fc5191248eb13e4c1eb500 |
24 |
|
25 |
diff --git a/dev-python/paramiko/paramiko-2.9.1.ebuild b/dev-python/paramiko/paramiko-2.9.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..2e493ae04c6f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/paramiko/paramiko-2.9.1.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+PYTHON_REQ_USE="threads(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="SSH2 protocol library" |
42 |
+HOMEPAGE="https://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.org/project/paramiko/" |
43 |
+# pypi tarballs are missing test data |
44 |
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="LGPL-2.1" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" |
50 |
+IUSE="examples server" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/cryptography-2.5[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ test? ( |
60 |
+ dev-python/mock[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_sphinx sites/docs |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ local PATCHES=( |
69 |
+ "${FILESDIR}/${PN}-2.7.1-tests.patch" |
70 |
+ ) |
71 |
+ |
72 |
+ if ! use server; then |
73 |
+ PATCHES+=( "${FILESDIR}/${PN}-2.4.2-disable-server.patch" ) |
74 |
+ fi |
75 |
+ distutils-r1_src_prepare |
76 |
+} |
77 |
+ |
78 |
+python_install_all() { |
79 |
+ distutils-r1_python_install_all |
80 |
+ |
81 |
+ if use examples; then |
82 |
+ docinto examples |
83 |
+ dodoc -r demos/* |
84 |
+ fi |
85 |
+} |