Gentoo Archives: gentoo-commits

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