Gentoo Archives: gentoo-commits

From: "Amadeusz Piotr Żołnowski" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyro/
Date: Sat, 26 Dec 2015 15:12:31
Message-Id: 1451142727.1cb4b1cabc2857ef296522125d8c4952ecb72315.aidecoe@gentoo
1 commit: 1cb4b1cabc2857ef296522125d8c4952ecb72315
2 Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 15:09:18 2015 +0000
4 Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 15:12:07 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb4b1ca
7
8 dev-python/pyro: Bump version to 4.41
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/pyro/Manifest | 1 +
13 dev-python/pyro/pyro-4.41.ebuild | 78 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/dev-python/pyro/Manifest b/dev-python/pyro/Manifest
17 index da3eb99..b518687 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 SHA256 1bed508453ef7a7556b51424a58101af2349b662baab
21 DIST Pyro4-4.25.tar.gz 295993 SHA256 ac2b0123badcb76c63eb716fcd95e0ee4021d345b5db05fda19253c59e39b384 SHA512 9a112e679a304d250549701d9a1baef0df6d3ea6f1eec559e7c433eab7ab09155c9ae440817f844be073f69dc8bf93836d48930b1d91311eaf6ab7e91c0a4faf WHIRLPOOL aa767569948af1cf222b95fa114d4dee08b601296f8be1ed9bce86502f1c9eeedf05930215da192ab9d237d740283f88a5f7efe1f53291acd1b90b51099a1801
22 DIST Pyro4-4.39.tar.gz 496566 SHA256 39c6ca7f86b0f0bebfeada687a5a8b99f66470a52b0f815195ae63c683266f24 SHA512 ac303401abe997b7ce0914a804538dcee9195bbe3fe1d07cf18be0592cbb4dbd161413e8d7a696a8dc1e29ff64fe98877ea1fa9811d9961340441cf414f31d98 WHIRLPOOL fc4377552f9e5f5666671d909b7c071095933625baea891535c976f735dab8f3d1b5b3f0132be2fcf9a003024d874a88ddd092b127127c0376807a1d2894d393
23 DIST Pyro4-4.40.tar.gz 501340 SHA256 00423d3710f60b2da146075a59e17bfa837f556ed2c8acafe05bc209dcaac3e9 SHA512 43ee1b0dd3e700d9fed16c5fceda30074dc6cd3cbd466efe911711eb81f1c4bce1967bed06225922e45812e04e36c49cd42d24c0edca1845159d1035326896e7 WHIRLPOOL fdc5f2f405a217db0840218201b1d943ef5828513cc606135dbe5dd7fb723dedec78ad25e8ea6cc2ca0a3e4b374eb8a73fe7db0dae6dcac117c0af9d0e757def
24 +DIST Pyro4-4.41.tar.gz 502294 SHA256 3af4749140e9d4032632277ac19e7fd4761856d2df0f0643c574d1e7174a9703 SHA512 01c3f16448b39cd7a83c845eec86013315ee183a3e50c6caee1d327308e67ff63732833b413b189ebcb77cdb3fc65bbd7417ecbfc8575775ff79550678bce020 WHIRLPOOL 4ff63737b01eca22bc1dcd7e61a81ad3285c90ac1e03764edffe85b003eade780a936bbd74773f8d58d2a34dbe562bdfe332c5dd8ddd052f5a3928caa736d882
25
26 diff --git a/dev-python/pyro/pyro-4.41.ebuild b/dev-python/pyro/pyro-4.41.ebuild
27 new file mode 100644
28 index 0000000..6a140ed
29 --- /dev/null
30 +++ b/dev-python/pyro/pyro-4.41.ebuild
31 @@ -0,0 +1,78 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
39 +
40 +inherit distutils-r1
41 +
42 +MY_PN="Pyro4"
43 +MY_P="${MY_PN}-${PV}"
44 +
45 +DESCRIPTION="Distributed object middleware for Python (RPC)"
46 +HOMEPAGE="http://www.xs4all.nl/~irmen/pyro/ https://pypi.python.org/pypi/Pyro4 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 ~ppc ~x86 ~amd64-linux ~x86-linux"
52 +IUSE="doc examples test"
53 +
54 +RDEPEND="
55 + !dev-python/pyro:0
56 + >=dev-python/serpent-1.11[${PYTHON_USEDEP}]"
57 +DEPEND="${RDEPEND}
58 + dev-python/setuptools[${PYTHON_USEDEP}]
59 + test? (
60 + dev-python/coverage[${PYTHON_USEDEP}]
61 + dev-python/nose[${PYTHON_USEDEP}]
62 + )"
63 +
64 +S="${WORKDIR}/${MY_P}"
65 +DISTUTILS_IN_SOURCE_BUILD=1
66 +
67 +python_prepare_all() {
68 + sed \
69 + -e '/sys.path.insert/a sys.path.insert(1,"PyroTests")' \
70 + -i tests/run_testsuite.py || die
71 +
72 + # Disable tests requiring network connection.
73 + sed \
74 + -e "s/testBCstart/_&/" \
75 + -e "s/testDaemonPyroObj/_&/" \
76 + -e "s/testLookupAndRegister/_&/" \
77 + -e "s/testMulti/_&/" \
78 + -e "s/testRefuseDottedNames/_&/" \
79 + -e "s/testResolve/_&/" \
80 + -e "s/testBCLookup/_&/" \
81 + -i tests/PyroTests/test_naming.py || die
82 + sed \
83 + -e "s/testOwnloopBasics/_&/" \
84 + -e "s/testStartNSfunc/_&/" \
85 + -i tests/PyroTests/test_naming2.py || die
86 +
87 + sed \
88 + -e "s/testServerConnections/_&/" \
89 + -e "s/testServerParallelism/_&/" \
90 + -i tests/PyroTests/test_server.py || die
91 +
92 + sed \
93 + -e "s/testBroadcast/_&/" \
94 + -e "s/testGetIP/_&/" \
95 + -e "s/testGetIpVersion[46]/_&/" \
96 + -i tests/PyroTests/test_socket.py || die
97 + distutils-r1_python_prepare_all
98 +}
99 +
100 +python_test() {
101 + cd "${S}"/tests || die
102 + ${PYTHON} -E run_testsuite.py || die
103 +}
104 +
105 +python_install_all() {
106 + use doc && HTML_DOCS=( docs/. )
107 + use examples && local EXAMPLES=( examples/. )
108 + distutils-r1_python_install_all
109 +}