diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-05 11:16:23 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-06-07 08:53:57 +0200 |
commit | 7dc263d110ddca6557beefbe40f05d0da334de11 (patch) | |
tree | e7df20d619ebc80e1e42927d56a1766781f4eff8 /eclass | |
parent | distutils-r1.eclass: Add "_trial_temp" to forbidden package names (diff) | |
download | gentoo-7dc263d110ddca6557beefbe40f05d0da334de11.tar.gz gentoo-7dc263d110ddca6557beefbe40f05d0da334de11.tar.bz2 gentoo-7dc263d110ddca6557beefbe40f05d0da334de11.zip |
distutils-r1.eclass: Ban DISTUTILS_IN_SOURCE_BUILD in PEP517 mode
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index db5cced50952..db46d64eea4a 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1588,6 +1588,8 @@ distutils-r1_run_phase() { debug-print-function ${FUNCNAME} "${@}" if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then + [[ ${DISTUTILS_USE_PEP517} ]] && + die "DISTUTILS_IN_SOURCE_BUILD is not supported in PEP517 mode" # only force BUILD_DIR if implementation is explicitly enabled # for building; any-r1 API may select one that is not # https://bugs.gentoo.org/701506 |