Skip to contentSkip to conversation

python3-pyproject-metadata: New recipe

PATCH Superseded Zoltán Böszörményi 3 participants 9 messages Jun 2, 2023 – Jun 14, 2023 Arm/Amlogic Meson SoC support

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python3-pyproject-metadata: New recipe

It is a dependency for python3-meson-python.

---
 meta/conf/distro/include/maintainers.inc         |  1 +
 .../python/python3-pyproject-metadata_0.7.1.bb   | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 5accca3fef..d910ce6481 100644
@@ -670,6 +670,7 @@ RECIPE_MAINTAINER:pn-python3-pygobject = "Zang Ruochen <[email protected]>
 RECIPE_MAINTAINER:pn-python3-pyopenssl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyparsing = "Oleksandr Kravchuk <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyproject-hooks = "Ross Burton <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-pyproject-metadata = "Zoltán Böszörményi <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pysocks = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytest = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytest-runner = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb new file +16 -0
new file mode 100644
index 0000000000..9887af78d0
@@ -0,0 +1,16 @@
+SUMMARY = "PEP 621 metadata parsing"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
+
+PYPI_PACKAGE = "pyproject-metadata"
+
+inherit pypi python_setuptools_build_meta
+SRC_URI[sha256sum] = "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += " \
+    python3-logging \
+    python3-packaging \
+    python3-profile \
+"
Signature · 1 line
2.40.1
#1 lore raw

PATCH 2/3 python3-meson-python: New recipe

This python module adds support for a new PEP517 build backend used by recent versions of scikit-image, scipy and others.

The previously added python_mesonpy.bbclass uses it

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../python/python3-meson-python_0.13.1.bb     | 22 +++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-meson-python_0.13.1.bb
meta/conf/distro/include/maintainers.inc +1 -0
index d910ce6481..232e5aa8f8 100644
@@ -647,6 +647,7 @@ RECIPE_MAINTAINER:pn-python3-magic = "Joshua Watt <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr Kravchuk <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-markdown = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-meson-python = "Zoltán Böszörményi <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <[email protected]>"
meta/recipes-devtools/python/python3-meson-python_0.13.1.bb new file +22 -0
new file mode 100644
index 0000000000..828a1652fa
@@ -0,0 +1,22 @@
+SUMMARY = "Meson Python build backend (PEP 517)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d580b27e67cc0892a5b005b0be114b60"
+
+DEPENDS = " \
+	meson-native ninja-native patchelf-native \
+	python3-pyproject-metadata-native \
+"
+
+PYPI_PACKAGE = "meson_python"
+
+inherit pypi python_mesonpy
+SRC_URI[sha256sum] = "63b3170001425c42fa4cfedadb9051cbd28925ff8eed7c40d36ba0099e3c7618"
+
+DEPENDS:remove:class-native = "python3-meson-python-native"
+
+RDEPENDS:${PN} = " \
+	meson ninja patchelf \
+	python3-pyproject-metadata \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.40.1
#2 lore raw

PATCH 3/3 python_mesonpy: New class

In reply to Zoltán Böszörményi

This is a new PEP517 compatible build class for python modules that use pyproject.toml and this:

[build-system]
build-backend = 'mesonpy'

The new class uses python3-meson-python-native.

---
 meta/classes-recipe/python_mesonpy.bbclass | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 meta/classes-recipe/python_mesonpy.bbclass
