diff mbox series

[v2,2/2] python3-pdm python3-pdm-{backend,build-locked}: move from meta-python

Message ID 20250403025551.2159-2-leimaohui@fujitsu.com
State New
Headers show
Series [v2,1/2] python3-webcolors: upgrade 24.8.0 -> 24.11.1 | expand

Commit Message

Lei Maohui April 3, 2025, 2:55 a.m. UTC
python3-pdm and python3-pdm-backend are dependencies of python3-webcolors
python3-pdm itself depends on python3-pdm-build-locked

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
---
 meta/conf/distro/include/maintainers.inc         |  3 +++
 .../python/python3-pdm-backend_2.4.3.bb          | 14 ++++++++++++++
 .../python/python3-pdm-build-locked_0.3.5.bb     | 14 ++++++++++++++
 .../python/python3-pdm_2.22.4.bb                 | 16 ++++++++++++++++
 4 files changed, 47 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pdm-backend_2.4.3.bb
 create mode 100644 meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb
 create mode 100644 meta/recipes-devtools/python/python3-pdm_2.22.4.bb

Comments

Mathieu Dubois-Briand April 3, 2025, 8:12 a.m. UTC | #1
On Thu Apr 3, 2025 at 4:55 AM CEST, leimaohui via lists.openembedded.org wrote:
> python3-pdm and python3-pdm-backend are dependencies of python3-webcolors
> python3-pdm itself depends on python3-pdm-build-locked
>
> Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> ---

Hi Lei,

Thanks for your patch.

> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb
> @@ -0,0 +1,14 @@
> +SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a"
> +

We have a warning on the autobuilder about this, as it lacks the
HOMEPAGE link:

WARNING: python3-pdm-build-locked-0.3.5-r0 do_recipe_qa: QA Issue: Recipe python3-pdm-build-locked in /srv/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]

https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1333/steps/13/logs/stdio

Can you fix this please?
diff mbox series

Patch

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 2b47d3103c..4c02ee4961 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -665,6 +665,9 @@  RECIPE_MAINTAINER:pn-python3-numpy = "Trevor Gamblin <tgamblin@baylibre.com>"
 RECIPE_MAINTAINER:pn-python3-packaging = "Tim Orling <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-pathspec = "Ross Burton <ross.burton@arm.com>"
 RECIPE_MAINTAINER:pn-python3-pbr = "Zang Ruochen <zangruochen@loongson.cn>"
+RECIPE_MAINTAINER:pn-python3-pdm = "Khem Raj <raj.khem@gmail.com>"
+RECIPE_MAINTAINER:pn-python3-pdm-backend = "Khem Raj <raj.khem@gmail.com>"
+RECIPE_MAINTAINER:pn-python3-pdm-build-locked = "Khem Raj <raj.khem@gmail.com>"
 RECIPE_MAINTAINER:pn-python3-pefile = "Khem Raj <raj.khem@gmail.com>"
 RECIPE_MAINTAINER:pn-python3-pip = "Zang Ruochen <zangruochen@loongson.cn>"
 RECIPE_MAINTAINER:pn-python3-pluggy = "Tim Orling <tim.orling@konsulko.com>"
diff --git a/meta/recipes-devtools/python/python3-pdm-backend_2.4.3.bb b/meta/recipes-devtools/python/python3-pdm-backend_2.4.3.bb
new file mode 100644
index 0000000000..46440c9d5d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pdm-backend_2.4.3.bb
@@ -0,0 +1,14 @@ 
+SUMMARY = "The build backend used by PDM that supports latest packaging standards"
+HOMEPAGE = "https://github.com/pdm-project/pdm-backend"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea"
+
+SRC_URI[sha256sum] = "dbd9047a7ac10d11a5227e97163b617ad5d665050476ff63867d971758200728"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "pdm_backend"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb b/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb
new file mode 100644
index 0000000000..c0eee4e97d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb
@@ -0,0 +1,14 @@ 
+SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a"
+
+SRC_URI[sha256sum] = "ab2f381e00d79841d46be2e6909c265038b9fa951de2bf551ca6adb7f6844201"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " python3-pdm-backend-native"
+
+PYPI_PACKAGE = "pdm_build_locked"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
+BBCLASSEXTEND += "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pdm_2.22.4.bb b/meta/recipes-devtools/python/python3-pdm_2.22.4.bb
new file mode 100644
index 0000000000..e6f35b3c7a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pdm_2.22.4.bb
@@ -0,0 +1,16 @@ 
+SUMMARY = "A modern Python package and dependency manager supporting the latest PEP standards"
+HOMEPAGE = "https://pdm-project.org/latest/"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2"
+
+SRC_URI[sha256sum] = "8483f3d2285039cea7e07c5ba6ac7e1fcba358129f8831fb75065a797d27b923"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-pdm-backend-native \
+    python3-pdm-build-locked-native \
+"
+
+BBCLASSEXTEND = "native nativesdk"