1 |
arfrever 09/08/02 00:30:29 |
2 |
|
3 |
Modified: distutils.eclass |
4 |
Log: |
5 |
Add missing echo and use $(get_python). |
6 |
|
7 |
Revision Changes Path |
8 |
1.57 eclass/distutils.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/distutils.eclass?rev=1.57&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/distutils.eclass?rev=1.57&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/distutils.eclass?r1=1.56&r2=1.57 |
13 |
|
14 |
Index: distutils.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v |
17 |
retrieving revision 1.56 |
18 |
retrieving revision 1.57 |
19 |
diff -u -r1.56 -r1.57 |
20 |
--- distutils.eclass 1 Aug 2009 22:36:20 -0000 1.56 |
21 |
+++ distutils.eclass 2 Aug 2009 00:30:29 -0000 1.57 |
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/distutils.eclass,v 1.56 2009/08/01 22:36:20 arfrever Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.57 2009/08/02 00:30:29 arfrever Exp $ |
27 |
|
28 |
# @ECLASS: distutils.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -71,7 +71,8 @@ |
31 |
distutils_src_compile() { |
32 |
if ! has "${EAPI:-0}" 0 1 2 || [[ -n "${SUPPORT_PYTHON_ABIS}" ]]; then |
33 |
build_modules() { |
34 |
- ${python} setup.py build -b "build-${PYTHON_ABI}" "$@" |
35 |
+ echo "$(get_python)" setup.py build -b "build-${PYTHON_ABI}" "$@" |
36 |
+ "$(get_python)" setup.py build -b "build-${PYTHON_ABI}" "$@" |
37 |
} |
38 |
python_execute_function build_modules "$@" |
39 |
else |
40 |
@@ -95,11 +96,11 @@ |
41 |
# a package uses distutils but does not install anything |
42 |
# in site-packages. (eg. dev-java/java-config-2.x) |
43 |
# - liquidx (14/08/2006) |
44 |
- pylibdir="$(${python} -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())')" |
45 |
+ pylibdir="$("$(get_python)" -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())')" |
46 |
[[ -n "${pylibdir}" ]] && dodir "${pylibdir}" |
47 |
|
48 |
- echo ${python} setup.py build -b "build-${PYTHON_ABI}" install --root="${D}" --no-compile "$@" |
49 |
- ${python} setup.py build -b "build-${PYTHON_ABI}" install --root="${D}" --no-compile "$@" |
50 |
+ echo "$(get_python)" setup.py build -b "build-${PYTHON_ABI}" install --root="${D}" --no-compile "$@" |
51 |
+ "$(get_python)" setup.py build -b "build-${PYTHON_ABI}" install --root="${D}" --no-compile "$@" |
52 |
} |
53 |
python_execute_function install_modules "$@" |
54 |
else |