1 |
aidecoe 12/06/01 13:16:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pyro-4.14.ebuild |
5 |
Log: |
6 |
Version bump wrt bug #416809. |
7 |
|
8 |
This version comes with several bug fixes and one workaround for threadpool |
9 |
scaling problem. I have restricted the test for this version because it fails |
10 |
anyway because of the latest problem which is not fully solved: |
11 |
|
12 |
FAIL: testPoolGrowth (PyroTests.test_threadpool.ThreadpoolTests) |
13 |
|
14 |
(Portage version: 2.1.10.63/cvs/Linux x86_64) |
15 |
|
16 |
Revision Changes Path |
17 |
1.68 dev-python/pyro/ChangeLog |
18 |
|
19 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.68&view=markup |
20 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?rev=1.68&content-type=text/plain |
21 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/ChangeLog?r1=1.67&r2=1.68 |
22 |
|
23 |
Index: ChangeLog |
24 |
=================================================================== |
25 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v |
26 |
retrieving revision 1.67 |
27 |
retrieving revision 1.68 |
28 |
diff -u -r1.67 -r1.68 |
29 |
--- ChangeLog 1 Jun 2012 12:07:14 -0000 1.67 |
30 |
+++ ChangeLog 1 Jun 2012 13:16:04 -0000 1.68 |
31 |
@@ -1,6 +1,16 @@ |
32 |
# ChangeLog for dev-python/pyro |
33 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
34 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.67 2012/06/01 12:07:14 aidecoe Exp $ |
35 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.68 2012/06/01 13:16:04 aidecoe Exp $ |
36 |
+ |
37 |
+*pyro-4.14 (01 Jun 2012) |
38 |
+ |
39 |
+ 01 Jun 2012; Amadeusz Żołnowski <aidecoe@g.o> +pyro-4.14.ebuild, |
40 |
+ pyro-4.11.ebuild: |
41 |
+ Version bump wrt bug #416809. This version comes with several bug fixes and |
42 |
+ one workaround for threadpool scaling problem. I have restricted the test for |
43 |
+ this version because it fails anyway because of the latest problem which is |
44 |
+ not fully solved: FAIL: testPoolGrowth |
45 |
+ (PyroTests.test_threadpool.ThreadpoolTests) |
46 |
|
47 |
*pyro-4.11 (01 Jun 2012) |
48 |
|
49 |
|
50 |
|
51 |
|
52 |
1.1 dev-python/pyro/pyro-4.14.ebuild |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.14.ebuild?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyro/pyro-4.14.ebuild?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: pyro-4.14.ebuild |
58 |
=================================================================== |
59 |
# Copyright 1999-2012 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-4.14.ebuild,v 1.1 2012/06/01 13:16:04 aidecoe Exp $ |
62 |
|
63 |
EAPI="3" |
64 |
PYTHON_DEPEND="*:2.6" |
65 |
SUPPORT_PYTHON_ABIS="1" |
66 |
RESTRICT_PYTHON_ABIS="2.[45]" |
67 |
|
68 |
inherit distutils |
69 |
|
70 |
MY_PN="Pyro4" |
71 |
MY_P="${MY_PN}-${PV}" |
72 |
|
73 |
DESCRIPTION="Advanced and powerful Distributed Object Technology system written entirely in Python" |
74 |
HOMEPAGE="http://www.xs4all.nl/~irmen/pyro/ http://pypi.python.org/pypi/Pyro4" |
75 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
76 |
|
77 |
LICENSE="MIT" |
78 |
SLOT="4" |
79 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
80 |
IUSE="doc examples test" |
81 |
|
82 |
RDEPEND="!dev-python/pyro:0" |
83 |
DEPEND="${RDEPEND} |
84 |
dev-python/setuptools |
85 |
test? ( |
86 |
dev-python/coverage |
87 |
dev-python/nose |
88 |
)" |
89 |
|
90 |
S="${WORKDIR}/${MY_P}" |
91 |
|
92 |
PYTHON_MODNAME="Pyro4" |
93 |
RESTRICT="test" |
94 |
|
95 |
src_prepare() { |
96 |
distutils_src_prepare |
97 |
|
98 |
sed -e '/sys.path.insert/a sys.path.insert(1,"PyroTests")' -i tests/run_suite.py |
99 |
|
100 |
# Disable tests requiring network connection. |
101 |
sed \ |
102 |
-e "s/testBCstart/_&/" \ |
103 |
-e "s/testDaemonPyroObj/_&/" \ |
104 |
-e "s/testLookupAndRegister/_&/" \ |
105 |
-e "s/testMulti/_&/" \ |
106 |
-e "s/testRefuseDottedNames/_&/" \ |
107 |
-e "s/testResolve/_&/" \ |
108 |
-i tests/PyroTests/test_naming.py |
109 |
sed \ |
110 |
-e "s/testOwnloopBasics/_&/" \ |
111 |
-e "s/testStartNSfunc/_&/" \ |
112 |
-i tests/PyroTests/test_naming2.py |
113 |
|
114 |
sed \ |
115 |
-e "s/testServerConnections/_&/" \ |
116 |
-e "s/testServerParallelism/_&/" \ |
117 |
-i tests/PyroTests/test_server.py |
118 |
|
119 |
sed \ |
120 |
-e "s/testBroadcast/_&/" \ |
121 |
-e "s/testGetIP/_&/" \ |
122 |
-i tests/PyroTests/test_socket.py |
123 |
} |
124 |
|
125 |
src_test() { |
126 |
cd tests |
127 |
|
128 |
testing() { |
129 |
"$(PYTHON)" run_suite.py |
130 |
} |
131 |
python_execute_function testing |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
distutils_src_install |
136 |
|
137 |
if use doc; then |
138 |
dohtml -r docs/* || die "Installation of documentation failed" |
139 |
fi |
140 |
|
141 |
if use examples; then |
142 |
insinto /usr/share/doc/${PF} |
143 |
doins -r examples || die "Installation of examples failed" |
144 |
fi |
145 |
} |
146 |
|
147 |
pkg_postinst() { |
148 |
ewarn "A temporary workaround for a thread pool scaling problem (lock-up)" |
149 |
ewarn "is in effect: the thread pool is fixed at THREADPOOL_MINTHREADS" |
150 |
ewarn "threads. THREADPOOL_MAXTHREADS can still be set but has no effect" |
151 |
ewarn "at the moment, until the thread pool implementation has been fixed." |
152 |
} |