Signed-off-by: Lars Pedersen <[email protected]>
---
 rules/host-python3-hatchling.in   | 10 ++++++++++
 rules/host-python3-hatchling.make | 33 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 rules/host-python3-hatchling.in
 create mode 100644 rules/host-python3-hatchling.make

diff --git a/rules/host-python3-hatchling.in b/rules/host-python3-hatchling.in
new file mode 100644
index 000000000..aa8eb0579
--- /dev/null
+++ b/rules/host-python3-hatchling.in
@@ -0,0 +1,10 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_HATCHLING
+       tristate
+       default y if ALLYES
+       select HOST_PYTHON3
+       select HOST_PYTHON3_TROVE_CLASSIFIERS
+       select HOST_PYTHON3_PLUGGY
+       select HOST_PYTHON3_PATHSPEC
+       select HOST_PYTHON3_PYBUILD
diff --git a/rules/host-python3-hatchling.make 
b/rules/host-python3-hatchling.make
new file mode 100644
index 000000000..029136839
--- /dev/null
+++ b/rules/host-python3-hatchling.make
@@ -0,0 +1,33 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Lars Pedersen <[email protected]>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_HATCHLING) += host-python3-hatchling
+
+#
+# Paths and names
+#
+HOST_PYTHON3_HATCHLING_VERSION         := 1.25.0
+HOST_PYTHON3_HATCHLING_MD5             := ac265366ccd17365db319dc95a9e5bc5
+HOST_PYTHON3_HATCHLING                 := 
hatchling-$(HOST_PYTHON3_HATCHLING_VERSION)
+HOST_PYTHON3_HATCHLING_SUFFIX          := tar.gz
+HOST_PYTHON3_HATCHLING_URL             := $(call ptx/mirror-pypi, hatchling, 
$(HOST_PYTHON3_HATCHLING).$(HOST_PYTHON3_HATCHLING_SUFFIX))
+HOST_PYTHON3_HATCHLING_SOURCE          := 
$(SRCDIR)/$(HOST_PYTHON3_HATCHLING).$(HOST_PYTHON3_HATCHLING_SUFFIX)
+HOST_PYTHON3_HATCHLING_DIR             := 
$(HOST_BUILDDIR)/$(HOST_PYTHON3_HATCHLING)
+HOST_PYTHON3_HATCHLING_LICENSE         := MIT
+HOST_PYTHON3_HATCHLING_LICENSE_FILES   := 
file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_HATCHLING_CONF_TOOL       := python3
+
+# vim: syntax=make
-- 
2.47.0


Reply via email to