diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-09-07 10:58:19 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-08 22:59:47 +0100 |
| commit | dc935a3fe6262fb439dfe4cb9e3b88121f278a20 (patch) | |
| tree | 71917203f5f1b50cc11139bee36a2dd6b1284ab2 /meta/recipes-devtools/python/python3-build_1.0.3.bb | |
| parent | b5dbdfe90497867a70fcdd69a3e347952dff7d3a (diff) | |
| download | poky-dc935a3fe6262fb439dfe4cb9e3b88121f278a20.tar.gz | |
python3-build: upgrade to 1.0.3
- Avoid CPython 3.8.17, 3.9.17, 3.10.12, and 3.11.4 tarfile symlink bug
triggered by adding data_filter
(From OE-Core rev: 3a3caeb95d712c5da7487c57884d6de0ff12d2a9)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-build_1.0.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-build_1.0.3.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-build_1.0.3.bb b/meta/recipes-devtools/python/python3-build_1.0.3.bb new file mode 100644 index 0000000000..2d8faeff25 --- /dev/null +++ b/meta/recipes-devtools/python/python3-build_1.0.3.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SUMMARY = "A simple, correct PEP517 package builder" | ||
| 2 | HOMEPAGE = "https://github.com/pypa/build" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "538aab1b64f9828977f84bc63ae570b060a8ed1be419e7870b8b4fc5e6ea553b" | ||
| 7 | |||
| 8 | inherit pypi python_flit_core | ||
| 9 | |||
| 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 | } | ||
| 20 | |||
| 21 | RDEPENDS:${PN} += " \ | ||
| 22 | python3-compression \ | ||
| 23 | python3-difflib \ | ||
| 24 | python3-ensurepip \ | ||
| 25 | python3-logging \ | ||
| 26 | python3-packaging \ | ||
| 27 | python3-pyproject-hooks \ | ||
| 28 | python3-tomllib \ | ||
| 29 | python3-venv \ | ||
| 30 | " | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native nativesdk" | ||
