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 eclass: python.eclass
Date: Tue, 04 Aug 2009 21:01:29
Message-Id: E1MYR8P-0003jU-Q0@stork.gentoo.org
1 arfrever 09/08/04 21:01:25
2
3 Modified: python.eclass
4 Log:
5 Update dependency on app-admin/eselect-python. Update check for /usr/bin/python.
6
7 Revision Changes Path
8 1.59 eclass/python.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.59&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.59&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?r1=1.58&r2=1.59
13
14 Index: python.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/python.eclass,v
17 retrieving revision 1.58
18 retrieving revision 1.59
19 diff -u -r1.58 -r1.59
20 --- python.eclass 3 Aug 2009 22:28:01 -0000 1.58
21 +++ python.eclass 4 Aug 2009 21:01:25 -0000 1.59
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.58 2009/08/03 22:28:01 arfrever Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.59 2009/08/04 21:01:25 arfrever Exp $
27
28 # @ECLASS: python.eclass
29 # @MAINTAINER:
30 @@ -22,7 +22,7 @@
31 fi
32
33 if ! has "${EAPI:-0}" 0 1 2 || [[ -n "${SUPPORT_PYTHON_ABIS}" ]]; then
34 - DEPEND="${DEPEND} >=app-admin/eselect-python-20090801"
35 + DEPEND="${DEPEND} >=app-admin/eselect-python-20090804"
36 fi
37
38 __python_eclass_test() {
39 @@ -112,9 +112,9 @@
40 # @DESCRIPTION:
41 # Make sure PYTHON_ABIS variable has valid value.
42 validate_PYTHON_ABIS() {
43 - # Ensure that /usr/bin/python and /usr/bin/python-config are scripts.
44 - if [[ "$(</usr/bin/python)" != *"Gentoo Python wrapper script"* ]]; then
45 - die "/usr/bin/python isn't valid script"
46 + # Ensure that /usr/bin/python and /usr/bin/python-config are valid.
47 + if [[ "$(</usr/bin/python)" != *"Gentoo Python wrapper program"* ]]; then
48 + die "/usr/bin/python isn't valid program"
49 fi
50 if [[ "$(</usr/bin/python-config)" != *"Gentoo python-config wrapper script"* ]]; then
51 die "/usr/bin/python-config isn't valid script"