Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyro: ChangeLog pyro-4.2.ebuild
Date: Tue, 04 Jan 2011 21:32:37
Message-Id: 20110104213226.929742005C@flycatcher.gentoo.org
1 arfrever 11/01/04 21:32:26
2
3 Modified: ChangeLog
4 Added: pyro-4.2.ebuild
5 Log:
6 Version bump. Disable tests requiring network connection (bug #341723).
7
8 (Portage version: 2.2.0_alpha12_p8/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.29 dev-python/pyro/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -u -r1.28 -r1.29
23 --- ChangeLog 1 Aug 2010 13:39:19 -0000 1.28
24 +++ ChangeLog 4 Jan 2011 21:32:26 -0000 1.29
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pyro
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.28 2010/08/01 13:39:19 hwoarang Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.29 2011/01/04 21:32:26 arfrever Exp $
31 +
32 +*pyro-4.2 (04 Jan 2011)
33 +
34 + 04 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 + +pyro-4.2.ebuild:
36 + Version bump. Disable tests requiring network connection (bug #341723).
37
38 01 Aug 2010; Markos Chandras <hwoarang@g.o> pyro-4.1.ebuild:
39 Stable on amd64 wrt bug #330605
40
41
42
43 1.1 dev-python/pyro/pyro-4.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pyro-4.2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-4.2.ebuild,v 1.1 2011/01/04 21:32:26 arfrever Exp $
53
54 EAPI="3"
55 PYTHON_DEPEND="*:2.5"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="2.4"
58
59 inherit distutils
60
61 MY_P="Pyro4-${PV}"
62
63 DESCRIPTION="Advanced and powerful Distributed Object Technology system written entirely in Python"
64 HOMEPAGE="http://www.xs4all.nl/~irmen/pyro4/ http://pypi.python.org/pypi/Pyro4"
65 SRC_URI="http://www.xs4all.nl/~irmen/pyro4/download/${MY_P}.tar.gz"
66
67 LICENSE="MIT"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux"
70 IUSE="doc examples"
71
72 DEPEND=""
73 RDEPEND=""
74
75 S="${WORKDIR}/${MY_P}"
76
77 PYTHON_MODNAME="Pyro4"
78
79 src_prepare() {
80 distutils_src_prepare
81
82 # Fix tests with >=dev-python/coverage-3.4.
83 sed -e "s/omit_prefixes=/omit=/" -i tests/run_testsuite.py
84
85 # Disable tests requiring network connection.
86 sed \
87 -e "s/testOwnloopBasics/_&/" \
88 -e "s/testStartNSfunc/_&/" \
89 -i tests/PyroTests/namingtests2.py
90 sed -e "s/testServerConnections/_&/" -i tests/PyroTests/servertests.py
91 sed \
92 -e "s/testBroadcast/_&/" \
93 -e "s/testGetIP/_&/" \
94 -i tests/PyroTests/sockettests.py
95 sed \
96 -e "s/testBCstart/_&/" \
97 -e "s/testDaemonPyroObj/_&/" \
98 -e "s/testLookupAndRegister/_&/" \
99 -e "s/testMulti/_&/" \
100 -e "s/testRefuseDottedNames/_&/" \
101 -e "s/testResolve/_&/" \
102 -i tests/PyroTests/namingtests.py
103 }
104
105 src_test() {
106 cd tests
107
108 testing() {
109 "$(PYTHON)" run_testsuite.py
110 }
111 python_execute_function testing
112 }
113
114 src_install() {
115 distutils_src_install
116
117 if use doc; then
118 dohtml -r docs/* || die "Installation of documentation failed"
119 fi
120
121 if use examples; then
122 insinto /usr/share/doc/${PF}
123 doins -r examples || die "Installation of examples failed"
124 fi
125 }