Signed-off-by: Roland Hieber <r...@pengutronix.de>
---
 rules/host-python3-poetry-core.in   |  7 ++++++
 rules/host-python3-poetry-core.make | 35 +++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 rules/host-python3-poetry-core.in
 create mode 100644 rules/host-python3-poetry-core.make

diff --git a/rules/host-python3-poetry-core.in 
b/rules/host-python3-poetry-core.in
new file mode 100644
index 000000000000..9cf59c8b3243
--- /dev/null
+++ b/rules/host-python3-poetry-core.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_POETRY_CORE
+       tristate
+       default y if ALLYES
+       select HOST_PYTHON3
+       select HOST_PYTHON3_PYBUILD
diff --git a/rules/host-python3-poetry-core.make 
b/rules/host-python3-poetry-core.make
new file mode 100644
index 000000000000..89dab9fd9c3a
--- /dev/null
+++ b/rules/host-python3-poetry-core.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_POETRY_CORE) += host-python3-poetry-core
+
+#
+# Paths and names
+#
+HOST_PYTHON3_POETRY_CORE_VERSION       := 1.9.0
+HOST_PYTHON3_POETRY_CORE_MD5           := eb8730e30aec5f644754b29587b47122
+HOST_PYTHON3_POETRY_CORE               := 
poetry_core-$(HOST_PYTHON3_POETRY_CORE_VERSION)
+HOST_PYTHON3_POETRY_CORE_SUFFIX                := tar.gz
+HOST_PYTHON3_POETRY_CORE_URL           := $(call ptx/mirror-pypi, poetry_core, 
$(HOST_PYTHON3_POETRY_CORE).$(HOST_PYTHON3_POETRY_CORE_SUFFIX))
+HOST_PYTHON3_POETRY_CORE_SOURCE                := 
$(SRCDIR)/$(HOST_PYTHON3_POETRY_CORE).$(HOST_PYTHON3_POETRY_CORE_SUFFIX)
+HOST_PYTHON3_POETRY_CORE_DIR           := 
$(HOST_BUILDDIR)/$(HOST_PYTHON3_POETRY_CORE)
+HOST_PYTHON3_POETRY_CORE_LICENSE       := MIT
+HOST_PYTHON3_POETRY_CORE_LICENSE_FILES := \
+       
file://pyproject.toml;startline=4;endline=6;md5=a2d48f913a166a04a7a66fc6d7e2bd35
 \
+       file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_POETRY_CORE_CONF_TOOL     := python3
+
+# vim: syntax=make
-- 
2.39.2


Reply via email to