Gentoo Archives: gentoo-commits

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