From e3fc6798ac9d09b314a2f1cab7d4855f02fba890 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 12 Aug 2024 07:17:02 +0000 Subject: [PATCH] eclass/python-r1: Sync with Gentoo It's from Gentoo commit 9b1ccc14f4a6e9b6c614a4c5f5d6ec15f6339d64. --- .../src/third_party/portage-stable/eclass/python-r1.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk_container/src/third_party/portage-stable/eclass/python-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/python-r1.eclass index c5fa677055..adf87c2c52 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/python-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/python-r1.eclass @@ -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