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-lang/python: python-2.6.2-r1.ebuild python-2.5.4-r3.ebuild ChangeLog
Date: Fri, 31 Jul 2009 14:03:31
Message-Id: E1MWshl-0006Rs-MX@stork.gentoo.org
1 arfrever 09/07/31 14:03:29
2
3 Modified: python-2.6.2-r1.ebuild python-2.5.4-r3.ebuild
4 ChangeLog
5 Log:
6 Skip test_ctypes on systems with PAX (bug #234498).
7 (Portage version: 13869-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 dev-lang/python/python-2.6.2-r1.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild?r1=1.2&r2=1.3
15
16 Index: python-2.6.2-r1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- python-2.6.2-r1.ebuild 30 Jul 2009 23:26:37 -0000 1.2
23 +++ python-2.6.2-r1.ebuild 31 Jul 2009 14:03:29 -0000 1.3
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild,v 1.2 2009/07/30 23:26:37 darkside Exp $
28 +# $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 $
29
30 # NOTE about python-portage interactions :
31 # - Do not add a pkg_setup() check for a certain version of portage
32 @@ -9,7 +9,7 @@
33
34 EAPI="2"
35
36 -inherit autotools eutils flag-o-matic libtool multilib python toolchain-funcs versionator
37 +inherit autotools eutils flag-o-matic libtool multilib pax-utils python toolchain-funcs versionator
38
39 # We need this so that we don't depends on python.eclass
40 PYVER_MAJOR=$(get_major_version)
41 @@ -181,7 +181,10 @@
42
43 # test_pow fails on alpha.
44 # http://bugs.python.org/issue756093
45 - [[ ${ARCH} == "alpha" ]] && skip_tests="${skip_tests} pow"
46 + [[ ${ARCH} == "alpha" ]] && skip_tests+=" pow"
47 +
48 + # test_ctypes fails with PAX kernel (bug #234498).
49 + host-is-pax && skip_tests+=" ctypes"
50
51 for test in ${skip_tests}; do
52 mv "${S}"/Lib/test/test_${test}.py "${T}"
53
54
55
56 1.10 dev-lang/python/python-2.5.4-r3.ebuild
57
58 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.5.4-r3.ebuild?rev=1.10&view=markup
59 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.5.4-r3.ebuild?rev=1.10&content-type=text/plain
60 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.5.4-r3.ebuild?r1=1.9&r2=1.10
61
62 Index: python-2.5.4-r3.ebuild
63 ===================================================================
64 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r3.ebuild,v
65 retrieving revision 1.9
66 retrieving revision 1.10
67 diff -u -r1.9 -r1.10
68 --- python-2.5.4-r3.ebuild 19 Jul 2009 09:30:49 -0000 1.9
69 +++ python-2.5.4-r3.ebuild 31 Jul 2009 14:03:29 -0000 1.10
70 @@ -1,6 +1,6 @@
71 # Copyright 1999-2009 Gentoo Foundation
72 # Distributed under the terms of the GNU General Public License v2
73 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r3.ebuild,v 1.9 2009/07/19 09:30:49 armin76 Exp $
74 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r3.ebuild,v 1.10 2009/07/31 14:03:29 arfrever Exp $
75
76 # NOTE about python-portage interactions :
77 # - Do not add a pkg_setup() check for a certain version of portage
78 @@ -9,7 +9,7 @@
79
80 EAPI="1"
81
82 -inherit autotools eutils flag-o-matic libtool multilib python toolchain-funcs versionator
83 +inherit autotools eutils flag-o-matic libtool multilib pax-utils python toolchain-funcs versionator
84
85 # We need this so that we don't depends on python.eclass
86 PYVER_MAJOR=$(get_major_version)
87 @@ -189,7 +189,10 @@
88
89 # test_pow fails on alpha.
90 # http://bugs.python.org/issue756093
91 - [[ ${ARCH} == "alpha" ]] && skip_tests="${skip_tests} pow"
92 + [[ ${ARCH} == "alpha" ]] && skip_tests+=" pow"
93 +
94 + # test_ctypes fails with PAX kernel (bug #234498).
95 + host-is-pax && skip_tests+=" ctypes"
96
97 for test in ${skip_tests}; do
98 mv "${S}"/Lib/test/test_${test}.py "${T}"
99
100
101
102 1.396 dev-lang/python/ChangeLog
103
104 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/ChangeLog?rev=1.396&view=markup
105 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/ChangeLog?rev=1.396&content-type=text/plain
106 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/ChangeLog?r1=1.395&r2=1.396
107
108 Index: ChangeLog
109 ===================================================================
110 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v
111 retrieving revision 1.395
112 retrieving revision 1.396
113 diff -u -r1.395 -r1.396
114 --- ChangeLog 30 Jul 2009 23:26:37 -0000 1.395
115 +++ ChangeLog 31 Jul 2009 14:03:29 -0000 1.396
116 @@ -1,6 +1,10 @@
117 # ChangeLog for dev-lang/python
118 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
119 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.395 2009/07/30 23:26:37 darkside Exp $
120 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.396 2009/07/31 14:03:29 arfrever Exp $
121 +
122 + 31 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
123 + python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild:
124 + Skip test_ctypes on systems with PAX (bug #234498).
125
126 30 Jul 2009; Jeremy Olexa <darkside@g.o> python-2.6.2-r1.ebuild:
127 amd64 stable, bug 277645