meta/classes-recipe/python_mesonpy.bbclass new file +54 -0
new file mode 100644
index 0000000000..1da8b005ab
@@ -0,0 +1,54 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit meson setuptools3-base python3targetconfig python_pep517
+
+# Filter out meson_do_qa_configure from do_configure[postfuncs]
+DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
+DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
+do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is None else d.getVar('DOCONFIGUREPOSTFUNCS') }"
+
+# This prevents the meson error:
+# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
+MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
+
+CONFIGURE_FILES = "pyproject.toml"
+
+DEPENDS += "python3-wheel-native python3-meson-python-native"
+
+def mesonpy_get_args(d):
+    vars = ['MESONOPTS', 'MESON_CROSS_FILE', 'EXTRA_OEMESON']
+    varlist = []
+    for var in vars:
+        value = d.getVar(var)
+        vallist = value.split()
+        for elem in vallist:
+            varlist.append("-Csetup-args=" + elem)
+    return ' '.join(varlist)
+
+PEP517_BUILD_OPTS = "-Cbuilddir='${B}' ${@mesonpy_get_args(d)}"
+
+# Python pyx -> c -> so build leaves absolute build paths in the code
+INSANE_SKIP:${PN} += "buildpaths"
+INSANE_SKIP:${PN}-src += "buildpaths"
+
+python_mesonpy_do_configure () {
+    python_pep517_do_configure
+}
+
+python_mesonpy_do_compile () {
+    python_pep517_do_compile
+}
+
+python_mesonpy_do_install () {
+    python_pep517_do_install
+}
+
+python_mesonpy_do_bootstrap_install () {
+    python_pep517_do_bootstrap_install
+}
+
+EXPORT_FUNCTIONS do_configure do_compile do_install
Signature · 1 line
2.40.1
#3 lore raw

Re: [OE-core] [PATCH 3/3] python_mesonpy: New class

Quoted 46 lines · Zoltan Boszormenyi

This is a new PEP517 compatible build class for python modules that use pyproject.toml and this:

[build-system]
build-backend = 'mesonpy'

The new class uses python3-meson-python-native.

---
 meta/classes-recipe/python_mesonpy.bbclass | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 meta/classes-recipe/python_mesonpy.bbclass
meta/classes-recipe/python_mesonpy.bbclass new file +26 -0
new file mode 100644
index 0000000000..1da8b005ab
@@ -0,0 +1,54 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit meson setuptools3-base python3targetconfig python_pep517
+
+# Filter out meson_do_qa_configure from do_configure[postfuncs]
+DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
+DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
+do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is None else d.getVar('DOCONFIGUREPOSTFUNCS') }"
+
+# This prevents the meson error:
+# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
+MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
+
+CONFIGURE_FILES = "pyproject.toml"
+
+DEPENDS += "python3-wheel-native python3-meson-python-native"
+
+def mesonpy_get_args(d):
+    vars = ['MESONOPTS', 'MESON_CROSS_FILE', 'EXTRA_OEMESON']
+    varlist = []
+    for var in vars:
+        value = d.getVar(var)

meta/classes-recipe/python_mesonpy.bbclass line 36

Quoted 10 lines
meta/classes-recipe/python_mesonpy.bbclass new file +10 -0
+        vallist = value.split()
+        for elem in vallist:
+            varlist.append("-Csetup-args=" + elem)
+    return ' '.join(varlist)
+
+PEP517_BUILD_OPTS = "-Cbuilddir='${B}' ${@mesonpy_get_args(d)}"
+
+# Python pyx -> c -> so build leaves absolute build paths in the code
+INSANE_SKIP:${PN} += "buildpaths"
+INSANE_SKIP:${PN}-src += "buildpaths"

This is not ready for core as the output is not reproducible. I am not taking patches which skip buildpaths warnings.

This also shows that the code is not being tested in OE-Core. Until it is needed by and being used by something in core, I don't think it should be there.

Cheers,

Richard

#4 lore raw

Re: [OE-core] [PATCH 3/3] python_mesonpy: New class

2023. 06. 13. 22:59 keltezéssel, Richard Purdie írta:

Quoted 60 lines · Zoltan Boszormenyi
Quoted 46 lines

This is a new PEP517 compatible build class for python modules that use pyproject.toml and this:

[build-system]
build-backend = 'mesonpy'

The new class uses python3-meson-python-native.

---
  meta/classes-recipe/python_mesonpy.bbclass | 54 ++++++++++++++++++++++
  1 file changed, 54 insertions(+)

create mode 100644 meta/classes-recipe/python_mesonpy.bbclass

