1 |
commit: 00ed98181bfae543b471c4a41b89acc1d4ee8b69 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 14 06:46:39 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 14 08:59:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ed9818 |
7 |
|
8 |
dev-python/Pyro4: Bump to 4.81 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/Pyro4/Manifest | 1 + |
13 |
dev-python/Pyro4/Pyro4-4.81.ebuild | 55 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/Pyro4/Manifest b/dev-python/Pyro4/Manifest |
17 |
index 190cd946887..2f224e53fb6 100644 |
18 |
--- a/dev-python/Pyro4/Manifest |
19 |
+++ b/dev-python/Pyro4/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Pyro4-4.80.tar.gz 515103 BLAKE2B 5d2b69ba020117947a36c9c75f884434a3452167fa2e586e3a5b0e6deb1d0c8c54dd06a20b9568b53a0a6c42a847d880636e3abe37090246d5f34ca84e915b36 SHA512 8e41285674edbe5c8d5ac63e33406c5ff7b6366d5dd251a1755eff81611193278a473ed8b15f995bc0ba2775dc5d316eb6a3cafd63626b95820591ea3a0a92e3 |
22 |
+DIST Pyro4-4.81.tar.gz 514678 BLAKE2B ffe9edcb947203b37cf1b13b2380f2b7d76357a5bca36e454fe67f6bd0d34574f5df429dd784ba2c2bc69c0188edd14e4572f12f5c137d87d2898f01ea3e855c SHA512 3848d473acd624ae1356ad3470c669eb0bc30287691ff8b9fc27fb0591ba305812c6be1946d6a2a91377e222a9e114f05ed18170d1b035dec24e436ab8dadc59 |
23 |
|
24 |
diff --git a/dev-python/Pyro4/Pyro4-4.81.ebuild b/dev-python/Pyro4/Pyro4-4.81.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8027e01d731 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/Pyro4/Pyro4-4.81.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..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Distributed object middleware for Python (RPC)" |
39 |
+HOMEPAGE="https://pypi.org/project/Pyro4/ |
40 |
+ https://github.com/irmen/Pyro4" |
41 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86" |
46 |
+IUSE="doc examples test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/serpent-1.27[${PYTHON_USEDEP}]" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ test? ( |
53 |
+ >=dev-python/cloudpickle-1.2.1[${PYTHON_USEDEP}] |
54 |
+ dev-python/dill[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/msgpack-0.4.6[${PYTHON_USEDEP}] |
56 |
+ )" |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ # Disable tests requiring network connection. |
60 |
+ rm tests/PyroTests/test_naming.py || die |
61 |
+ sed \ |
62 |
+ -e "s/testStartNSfunc/_&/" \ |
63 |
+ -i tests/PyroTests/test_naming2.py || die |
64 |
+ |
65 |
+ sed \ |
66 |
+ -e "s/testBroadcast/_&/" \ |
67 |
+ -e "s/testGetIP/_&/" \ |
68 |
+ -i tests/PyroTests/test_socket.py || die |
69 |
+ |
70 |
+ distutils-r1_python_prepare_all |
71 |
+} |
72 |
+ |
73 |
+python_test() { |
74 |
+ esetup.py test |
75 |
+} |
76 |
+ |
77 |
+python_install_all() { |
78 |
+ use doc && HTML_DOCS=( docs/. ) |
79 |
+ if use examples; then |
80 |
+ dodoc -r examples |
81 |
+ docompress -x /usr/share/doc/${PF}/examples |
82 |
+ fi |
83 |
+ distutils-r1_python_install_all |
84 |
+} |