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>
This commit is contained in:
Ross Burton
2024-09-30 17:07:24 +01:00
committed by Richard Purdie
parent 963c1378eb
commit 8b7a532926

View File

@@ -0,0 +1,24 @@
SUMMARY = "A low-level library for calling build-backends in pyproject.toml-based projects"
HOMEPAGE = "https://github.com/pypa/pyproject-hooks"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=aad69c93f605003e3342b174d9b0708c"
SRC_URI[sha256sum] = "1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8"
inherit pypi python_flit_core
PYPI_PACKAGE = "pyproject_hooks"
BBCLASSEXTEND = "native nativesdk"
# Bootstrap the native build
DEPENDS:remove:class-native = "python3-build-native"
RDEPENDS:${PN} += " \
python3-io \
python3-json \
"
do_compile:class-native () {
python_flit_core_do_manual_build
}