meta/classes-recipe/python_mesonpy.bbclass new file +26 -0
new file mode 100644
index 0000000000..1da8b005ab
@@ -0,0 +1,54 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit meson setuptools3-base python3targetconfig python_pep517
+
+# Filter out meson_do_qa_configure from do_configure[postfuncs]
+DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
+DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
+do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is None else d.getVar('DOCONFIGUREPOSTFUNCS') }"
+
+# This prevents the meson error:
+# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
+MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
+
+CONFIGURE_FILES = "pyproject.toml"
+
+DEPENDS += "python3-wheel-native python3-meson-python-native"
+
+def mesonpy_get_args(d):
+    vars = ['MESONOPTS', 'MESON_CROSS_FILE', 'EXTRA_OEMESON']
+    varlist = []
+    for var in vars:
+        value = d.getVar(var)

meta/classes-recipe/python_mesonpy.bbclass line 36

Quoted 10 lines
meta/classes-recipe/python_mesonpy.bbclass new file +10 -0
+        vallist = value.split()
+        for elem in vallist:
+            varlist.append("-Csetup-args=" + elem)
+    return ' '.join(varlist)
+
+PEP517_BUILD_OPTS = "-Cbuilddir='${B}' ${@mesonpy_get_args(d)}"
+
+# Python pyx -> c -> so build leaves absolute build paths in the code
+INSANE_SKIP:${PN} += "buildpaths"
+INSANE_SKIP:${PN}-src += "buildpaths"

This is not ready for core as the output is not reproducible. I am not taking patches which skip buildpaths warnings.

Quoted 3 lines

This also shows that the code is not being tested in OE-Core. Until it is needed by and being used by something in core, I don't think it should be there.

This thread was long time dead. The series was sent to meta-oe.

Quoted 5 lines

Cheers,

Richard

#5 lore raw

Re: [OE-core] [PATCH 3/3] python_mesonpy: New class

Quoted 61 lines · Böszörményi Zoltán

2023. 06. 13. 22:59 keltezéssel, Richard Purdie írta:

Quoted 60 lines · Zoltan Boszormenyi
Quoted 46 lines

This is a new PEP517 compatible build class for python modules that use pyproject.toml and this:

[build-system]
build-backend = 'mesonpy'

The new class uses python3-meson-python-native.

---
  meta/classes-recipe/python_mesonpy.bbclass | 54 ++++++++++++++++++++++
  1 file changed, 54 insertions(+)

create mode 100644 meta/classes-recipe/python_mesonpy.bbclass

meta/classes-recipe/python_mesonpy.bbclass new file +26 -0
new file mode 100644
index 0000000000..1da8b005ab
@@ -0,0 +1,54 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit meson setuptools3-base python3targetconfig python_pep517
+
+# Filter out meson_do_qa_configure from do_configure[postfuncs]
+DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
+DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
+do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is None else d.getVar('DOCONFIGUREPOSTFUNCS') }"
+
+# This prevents the meson error:
+# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
+MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
+
+CONFIGURE_FILES = "pyproject.toml"
+
+DEPENDS += "python3-wheel-native python3-meson-python-native"
+
+def mesonpy_get_args(d):
+    vars = ['MESONOPTS', 'MESON_CROSS_FILE', 'EXTRA_OEMESON']
+    varlist = []
+    for var in vars:
+        value = d.getVar(var)

meta/classes-recipe/python_mesonpy.bbclass line 36

Quoted 10 lines
meta/classes-recipe/python_mesonpy.bbclass new file +10 -0
+        vallist = value.split()
+        for elem in vallist:
+            varlist.append("-Csetup-args=" + elem)
+    return ' '.join(varlist)
+
+PEP517_BUILD_OPTS = "-Cbuilddir='${B}' ${@mesonpy_get_args(d)}"
+
+# Python pyx -> c -> so build leaves absolute build paths in the code
+INSANE_SKIP:${PN} += "buildpaths"
+INSANE_SKIP:${PN}-src += "buildpaths"

This is not ready for core as the output is not reproducible. I am not taking patches which skip buildpaths warnings.

Quoted 5 lines
Quoted 3 lines

