Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/python: python-2.6.2-r1.ebuild ChangeLog
Date: Sat, 01 Aug 2009 08:16:13
Message-Id: E1MX9lC-0000eR-8t@stork.gentoo.org
1 zmedico 09/08/01 08:16:10
2
3 Modified: python-2.6.2-r1.ebuild ChangeLog
4 Log:
5 Bug #248081 - Fix tests not to assume that stdin is a tty.
6 (Portage version: 2.2_rc33_p13863/cvs/Linux i686)
7
8 Revision Changes Path
9 1.4 dev-lang/python/python-2.6.2-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild?r1=1.3&r2=1.4
14
15 Index: python-2.6.2-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- python-2.6.2-r1.ebuild 31 Jul 2009 14:03:29 -0000 1.3
22 +++ python-2.6.2-r1.ebuild 1 Aug 2009 08:16:10 -0000 1.4
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild,v 1.3 2009/07/31 14:03:29 arfrever Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild,v 1.4 2009/08/01 08:16:10 zmedico Exp $
28
29 # NOTE about python-portage interactions :
30 # - Do not add a pkg_setup() check for a certain version of portage
31 @@ -190,9 +190,13 @@
32 mv "${S}"/Lib/test/test_${test}.py "${T}"
33 done
34
35 - # Redirect stdin from /dev/tty as a workaround for bug #248081.
36 + # Fix OtherFileTests.testStdin() not to assume
37 + # that stdin is a tty for bug #248081.
38 + sed -e "s:'osf1V5':'osf1V5' and sys.stdin.isatty():" \
39 + -i "${S}"/Lib/test/test_file.py || die "sed failed"
40 +
41 # Rerun failed tests in verbose mode (regrtest -w).
42 - EXTRATESTOPTS="-w" make test < /dev/tty || die "make test failed"
43 + EXTRATESTOPTS="-w" make test || die "make test failed"
44
45 for test in ${skip_tests}; do
46 mv "${T}"/test_${test}.py "${S}"/Lib/test/test_${test}.py
47
48
49
50 1.397 dev-lang/python/ChangeLog
51
52 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/ChangeLog?rev=1.397&view=markup
53 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/ChangeLog?rev=1.397&content-type=text/plain
54 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/ChangeLog?r1=1.396&r2=1.397
55
56 Index: ChangeLog
57 ===================================================================
58 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v
59 retrieving revision 1.396
60 retrieving revision 1.397
61 diff -u -r1.396 -r1.397
62 --- ChangeLog 31 Jul 2009 14:03:29 -0000 1.396
63 +++ ChangeLog 1 Aug 2009 08:16:10 -0000 1.397
64 @@ -1,6 +1,9 @@
65 # ChangeLog for dev-lang/python
66 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
67 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.396 2009/07/31 14:03:29 arfrever Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.397 2009/08/01 08:16:10 zmedico Exp $
69 +
70 + 01 Aug 2009; Zac Medico <zmedico@g.o> python-2.6.2-r1.ebuild:
71 + Bug #248081 - Fix tests not to assume that stdin is a tty.
72
73 31 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
74 python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild: