diff options
author | David Seifert <soap@gentoo.org> | 2023-03-17 23:04:31 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-03-17 23:04:31 +0100 |
commit | 2cba2db27919bc449ed2a7bf7ed3259c6b96e65f (patch) | |
tree | c89a0929ca3e7cc95c737085614214e89450c999 /eclass/python-r1.eclass | |
parent | xdg.eclass: remove EAPI 5 (diff) | |
download | gentoo-2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.tar.gz gentoo-2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.tar.bz2 gentoo-2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.zip |
eclass: standardize prologue/epilogue
Closes: https://github.com/gentoo/gentoo/pull/30061
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r-- | eclass/python-r1.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 657922fe646d..4758defe6493 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -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} ]] |