Message ID | 20250801142711.3276119-3-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/3] Revert "python_setuptools_build_meta: clean the build directory in configure" | expand |
diff --git a/meta/recipes-devtools/python/python3-build_1.2.2.bb b/meta/recipes-devtools/python/python3-build_1.2.2.bb index 8f2ee920608..8d4ae2ca1d2 100644 --- a/meta/recipes-devtools/python/python3-build_1.2.2.bb +++ b/meta/recipes-devtools/python/python3-build_1.2.2.bb @@ -9,13 +9,8 @@ inherit pypi python_flit_core DEPENDS += "python3-pyproject-hooks-native" -DEPENDS:remove:class-native = "python3-build-native" - -# Skip dependencies as we're doing a minimal build to bootstrap -PEP517_BUILD_OPTS:class-native = "--skip-dependency-check" - -do_compile:prepend:class-native() { - export PYTHONPATH="${S}/src" +do_compile:class-native() { + python_flit_core_do_manual_build } RDEPENDS:${PN} += " \
The pep517 class no longer called the "build" module directly, so we can't play games with PYTHONPATH here. However, the flit_core class has a bootstrap method so this recipe can use that instead. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/python/python3-build_1.2.2.bb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)