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