summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-build_1.2.2.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-09-25 14:48:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-30 17:00:51 +0100
commit8f5aa5c9ebd3b18bc38830e625d085f3c2958ef8 (patch)
tree1f5e2e197249f28d2efa4a7e644aa9c93df52e68 /meta/recipes-devtools/python/python3-build_1.2.2.bb
parentbf4e85d3a57d8971e64a8e95a7d855cb543bfabc (diff)
downloadpoky-8f5aa5c9ebd3b18bc38830e625d085f3c2958ef8.tar.gz
python3-build: upgrade 1.2.1 -> 1.2.2
Changelog: =========== - Add editable to builder.get_requries_for_build's static types - Include artifact attestations in our release - Fix typing compatibility with typed pyproject-hooks - Mark more tests with network - Add more intersphinx links to docs - Make uv optional for tests (From OE-Core rev: c28457432fb723c036598e3c7f72c31d2c500fce) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-build_1.2.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-build_1.2.2.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-build_1.2.2.bb b/meta/recipes-devtools/python/python3-build_1.2.2.bb
new file mode 100644
index 0000000000..8f2ee92060
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-build_1.2.2.bb
@@ -0,0 +1,32 @@
1SUMMARY = "A simple, correct PEP517 package builder"
2HOMEPAGE = "https://github.com/pypa/build"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
5
6SRC_URI[sha256sum] = "119b2fb462adef986483438377a13b2f42064a2a3a4161f24a0cca698a07ac8c"
7
8inherit pypi python_flit_core
9
10DEPENDS += "python3-pyproject-hooks-native"
11
12DEPENDS:remove:class-native = "python3-build-native"
13
14# Skip dependencies as we're doing a minimal build to bootstrap
15PEP517_BUILD_OPTS:class-native = "--skip-dependency-check"
16
17do_compile:prepend:class-native() {
18 export PYTHONPATH="${S}/src"
19}
20
21RDEPENDS:${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
32BBCLASSEXTEND = "native nativesdk"