This is the PEP517 build frontend blessed by the Python Packaging Authority, and now that Python 3.11 has been released and enough packages have ported to flit, it can be used without a huge bootstraping problem.
Signed-off-by: Ross Burton <[email protected]> --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-build_0.10.0.bb | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-build_0.10.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 83966a250b1..7254c749c51 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -600,6 +600,7 @@ RECIPE_MAINTAINER:pn-python3-atomicwrites = "Tim Orling <[email protected] RECIPE_MAINTAINER:pn-python3-attrs = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-babel = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-bcrypt = "Tim Orling <[email protected]>" +RECIPE_MAINTAINER:pn-python3-build = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-certifi = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-cffi = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-chardet = "Tim Orling <[email protected]>" diff --git a/meta/recipes-devtools/python/python3-build_0.10.0.bb b/meta/recipes-devtools/python/python3-build_0.10.0.bb new file mode 100644 index 00000000000..bebc00a437d --- /dev/null +++ b/meta/recipes-devtools/python/python3-build_0.10.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "A simple, correct PEP517 package builder" +HOMEPAGE = "https://github.com/pypa/build" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" + +SRC_URI[sha256sum] = "d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269" + +inherit pypi python_flit_core + +DEPENDS += "python3-packaging-native python3-pyproject-hooks-native" + +RDEPENDS:${PN} += "python3-packaging python3-pyproject-hooks" + +BBCLASSEXTEND = "native nativesdk" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#175792): https://lists.openembedded.org/g/openembedded-core/message/175792 Mute This Topic: https://lists.openembedded.org/mt/96220392/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
