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/twisted: ChangeLog twisted-10.2.0.ebuild
Date: Wed, 29 Dec 2010 23:31:36
Message-Id: 20101229233126.573A320054@flycatcher.gentoo.org
1 arfrever 10/12/29 23:31:26
2
3 Modified: ChangeLog twisted-10.2.0.ebuild
4 Log:
5 Avoid test failures with root permissions.
6
7 (Portage version: 2.2.0_alpha10_p17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.136 dev-python/twisted/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.136&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.136&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?r1=1.135&r2=1.136
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v
19 retrieving revision 1.135
20 retrieving revision 1.136
21 diff -u -r1.135 -r1.136
22 --- ChangeLog 28 Dec 2010 01:18:48 -0000 1.135
23 +++ ChangeLog 29 Dec 2010 23:31:26 -0000 1.136
24 @@ -1,6 +1,10 @@
25 # ChangeLog for dev-python/twisted
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.135 2010/12/28 01:18:48 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.136 2010/12/29 23:31:26 arfrever Exp $
29 +
30 + 29 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
31 + twisted-10.2.0.ebuild:
32 + Avoid test failures with root permissions.
33
34 28 Dec 2010; Brent Baude <ranger@g.o> twisted-10.2.0.ebuild:
35 Marking twisted-10.2.0 ppc64 for bug 333211
36
37
38
39 1.3 dev-python/twisted/twisted-10.2.0.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-10.2.0.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-10.2.0.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-10.2.0.ebuild?r1=1.2&r2=1.3
44
45 Index: twisted-10.2.0.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.2.0.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- twisted-10.2.0.ebuild 28 Dec 2010 01:18:48 -0000 1.2
52 +++ twisted-10.2.0.ebuild 29 Dec 2010 23:31:26 -0000 1.3
53 @@ -1,6 +1,6 @@
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.2.0.ebuild,v 1.2 2010/12/28 01:18:48 ranger Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.2.0.ebuild,v 1.3 2010/12/29 23:31:26 arfrever Exp $
58
59 EAPI="3"
60 PYTHON_DEPEND="2"
61 @@ -37,6 +37,14 @@
62
63 # Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
64 epatch "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
65 +
66 + if [[ "${EUID}" -eq 0 ]]; then
67 + # Disable tests failing with root permissions.
68 + sed \
69 + -e "s/test_newPluginsOnReadOnlyPath/_&/" \
70 + -e "s/test_deployedMode/_&/" \
71 + -i twisted/test/test_plugin.py
72 + fi
73 }
74
75 src_test() {