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: Tue, 07 Jun 2022 06:55:06
Message-Id: 1654584837.7dc263d110ddca6557beefbe40f05d0da334de11.mgorny@gentoo
1 commit: 7dc263d110ddca6557beefbe40f05d0da334de11
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 09:16:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 7 06:53:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc263d1
7
8 distutils-r1.eclass: Ban DISTUTILS_IN_SOURCE_BUILD in PEP517 mode
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/distutils-r1.eclass | 2 ++
13 1 file changed, 2 insertions(+)
14
15 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
16 index db5cced50952..db46d64eea4a 100644
17 --- a/eclass/distutils-r1.eclass
18 +++ b/eclass/distutils-r1.eclass
19 @@ -1588,6 +1588,8 @@ distutils-r1_run_phase() {
20 debug-print-function ${FUNCNAME} "${@}"
21
22 if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then
23 + [[ ${DISTUTILS_USE_PEP517} ]] &&
24 + die "DISTUTILS_IN_SOURCE_BUILD is not supported in PEP517 mode"
25 # only force BUILD_DIR if implementation is explicitly enabled
26 # for building; any-r1 API may select one that is not
27 # https://bugs.gentoo.org/701506