On Fri, May 24, 2024 at 11:57:01AM +0200, Roland Hieber wrote:
> Signed-off-by: Roland Hieber <r...@pengutronix.de>

Same here, fails with:

ModuleNotFoundError: No module named 'poetry'

ERROR Backend 'poetry.core.masonry.api' is not available.

Michael

> ---
>  rules/host-python3-tomlkit.in   |  8 ++++++++
>  rules/host-python3-tomlkit.make | 35 +++++++++++++++++++++++++++++++++
>  2 files changed, 43 insertions(+)
>  create mode 100644 rules/host-python3-tomlkit.in
>  create mode 100644 rules/host-python3-tomlkit.make
> 
> diff --git a/rules/host-python3-tomlkit.in b/rules/host-python3-tomlkit.in
> new file mode 100644
> index 000000000000..680d3978484a
> --- /dev/null
> +++ b/rules/host-python3-tomlkit.in
> @@ -0,0 +1,8 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_PYTHON3_TOMLKIT
> +     tristate
> +     default y if ALLYES
> +     select HOST_PYTHON3
> +     select HOST_PYTHON3_PYBUILD
> +     select HOST_PYTHON3_INSTALLER
> diff --git a/rules/host-python3-tomlkit.make b/rules/host-python3-tomlkit.make
> new file mode 100644
> index 000000000000..d09752d9911f
> --- /dev/null
> +++ b/rules/host-python3-tomlkit.make
> @@ -0,0 +1,35 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2024 by Roland Hieber <r...@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_TOMLKIT) += host-python3-tomlkit
> +
> +#
> +# Paths and names
> +#
> +HOST_PYTHON3_TOMLKIT_VERSION         := 0.12.5
> +HOST_PYTHON3_TOMLKIT_MD5             := d80337406fdca101c12adff115983f31
> +HOST_PYTHON3_TOMLKIT                 := 
> tomlkit-$(HOST_PYTHON3_TOMLKIT_VERSION)
> +HOST_PYTHON3_TOMLKIT_SUFFIX          := tar.gz
> +HOST_PYTHON3_TOMLKIT_URL             := $(call ptx/mirror-pypi, tomlkit, 
> $(HOST_PYTHON3_TOMLKIT).$(HOST_PYTHON3_TOMLKIT_SUFFIX))
> +HOST_PYTHON3_TOMLKIT_SOURCE          := 
> $(SRCDIR)/$(HOST_PYTHON3_TOMLKIT).$(HOST_PYTHON3_TOMLKIT_SUFFIX)
> +HOST_PYTHON3_TOMLKIT_DIR             := 
> $(HOST_BUILDDIR)/$(HOST_PYTHON3_TOMLKIT)
> +HOST_PYTHON3_TOMLKIT_LICENSE         := MIT
> +HOST_PYTHON3_TOMLKIT_LICENSE_FILES   := \
> +     
> file://PKG-INFO;startline=6;endline=8;md5=93de1ab1482b195e9522a07e75c2759e \
> +     file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +HOST_PYTHON3_TOMLKIT_CONF_TOOL       := python3
> +
> +# vim: syntax=make
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to