mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 16:41:11 +02:00
eclass/python-r1: Sync with Gentoo
It's from Gentoo commit 2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.
This commit is contained in:
parent
3df94e8446
commit
22e857267b
@ -35,7 +35,7 @@ case ${EAPI} in
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ ! ${_PYTHON_R1_ECLASS} ]]; then
|
||||
if [[ -z ${_PYTHON_R1_ECLASS} ]]; then
|
||||
_PYTHON_R1_ECLASS=1
|
||||
|
||||
if [[ ${_PYTHON_SINGLE_R1_ECLASS} ]]; then
|
||||
@ -616,7 +616,7 @@ _python_multibuild_wrapper() {
|
||||
python_foreach_impl() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
if [[ ${_DISTUTILS_R1} ]]; then
|
||||
if [[ ${_DISTUTILS_R1_ECLASS} ]]; then
|
||||
if has "${EBUILD_PHASE}" prepare configure compile test install &&
|
||||
[[ ! ${_DISTUTILS_CALLING_FOREACH_IMPL} &&
|
||||
! ${_DISTUTILS_FOREACH_IMPL_WARNED} ]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user