From: Lars Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH 5/6] host-python3-hatchling: new package
Date: Tue, 29 Oct 2024 20:31:12 +0100 [thread overview]
Message-ID: <20241029193113.1076301-5-lapeddk@gmail.com> (raw)
In-Reply-To: <20241029193113.1076301-1-lapeddk@gmail.com>
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
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 <lapeddk@gmail.com>
+#
+# 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
next prev parent reply other threads:[~2024-10-29 19:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 19:31 [ptxdist] [PATCH 1/6] host-python3-calver: " Lars Pedersen
2024-10-29 19:31 ` [ptxdist] [PATCH 2/6] host-python3-trove-classifiers: " Lars Pedersen
2024-10-29 19:31 ` [ptxdist] [PATCH 3/6] host-python3-pluggy: " Lars Pedersen
2024-10-29 19:31 ` [ptxdist] [PATCH 4/6] host-python3-pathspec: " Lars Pedersen
2024-10-29 19:31 ` Lars Pedersen [this message]
2024-10-29 19:31 ` [ptxdist] [PATCH 6/6] python3-urllib3: fix compile step missing hatchling Lars Pedersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241029193113.1076301-5-lapeddk@gmail.com \
--to=lapeddk@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox