diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-01-12 11:23:35 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-13 17:32:46 +0000 |
| commit | adedac2b3392a86422c5b94fe0ec761304742a9e (patch) | |
| tree | 8f2aeb7081739e9019a44a16b1e290ab1840d95f /meta/recipes-devtools/python/python3-build_0.10.0.bb | |
| parent | 1faf47e9e63bc6a136dccae938aa1ba5769d2857 (diff) | |
| download | poky-adedac2b3392a86422c5b94fe0ec761304742a9e.tar.gz | |
python_pep517: use python3-build, not picobuild
Now that the bootstrap sequence for pypa/build is just
python3-packaging, and python3-pyproject-hooks, we can use build instead
of picobuild.
The only change visible outside of this class is that the variable
PEP517_PICOBUILD_OPTS is now PEP517_BUILD_OPTS, but I'm only aware of one
recipe that used that variable.
(From OE-Core rev: 202c2e3c9481a8841af2556862a76e27d703246d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-build_0.10.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-build_0.10.0.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-build_0.10.0.bb b/meta/recipes-devtools/python/python3-build_0.10.0.bb index bebc00a437..770a32023d 100644 --- a/meta/recipes-devtools/python/python3-build_0.10.0.bb +++ b/meta/recipes-devtools/python/python3-build_0.10.0.bb | |||
| @@ -7,7 +7,16 @@ SRC_URI[sha256sum] = "d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca | |||
| 7 | 7 | ||
| 8 | inherit pypi python_flit_core | 8 | inherit pypi python_flit_core |
| 9 | 9 | ||
| 10 | DEPENDS += "python3-packaging-native python3-pyproject-hooks-native" | 10 | DEPENDS += "python3-pyproject-hooks-native" |
| 11 | |||
| 12 | DEPENDS:remove:class-native = "python3-build-native" | ||
| 13 | |||
| 14 | # Skip dependencies as we're doing a minimal build to bootstrap | ||
| 15 | PEP517_BUILD_OPTS:class-native = "--skip-dependency-check" | ||
| 16 | |||
| 17 | do_compile:prepend:class-native() { | ||
| 18 | export PYTHONPATH="${S}/src" | ||
| 19 | } | ||
| 11 | 20 | ||
| 12 | RDEPENDS:${PN} += "python3-packaging python3-pyproject-hooks" | 21 | RDEPENDS:${PN} += "python3-packaging python3-pyproject-hooks" |
| 13 | 22 | ||
