1 |
commit: 4659a0635bbfc1ab33ab4775a707e53e6f8fe54f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 29 08:04:13 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 29 08:15:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4659a063 |
7 |
|
8 |
dev-python/pyro: Bump to 4.76 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/688910 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/pyro/Manifest | 1 + |
14 |
dev-python/pyro/pyro-4.76.ebuild | 64 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 65 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pyro/Manifest b/dev-python/pyro/Manifest |
18 |
index 099ddcf1b9b..881caafea0c 100644 |
19 |
--- a/dev-python/pyro/Manifest |
20 |
+++ b/dev-python/pyro/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST Pyro-3.16.tar.gz 298769 BLAKE2B 8959e0f647b854fafaf1928601ba60921e9914bd85e2ebbca96a11b701cbfee733e73c1a2c6e5aa65bd45a6a1007a92bc51a78116ac385c5340896b4a684787a SHA512 d0e4ae93120a6566a2b06fa52b66e20daa972324a9d57d639ca68171e1e6e5c412250f7e6af3fc307631d2270be3731ea5898ad35819dc0369e6a2d8341d5965 |
23 |
DIST Pyro4-4.41.tar.gz 502294 BLAKE2B 0df5e593551d9ea95d01e114cafd746dc0dd55e3157e167ac7337e316b19d2b7811d2ed4c9b3f44a45171bc63aef3d20124a8da8b149037bcbaf38be6562dd95 SHA512 01c3f16448b39cd7a83c845eec86013315ee183a3e50c6caee1d327308e67ff63732833b413b189ebcb77cdb3fc65bbd7417ecbfc8575775ff79550678bce020 |
24 |
DIST Pyro4-4.56.tar.gz 455253 BLAKE2B 3c63963bc2e248706727324078898c3e2cc9b8b32d228c0f2b87aab776a0e3437f72096031b8658c756988814fd823fa2dc1c8df0b971cfd0174b437f25bd0aa SHA512 88805f5d7108432f98d38267a7a881e35fc1e34ae32cc7a1640f4b6e0d69718a86bf195fb4e4eecbd53075667521585b7006cd5c5736e5ff1ed39b5212b91bef |
25 |
+DIST Pyro4-4.76.tar.gz 477132 BLAKE2B 49621974ecb485e1809366d9933ccb1027d62bfc827c3f800750095ebe3eb3a662e041a9ff97522ac866b93b22f9c1d5257e1503aaf4b6543d2d74a9a17713ff SHA512 48cc63bc74d483fff1b4bac2dd9ecf7576503bfd91e721512a5cea2b5a115ad6480ad0524218aee31e412a867261a9e838d85650dd0f7a87593a4a03cfc5cdc3 |
26 |
|
27 |
diff --git a/dev-python/pyro/pyro-4.76.ebuild b/dev-python/pyro/pyro-4.76.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..4df5e84f0a4 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pyro/pyro-4.76.ebuild |
32 |
@@ -0,0 +1,64 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="Pyro4" |
42 |
+MY_P="${MY_PN}-${PV}" |
43 |
+ |
44 |
+DESCRIPTION="Distributed object middleware for Python (RPC)" |
45 |
+HOMEPAGE="https://pypi.org/project/Pyro4/ |
46 |
+ https://github.com/irmen/Pyro4" |
47 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="4" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc examples test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ !dev-python/pyro:0 |
57 |
+ $(python_gen_cond_dep \ |
58 |
+ 'dev-python/selectors34[${PYTHON_USEDEP}]' -2) |
59 |
+ >=dev-python/serpent-1.27[${PYTHON_USEDEP}]" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ >=dev-python/cloudpickle-1.2.1[${PYTHON_USEDEP}] |
64 |
+ dev-python/dill[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/msgpack-0.4.6[${PYTHON_USEDEP}] |
66 |
+ )" |
67 |
+ |
68 |
+S="${WORKDIR}/${MY_P}" |
69 |
+ |
70 |
+python_prepare_all() { |
71 |
+ # Disable tests requiring network connection. |
72 |
+ rm tests/PyroTests/test_naming.py || die |
73 |
+ sed \ |
74 |
+ -e "s/testStartNSfunc/_&/" \ |
75 |
+ -i tests/PyroTests/test_naming2.py || die |
76 |
+ |
77 |
+ sed \ |
78 |
+ -e "s/testBroadcast/_&/" \ |
79 |
+ -e "s/testGetIP/_&/" \ |
80 |
+ -i tests/PyroTests/test_socket.py || die |
81 |
+ |
82 |
+ distutils-r1_python_prepare_all |
83 |
+} |
84 |
+ |
85 |
+python_test() { |
86 |
+ esetup.py test |
87 |
+} |
88 |
+ |
89 |
+python_install_all() { |
90 |
+ use doc && HTML_DOCS=( docs/. ) |
91 |
+ if use examples; then |
92 |
+ dodoc -r examples |
93 |
+ docompress -x /usr/share/doc/${PF}/examples |
94 |
+ fi |
95 |
+ distutils-r1_python_install_all |
96 |
+} |