Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 07 May 2018 07:43:47
Message-Id: 1525679013.2bb9963c6c6c29fa4f732db9935e3a1028bb8566.mgorny@gentoo
1 commit: 2bb9963c6c6c29fa4f732db9935e3a1028bb8566
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 3 14:05:11 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 7 07:43:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb9963c
7
8 distutils-r1.eclass: Call python via ${EPYTHON}, not full path
9
10 eclass/distutils-r1.eclass | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
14 index ede30b28086..26fa0069a73 100644
15 --- a/eclass/distutils-r1.eclass
16 +++ b/eclass/distutils-r1.eclass
17 @@ -231,7 +231,7 @@ fi
18 # @USAGE: [<args>...]
19 # @DESCRIPTION:
20 # Run setup.py using currently selected Python interpreter
21 -# (if ${PYTHON} is set; fallback 'python' otherwise).
22 +# (if ${EPYTHON} is set; fallback 'python' otherwise).
23 #
24 # setup.py will be passed the following, in order:
25 # 1. ${mydistutilsargs[@]}
26 @@ -250,7 +250,7 @@ esetup.py() {
27
28 [[ ${BUILD_DIR} ]] && _distutils-r1_create_setup_cfg
29
30 - set -- "${PYTHON:-python}" setup.py "${mydistutilsargs[@]}" "${@}"
31 + set -- "${EPYTHON:-python}" setup.py "${mydistutilsargs[@]}" "${@}"
32
33 echo "${@}" >&2
34 "${@}" || die "${die_args[@]}"