summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-09-30 17:07:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-08 13:26:39 +0100
commit8b7a53292677599c159ec96f3e1481ecdd548611 (patch)
tree830c3bdcf4d6e3bee06b81171a817c25af73ef1a /meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb
parent963c1378eb7c261f04d454e234ec8febacb89d47 (diff)
downloadpoky-8b7a53292677599c159ec96f3e1481ecdd548611.tar.gz
python3-pyproject-hooks: upgrade 1.0.0 -> 1.2.0
- Improve interoperability with importlib.metadata, fixing a regression in setuptools compatibility in 1.1 (#199). - Clean up the _in_process directory inside the package from sys.path before imporing the backend (#193). - Add type annotations to the public API. - More careful handling of the backend-path key from pyproject.toml. (From OE-Core rev: 8913a719ab94de919ad60c85b2f8602b6c147351) 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-pyproject-hooks_1.2.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb b/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb
new file mode 100644
index 0000000000..cdb9fc78c9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb
@@ -0,0 +1,24 @@
1SUMMARY = "A low-level library for calling build-backends in pyproject.toml-based projects"
2HOMEPAGE = "https://github.com/pypa/pyproject-hooks"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=aad69c93f605003e3342b174d9b0708c"
5
6SRC_URI[sha256sum] = "1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8"
7
8inherit pypi python_flit_core
9
10PYPI_PACKAGE = "pyproject_hooks"
11
12BBCLASSEXTEND = "native nativesdk"
13
14# Bootstrap the native build
15DEPENDS:remove:class-native = "python3-build-native"
16
17RDEPENDS:${PN} += " \
18 python3-io \
19 python3-json \
20"
21
22do_compile:class-native () {
23 python_flit_core_do_manual_build
24}