This also shows that the code is not being tested in OE-Core. Until it is needed by and being used by something in core, I don't think it should be there.

This thread was long time dead. The series was sent to meta-oe.

Was the reproducibility issue fixed? It really does need to be as we have things like hash equivalence which depend upon that...

Cheers,

Richard

#6 lore raw

Re: [OE-core] [PATCH 3/3] python_mesonpy: New class

2023. 06. 14. 11:52 keltezéssel, Richard Purdie írta:

Quoted 62 lines · Böszörményi Zoltán
Quoted 61 lines

2023. 06. 13. 22:59 keltezéssel, Richard Purdie írta:

Quoted 60 lines · Zoltan Boszormenyi
Quoted 46 lines

This is a new PEP517 compatible build class for python modules that use pyproject.toml and this:

[build-system]
build-backend = 'mesonpy'

The new class uses python3-meson-python-native.

---
   meta/classes-recipe/python_mesonpy.bbclass | 54 ++++++++++++++++++++++
   1 file changed, 54 insertions(+)

create mode 100644 meta/classes-recipe/python_mesonpy.bbclass

meta/classes-recipe/python_mesonpy.bbclass new file +26 -0
new file mode 100644
index 0000000000..1da8b005ab
@@ -0,0 +1,54 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit meson setuptools3-base python3targetconfig python_pep517
+
+# Filter out meson_do_qa_configure from do_configure[postfuncs]
+DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
+DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
+do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is None else d.getVar('DOCONFIGUREPOSTFUNCS') }"
+
+# This prevents the meson error:
+# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
+MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
+
+CONFIGURE_FILES = "pyproject.toml"
+
+DEPENDS += "python3-wheel-native python3-meson-python-native"
+
+def mesonpy_get_args(d):
+    vars = ['MESONOPTS', 'MESON_CROSS_FILE', 'EXTRA_OEMESON']
+    varlist = []
+    for var in vars:
+        value = d.getVar(var)

meta/classes-recipe/python_mesonpy.bbclass line 36

Quoted 10 lines
meta/classes-recipe/python_mesonpy.bbclass new file +10 -0
+        vallist = value.split()
+        for elem in vallist:
+            varlist.append("-Csetup-args=" + elem)
+    return ' '.join(varlist)
+
+PEP517_BUILD_OPTS = "-Cbuilddir='${B}' ${@mesonpy_get_args(d)}"
+
+# Python pyx -> c -> so build leaves absolute build paths in the code
+INSANE_SKIP:${PN} += "buildpaths"
+INSANE_SKIP:${PN}-src += "buildpaths"

This is not ready for core as the output is not reproducible. I am not taking patches which skip buildpaths warnings.

Quoted 5 lines
Quoted 4 lines
Quoted 3 lines

This also shows that the code is not being tested in OE-Core. Until it is needed by and being used by something in core, I don't think it should be there.

This thread was long time dead. The series was sent to meta-oe.

Was the reproducibility issue fixed?

You tell me. This is something to be fixed in Cython, as the pyx -> C/C++ translation is responsible for those warnings, not mesonpy.

I am happy to remove those INSANE_SKIP settings, though.

Quoted 6 lines

It really does need to be as we
have things like hash equivalence which depend upon that...

Cheers,

Richard

#7 lore raw
In reply to Zoltán Böszörményi

Hello,

the series causes the following warnings:

stdio: WARNING: python3-pyproject-metadata-native-0.7.1-r0 do_fetch: QA Issue: Recipe python3-pyproject-metadata in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
stdio: WARNING: python3-pyproject-metadata-0.7.1-r0 do_fetch: QA Issue: Recipe python3-pyproject-metadata in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
stdio: WARNING: python3-meson-python-0.13.1-r0 do_fetch: QA Issue: Recipe python3-meson-python in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
stdio: WARNING: python3-meson-python-native-0.13.1-r0 do_fetch: QA Issue: Recipe python3-meson-python in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]

Quoted 56 lines · Zoltan Boszormenyi

It is a dependency for python3-meson-python.

