summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-08-01 15:27:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-07 12:11:15 +0100
commitf695ef07d333a907f33c72a4809a8628be3e7f2e (patch)
tree5f58f2b151e4cde83673a7ce54b576bccc80f3cc
parent5e22ec20b470141e4328d48d827fd5c02f1a8afb (diff)
downloadpoky-f695ef07d333a907f33c72a4809a8628be3e7f2e.tar.gz
classes/python_pep517: use pyproject-build instead of nativepython3
The build package installs an entry point now, so we run that instead of calling the module directly. (From OE-Core rev: e064e71b4003666de1644f8e3c08ed6844d710e5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/python_pep517.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/python_pep517.bbclass b/meta/classes-recipe/python_pep517.bbclass
index 4935b2cbe9..128c943794 100644
--- a/meta/classes-recipe/python_pep517.bbclass
+++ b/meta/classes-recipe/python_pep517.bbclass
@@ -39,7 +39,7 @@ python_pep517_do_configure () {
39# When we have Python 3.11 we can parse pyproject.toml to determine the build 39# When we have Python 3.11 we can parse pyproject.toml to determine the build
40# API entry point directly 40# API entry point directly
41python_pep517_do_compile () { 41python_pep517_do_compile () {
42 nativepython3 -m build --no-isolation --wheel --outdir ${PEP517_WHEEL_PATH} ${PEP517_SOURCE_PATH} ${PEP517_BUILD_OPTS} 42 pyproject-build --no-isolation --wheel --outdir ${PEP517_WHEEL_PATH} ${PEP517_SOURCE_PATH} ${PEP517_BUILD_OPTS}
43} 43}
44do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" 44do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
45 45