Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyro: pyro-4.11.ebuild ChangeLog
Date: Wed, 08 Feb 2012 05:10:02
Message-Id: 20120208050952.82E0F2004B@flycatcher.gentoo.org
1 patrick 12/02/08 05:09:52
2
3 Modified: ChangeLog
4 Added: pyro-4.11.ebuild
5 Log:
6 Bump for #401975
7
8 (Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.53 dev-python/pyro/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.53&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.53&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?r1=1.52&r2=1.53
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v
20 retrieving revision 1.52
21 retrieving revision 1.53
22 diff -u -r1.52 -r1.53
23 --- ChangeLog 28 Nov 2011 10:53:54 -0000 1.52
24 +++ ChangeLog 8 Feb 2012 05:09:52 -0000 1.53
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pyro
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.52 2011/11/28 10:53:54 aidecoe Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.53 2012/02/08 05:09:52 patrick Exp $
31 +
32 +*pyro-4.11 (08 Feb 2012)
33 +
34 + 08 Feb 2012; Patrick Lauer <patrick@g.o> +pyro-4.11.ebuild:
35 + Bump for #401975
36
37 28 Nov 2011; Amadeusz Żołnowski <aidecoe@g.o> pyro-4.4.ebuild,
38 pyro-4.8.ebuild:
39
40
41
42 1.1 dev-python/pyro/pyro-4.11.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.11.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.11.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pyro-4.11.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-4.11.ebuild,v 1.1 2012/02/08 05:09:52 patrick Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="*:2.6"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.[45]"
57
58 inherit distutils
59
60 MY_PN="Pyro4"
61 MY_P="${MY_PN}-${PV}"
62
63 DESCRIPTION="Advanced and powerful Distributed Object Technology system written entirely in Python"
64 HOMEPAGE="http://www.xs4all.nl/~irmen/pyro/ http://pypi.python.org/pypi/Pyro4"
65 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
66
67 LICENSE="MIT"
68 SLOT="4"
69 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
70 IUSE="doc examples test"
71
72 RDEPEND="!dev-python/pyro:0"
73 DEPEND="${RDEPEND}
74 dev-python/setuptools
75 test? (
76 dev-python/coverage
77 dev-python/nose
78 )"
79
80 S="${WORKDIR}/${MY_P}"
81
82 PYTHON_MODNAME="Pyro4"
83
84 src_prepare() {
85 distutils_src_prepare
86
87 sed -e '/sys.path.insert/a sys.path.insert(1,"PyroTests")' -i tests/run_suite.py
88
89 # Disable tests requiring network connection.
90 sed \
91 -e "s/testBCstart/_&/" \
92 -e "s/testDaemonPyroObj/_&/" \
93 -e "s/testLookupAndRegister/_&/" \
94 -e "s/testMulti/_&/" \
95 -e "s/testRefuseDottedNames/_&/" \
96 -e "s/testResolve/_&/" \
97 -i tests/PyroTests/test_naming.py
98 sed \
99 -e "s/testOwnloopBasics/_&/" \
100 -e "s/testStartNSfunc/_&/" \
101 -i tests/PyroTests/test_naming2.py
102
103 sed \
104 -e "s/testServerConnections/_&/" \
105 -e "s/testServerParallelism/_&/" \
106 -i tests/PyroTests/test_server.py
107
108 sed \
109 -e "s/testBroadcast/_&/" \
110 -e "s/testGetIP/_&/" \
111 -i tests/PyroTests/test_socket.py
112 }
113
114 src_test() {
115 cd tests
116
117 testing() {
118 "$(PYTHON)" run_suite.py
119 }
120 python_execute_function testing
121 }
122
123 src_install() {
124 distutils_src_install
125
126 if use doc; then
127 dohtml -r docs/* || die "Installation of documentation failed"
128 fi
129
130 if use examples; then
131 insinto /usr/share/doc/${PF}
132 doins -r examples || die "Installation of examples failed"
133 fi
134 }