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: Thu, 30 Apr 2020 09:45:31
Message-Id: 1588239902.b52e1874bdea93ff0b90b4c3ade109195efd6f39.mgorny@gentoo
1 commit: b52e1874bdea93ff0b90b4c3ade109195efd6f39
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 06:56:45 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 09:45:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52e1874
7
8 dev-python/pyro: Bump to 4.80
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.80.ebuild | 63 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-python/pyro/Manifest b/dev-python/pyro/Manifest
17 index 093f5db1b3c..7543f365186 100644
18 --- a/dev-python/pyro/Manifest
19 +++ b/dev-python/pyro/Manifest
20 @@ -1,2 +1,3 @@
21 DIST Pyro4-4.77.tar.gz 479025 BLAKE2B 20c7b53cea55b77efea11cd7b74a1cfcc45ad721ba45e039947f1d869291bfcb054f16bc48fb5ad21386fe7d47785514ff94953b1bcf893266c2c41015bba589 SHA512 52a9f90cec8c5e23ec30ddb69484a15bb86d61024d1bc718d075e01678a3d9655a1ed21f18da1891c121bf0e95282fb1151762b2fdb826a6408056079d2b1a66
22 DIST Pyro4-4.79.tar.gz 490917 BLAKE2B 421fa2d0b32c27c44d11adb7c89e24cfd7a79c10ae40827407d3d8965e98b7d5126168e5b00b042c4bd94800d3e73fc8febdbbbf2b82d3046584ea88106c4734 SHA512 03e75537c7943e1044b7e6623ead934e3004b023ffc6d364472868e0895e3819c4b3c92d1610018ab1466262f32681e69a91d360c33b17e687861c8c742bdf72
23 +DIST Pyro4-4.80.tar.gz 515103 BLAKE2B 5d2b69ba020117947a36c9c75f884434a3452167fa2e586e3a5b0e6deb1d0c8c54dd06a20b9568b53a0a6c42a847d880636e3abe37090246d5f34ca84e915b36 SHA512 8e41285674edbe5c8d5ac63e33406c5ff7b6366d5dd251a1755eff81611193278a473ed8b15f995bc0ba2775dc5d316eb6a3cafd63626b95820591ea3a0a92e3
24
25 diff --git a/dev-python/pyro/pyro-4.80.ebuild b/dev-python/pyro/pyro-4.80.ebuild
26 new file mode 100644
27 index 00000000000..456079265b5
28 --- /dev/null
29 +++ b/dev-python/pyro/pyro-4.80.ebuild
30 @@ -0,0 +1,63 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DISTUTILS_USE_SETUPTOOLS=rdepend
37 +PYTHON_COMPAT=( python3_{6,7,8} )
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 ~arm64 ~ppc ~x86"
52 +IUSE="doc examples test"
53 +RESTRICT="!test? ( test )"
54 +
55 +RDEPEND="
56 + !dev-python/pyro:0
57 + >=dev-python/serpent-1.27[${PYTHON_USEDEP}]"
58 +DEPEND="${RDEPEND}
59 + test? (
60 + >=dev-python/cloudpickle-1.2.1[${PYTHON_USEDEP}]
61 + dev-python/dill[${PYTHON_USEDEP}]
62 + >=dev-python/msgpack-0.4.6[${PYTHON_USEDEP}]
63 + )"
64 +
65 +S="${WORKDIR}/${MY_P}"
66 +
67 +python_prepare_all() {
68 + # Disable tests requiring network connection.
69 + rm tests/PyroTests/test_naming.py || die
70 + sed \
71 + -e "s/testStartNSfunc/_&/" \
72 + -i tests/PyroTests/test_naming2.py || die
73 +
74 + sed \
75 + -e "s/testBroadcast/_&/" \
76 + -e "s/testGetIP/_&/" \
77 + -i tests/PyroTests/test_socket.py || die
78 +
79 + distutils-r1_python_prepare_all
80 +}
81 +
82 +python_test() {
83 + esetup.py test
84 +}
85 +
86 +python_install_all() {
87 + use doc && HTML_DOCS=( docs/. )
88 + if use examples; then
89 + dodoc -r examples
90 + docompress -x /usr/share/doc/${PF}/examples
91 + fi
92 + distutils-r1_python_install_all
93 +}