---
 meta/conf/distro/include/maintainers.inc         |  1 +
 .../python/python3-pyproject-metadata_0.7.1.bb   | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 5accca3fef..d910ce6481 100644
@@ -670,6 +670,7 @@ RECIPE_MAINTAINER:pn-python3-pygobject = "Zang Ruochen <[email protected]>
 RECIPE_MAINTAINER:pn-python3-pyopenssl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyparsing = "Oleksandr Kravchuk <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyproject-hooks = "Ross Burton <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-pyproject-metadata = "Zolt�n B�sz�rm�nyi <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pysocks = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytest = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytest-runner = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb new file +16 -0
new file mode 100644
index 0000000000..9887af78d0
@@ -0,0 +1,16 @@
+SUMMARY = "PEP 621 metadata parsing"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
+
+PYPI_PACKAGE = "pyproject-metadata"
+
+inherit pypi python_setuptools_build_meta
+SRC_URI[sha256sum] = "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += " \
+    python3-logging \
+    python3-packaging \
+    python3-profile \
+"
Signature · 11 lines
2.40.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182146): https://lists.openembedded.org/g/openembedded-core/message/182146
Mute This Topic: https://lists.openembedded.org/mt/99281729/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#8 lore raw

2023. 06. 02. 19:21 keltezéssel, Alexandre Belloni írta:

Quoted 3 lines

Hello,

the series causes the following warnings:

Thanks. Just sent v4 with adding HOMEPAGE to both recipes.

Quoted 61 lines

stdio: WARNING: python3-pyproject-metadata-native-0.7.1-r0 do_fetch: QA Issue: Recipe python3-pyproject-metadata in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
stdio: WARNING: python3-pyproject-metadata-0.7.1-r0 do_fetch: QA Issue: Recipe python3-pyproject-metadata in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
stdio: WARNING: python3-meson-python-0.13.1-r0 do_fetch: QA Issue: Recipe python3-meson-python in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
stdio: WARNING: python3-meson-python-native-0.13.1-r0 do_fetch: QA Issue: Recipe python3-meson-python in /home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/python/python3-meson-python_0.13.1.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]

Quoted 54 lines · Zoltan Boszormenyi

It is a dependency for python3-meson-python.

---
  meta/conf/distro/include/maintainers.inc         |  1 +
  .../python/python3-pyproject-metadata_0.7.1.bb   | 16 ++++++++++++++++
  2 files changed, 17 insertions(+)

create mode 100644 meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb

meta/conf/distro/include/maintainers.inc +1 -0
index 5accca3fef..d910ce6481 100644
@@ -670,6 +670,7 @@ RECIPE_MAINTAINER:pn-python3-pygobject = "Zang Ruochen <[email protected]>
  RECIPE_MAINTAINER:pn-python3-pyopenssl = "Tim Orling <[email protected]>"
  RECIPE_MAINTAINER:pn-python3-pyparsing = "Oleksandr Kravchuk <[email protected]>"
  RECIPE_MAINTAINER:pn-python3-pyproject-hooks = "Ross Burton <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-pyproject-metadata = "Zoltán Böszörményi <[email protected]>"
  RECIPE_MAINTAINER:pn-python3-pysocks = "Tim Orling <[email protected]>"
  RECIPE_MAINTAINER:pn-python3-pytest = "Tim Orling <[email protected]>"
  RECIPE_MAINTAINER:pn-python3-pytest-runner = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb new file +16 -0
new file mode 100644
index 0000000000..9887af78d0
@@ -0,0 +1,16 @@
+SUMMARY = "PEP 621 metadata parsing"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
+
+PYPI_PACKAGE = "pyproject-metadata"
+
+inherit pypi python_setuptools_build_meta
+SRC_URI[sha256sum] = "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += " \
+    python3-logging \
+    python3-packaging \
+    python3-profile \
+"
Signature · 9 lines
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182146): https://lists.openembedded.org/g/openembedded-core/message/182146
Mute This Topic: https://lists.openembedded.org/mt/99281729/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-