From cb8ec10746302b74a55321e0b3a065099f199a3e Mon Sep 17 00:00:00 2001 From: Lei Maohui Date: Mon, 7 Apr 2025 12:01:48 +0800 Subject: python3-webcolors: upgrade 24.8.0 -> 24.11.1 Fix the issue that: | Traceback (most recent call last): | File "/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24.11.1/recipe-sysroot-native/usr/lib/pyth on3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook | raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import 'pdm.backend' python3-webcolors has migrated to pdm-backend | diff --git a/pyproject.toml b/pyproject.toml | index 6fcec77..9f2dfa9 100644 | --- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@ | [build-system] | -requires = ["setuptools>=61.0"] | -build-backend = "setuptools.build_meta" | +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend" (From OE-Core rev: 4b02af34cbffb62c8242d21e5d797ae114d4f421) Signed-off-by: Lei Maohui Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../python/python3-webcolors_24.11.1.bb | 19 +++++++++++++++++++ .../python/python3-webcolors_24.8.0.bb | 14 -------------- 2 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-webcolors_24.11.1.bb delete mode 100644 meta/recipes-devtools/python/python3-webcolors_24.8.0.bb diff --git a/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb new file mode 100644 index 0000000000..cda63d2a35 --- /dev/null +++ b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb @@ -0,0 +1,19 @@ +SUMMARY = "Simple Python module for working with HTML/CSS color definitions." +HOMEPAGE = "https://pypi.org/project/webcolors/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448" + +SRC_URI[sha256sum] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" + +RDEPENDS:${PN}:class-target = "\ + python3-stringold \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb b/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb deleted file mode 100644 index c5ed4bd7d3..0000000000 --- a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Simple Python module for working with HTML/CSS color definitions." -HOMEPAGE = "https://pypi.org/project/webcolors/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448" - -SRC_URI[sha256sum] = "08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d" - -inherit pypi python_setuptools_build_meta ptest-python-pytest - -RDEPENDS:${PN}:class-target = "\ - python3-stringold \ -" - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf