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.4.ebuild
Date: Tue, 26 Apr 2011 18:50:08
Message-Id: 20110426184953.370EA20054@flycatcher.gentoo.org
1 arfrever 11/04/26 18:49:53
2
3 Modified: ChangeLog
4 Added: pyro-4.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.39 dev-python/pyro/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 26 Apr 2011 08:51:56 -0000 1.38
24 +++ ChangeLog 26 Apr 2011 18:49:53 -0000 1.39
25 @@ -1,6 +1,12 @@
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.38 2011/04/26 08:51:56 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.39 2011/04/26 18:49:53 arfrever Exp $
30 +
31 +*pyro-4.4 (26 Apr 2011)
32 +
33 + 26 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +pyro-4.4.ebuild:
35 + Version bump.
36
37 26 Apr 2011; Markos Chandras <hwoarang@g.o> pyro-4.3.ebuild:
38 Stable on amd64 wrt bug #363873
39
40
41
42 1.1 dev-python/pyro/pyro-4.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pyro-4.4.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.4.ebuild,v 1.1 2011/04/26 18:49:53 arfrever 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/pyro4/ http://www.razorvine.net/projects/Pyro.html 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 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 sed -e "s/testServerConnections/_&/" -i tests/PyroTests/test_server.py
102 sed \
103 -e "s/testBroadcast/_&/" \
104 -e "s/testGetIP/_&/" \
105 -i tests/PyroTests/test_socket.py
106 }
107
108 src_test() {
109 cd tests
110
111 testing() {
112 "$(PYTHON)" run_suite.py
113 }
114 python_execute_function testing
115 }
116
117 src_install() {
118 distutils_src_install
119
120 if use doc; then
121 dohtml -r docs/* || die "Installation of documentation failed"
122 fi
123
124 if use examples; then
125 insinto /usr/share/doc/${PF}
126 doins -r examples || die "Installation of examples failed"
127 fi
128 }