mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
eclass/python-r1: Sync with Gentoo
It's from Gentoo commit 9b1ccc14f4a6e9b6c614a4c5f5d6ec15f6339d64.
This commit is contained in:
parent
46bc88b855
commit
e3fc6798ac
@ -617,6 +617,7 @@ _python_multibuild_wrapper() {
|
||||
# locally, and the former two are exported to the command environment.
|
||||
python_foreach_impl() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
_python_sanity_checks
|
||||
|
||||
if [[ ${_DISTUTILS_R1_ECLASS} ]]; then
|
||||
if has "${EBUILD_PHASE}" prepare configure compile test install &&
|
||||
@ -708,6 +709,7 @@ python_foreach_impl() {
|
||||
# @CODE
|
||||
python_setup() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
_python_sanity_checks
|
||||
|
||||
local has_check_deps
|
||||
declare -f python_check_deps >/dev/null && has_check_deps=1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user