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

Fails to build:

ModuleNotFoundError: No module named 'poetry'

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

> ---
>  rules/host-python3-dunamai.in   |  7 +++++++
>  rules/host-python3-dunamai.make | 35 +++++++++++++++++++++++++++++++++
>  2 files changed, 42 insertions(+)
>  create mode 100644 rules/host-python3-dunamai.in
>  create mode 100644 rules/host-python3-dunamai.make
> 
> diff --git a/rules/host-python3-dunamai.in b/rules/host-python3-dunamai.in
> new file mode 100644
> index 000000000000..a369dc8a1119
> --- /dev/null
> +++ b/rules/host-python3-dunamai.in
> @@ -0,0 +1,7 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_PYTHON3_DUNAMAI
> +     tristate
> +     default y if ALLYES
> +     select HOST_PYTHON3
> +     select HOST_PYTHON3_PYBUILD
> diff --git a/rules/host-python3-dunamai.make b/rules/host-python3-dunamai.make
> new file mode 100644
> index 000000000000..3e752e676d2e
> --- /dev/null
> +++ b/rules/host-python3-dunamai.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_DUNAMAI) += host-python3-dunamai
> +
> +#
> +# Paths and names
> +#
> +HOST_PYTHON3_DUNAMAI_VERSION         := 1.21.1
> +HOST_PYTHON3_DUNAMAI_MD5             := 43868303aea63df705bedff7f77bd2c6
> +HOST_PYTHON3_DUNAMAI                 := 
> dunamai-$(HOST_PYTHON3_DUNAMAI_VERSION)
> +HOST_PYTHON3_DUNAMAI_SUFFIX          := tar.gz
> +HOST_PYTHON3_DUNAMAI_URL             := $(call ptx/mirror-pypi, dunamai, 
> $(HOST_PYTHON3_DUNAMAI).$(HOST_PYTHON3_DUNAMAI_SUFFIX))
> +HOST_PYTHON3_DUNAMAI_SOURCE          := 
> $(SRCDIR)/$(HOST_PYTHON3_DUNAMAI).$(HOST_PYTHON3_DUNAMAI_SUFFIX)
> +HOST_PYTHON3_DUNAMAI_DIR             := 
> $(HOST_BUILDDIR)/$(HOST_PYTHON3_DUNAMAI)
> +HOST_PYTHON3_DUNAMAI_LICENSE         := MIT
> +HOST_PYTHON3_DUNAMAI_LICENSE_FILES   := \
> +     
> file://PKG-INFO;startline=6;endline=6;md5=8227180126797a0148f94f483f3e1489 \
> +     file://LICENSE;md5=059eed55dbfd3fea022510ea62c95dc1
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +HOST_PYTHON3_DUNAMAI_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