From 8b7a53292677599c159ec96f3e1481ecdd548611 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 30 Sep 2024 17:07:24 +0100 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python3-pyproject-hooks_1.0.0.bb | 24 ---------------------- .../python/python3-pyproject-hooks_1.2.0.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb create mode 100644 meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb diff --git a/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb b/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb deleted file mode 100644 index c3f1fb75ed..0000000000 --- a/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -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] = "f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5" - -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 -} 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 @@ +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 +} -- cgit v1.2.3-54-g00ecf