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-conch: ChangeLog twisted-conch-10.2.0.ebuild
Date: Wed, 29 Dec 2010 22:53:27
Message-Id: 20101229225312.2F69820054@flycatcher.gentoo.org
1 arfrever 10/12/29 22:53:12
2
3 Modified: ChangeLog twisted-conch-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.63 dev-python/twisted-conch/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-conch/ChangeLog?rev=1.63&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-conch/ChangeLog?rev=1.63&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-conch/ChangeLog?r1=1.62&r2=1.63
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/ChangeLog,v
19 retrieving revision 1.62
20 retrieving revision 1.63
21 diff -u -r1.62 -r1.63
22 --- ChangeLog 28 Dec 2010 01:18:44 -0000 1.62
23 +++ ChangeLog 29 Dec 2010 22:53:12 -0000 1.63
24 @@ -1,6 +1,10 @@
25 # ChangeLog for dev-python/twisted-conch
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/ChangeLog,v 1.62 2010/12/28 01:18:44 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/ChangeLog,v 1.63 2010/12/29 22:53:12 arfrever Exp $
29 +
30 + 29 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
31 + twisted-conch-10.2.0.ebuild:
32 + Avoid test failures with root permissions.
33
34 28 Dec 2010; Brent Baude <ranger@g.o> twisted-conch-10.2.0.ebuild:
35 Marking twisted-conch-10.2.0 ppc64 for bug 333211
36
37
38
39 1.3 dev-python/twisted-conch/twisted-conch-10.2.0.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild?r1=1.2&r2=1.3
44
45 Index: twisted-conch-10.2.0.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- twisted-conch-10.2.0.ebuild 28 Dec 2010 01:18:44 -0000 1.2
52 +++ twisted-conch-10.2.0.ebuild 29 Dec 2010 22:53:12 -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-conch/twisted-conch-10.2.0.ebuild,v 1.2 2010/12/28 01:18:44 ranger Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild,v 1.3 2010/12/29 22:53:12 arfrever Exp $
58
59 EAPI="3"
60 PYTHON_DEPEND="2"
61 @@ -21,3 +21,13 @@
62 RDEPEND="${DEPEND}"
63
64 PYTHON_MODNAME="twisted/conch twisted/plugins"
65 +
66 +src_prepare() {
67 + distutils_src_prepare
68 +
69 + if [[ "${EUID}" -eq 0 ]]; then
70 + # Disable tests failing with root permissions.
71 + sed -e "s/test_checkKeyAsRoot/_&/" -i twisted/conch/test/test_checkers.py
72 + sed -e "s/test_getPrivateKeysAsRoot/_&/" -i twisted/conch/test/test_openssh_compat.py
73 + fi
74 +}