Message ID | 20241120082208.1619368-1-martin.jansa@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,styhead,1/2] python3-pdm-build-locked: Add recipe | expand |
lgtm On Wed, Nov 20, 2024 at 12:22 AM Martin Jansa <martin.jansa@gmail.com> wrote: > > From: Khem Raj <raj.khem@gmail.com> > > * backporting new recipes is against stable policy, but > https://git.openembedded.org/meta-openembedded/commit/?h=styhead&id=cb58461c8f9067247d630ec385851ed9c3889f79 > was backported and added this dependency, so now styhead is failing with: > > ERROR: Nothing PROVIDES 'python3-pdm-build-locked-native' (but > meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.19.1.bb > DEPENDS on or otherwise requires it). Close matches: > python3-build-native > python3-filelock-native > python3-pdm-backend-native > > Signed-off-by: Khem Raj <raj.khem@gmail.com> > Signed-off-by: Martin Jansa <martin.jansa@gmail.com> > --- > .../python/python3-pdm-build-locked_0.3.3.bb | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb > > diff --git a/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb b/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb > new file mode 100644 > index 0000000000..f20f11ff44 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb > @@ -0,0 +1,13 @@ > +SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a" > + > +SRC_URI[sha256sum] = "b784135abf62b93ce0a11332ee24723a2699b7f266fddb7950a5b70c93df6214" > + > +inherit pypi python_setuptools_build_meta > + > +DEPENDS += " python3-pdm-backend-native" > + > +PYPI_PACKAGE = "pdm_build_locked" > + > +BBCLASSEXTEND += "native nativesdk" > -- > 2.47.0 >
diff --git a/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb b/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb new file mode 100644 index 0000000000..f20f11ff44 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.3.bb @@ -0,0 +1,13 @@ +SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a" + +SRC_URI[sha256sum] = "b784135abf62b93ce0a11332ee24723a2699b7f266fddb7950a5b70c93df6214" + +inherit pypi python_setuptools_build_meta + +DEPENDS += " python3-pdm-backend-native" + +PYPI_PACKAGE = "pdm_build_locked" + +BBCLASSEXTEND += "native nativesdk"