commit: 50f92f7b3f359ad14fedf0b37cb48fca5855730b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jan 26 14:05:46 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jan 28 23:01:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f92f7b
distutils-r1.eclass: Improve PEP 517 einfo output Add an einfo message for calling installer. Indent both messages relevant to PEP 517 logic. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/distutils-r1.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index cf3eb639d5e6..7dfd92691b59 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -952,7 +952,7 @@ distutils-r1_python_compile() { fi fi - einfo "Building a wheel via ${build_backend}" + einfo " Building the wheel via ${build_backend}" "${EPYTHON}" -c "import ${build_backend%:*}; \ import os; \ ${build_backend/:/.}.build_wheel(os.environ['WHEEL_BUILD_DIR'])" || @@ -964,6 +964,7 @@ distutils-r1_python_compile() { fi local root=${BUILD_DIR}/install + einfo " Installing the wheel to ${root}" # NB: --compile-bytecode does not produce the correct paths, # and python_optimize doesn't handle being called outside D, # so we just defer compiling until the final merge