mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH 10/13] host-python3-poetry-dynamic-versioning: add new host package
Date: Wed, 22 May 2024 23:15:40 +0200	[thread overview]
Message-ID: <20240522211543.1509741-10-rhi@pengutronix.de> (raw)
In-Reply-To: <20240522211543.1509741-1-rhi@pengutronix.de>

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 .../host-python3-poetry-dynamic-versioning.in | 11 ++++++
 ...ost-python3-poetry-dynamic-versioning.make | 35 +++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 rules/host-python3-poetry-dynamic-versioning.in
 create mode 100644 rules/host-python3-poetry-dynamic-versioning.make

diff --git a/rules/host-python3-poetry-dynamic-versioning.in b/rules/host-python3-poetry-dynamic-versioning.in
new file mode 100644
index 000000000000..33f7f72685ae
--- /dev/null
+++ b/rules/host-python3-poetry-dynamic-versioning.in
@@ -0,0 +1,11 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING
+	tristate
+	default y if ALLYES
+	select HOST_PYTHON3
+	select HOST_PYTHON3_DUNAMAI
+	select HOST_PYTHON3_JINJA2
+	select HOST_PYTHON3_POETRY_CORE
+	select HOST_PYTHON3_PYBUILD
+	select HOST_PYTHON3_TOMLKIT
diff --git a/rules/host-python3-poetry-dynamic-versioning.make b/rules/host-python3-poetry-dynamic-versioning.make
new file mode 100644
index 000000000000..e5b23a943021
--- /dev/null
+++ b/rules/host-python3-poetry-dynamic-versioning.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@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_DYNAMIC_VERSIONING) += host-python3-poetry-dynamic-versioning
+
+#
+# Paths and names
+#
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_VERSION		:= 1.3.0
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_MD5		:= ae778dd8d8d03b05c30772608edc2e0a
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING			:= poetry_dynamic_versioning-$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_VERSION)
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SUFFIX		:= tar.gz
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_URL		:= $(call ptx/mirror-pypi, poetry_dynamic_versioning, $(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING).$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SUFFIX))
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SOURCE		:= $(SRCDIR)/$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING).$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SUFFIX)
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_DIR		:= $(HOST_BUILDDIR)/$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING)
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_LICENSE		:= MIT
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_LICENSE_FILES	:= \
+	file://pyproject.toml;startline=4;endline=6;md5=7b88e40f0545478aac40c60d6587b134 \
+	file://LICENSE;md5=059eed55dbfd3fea022510ea62c95dc1
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_CONF_TOOL	:= python3
+
+# vim: syntax=make
-- 
2.39.2




  parent reply	other threads:[~2024-05-22 21:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
2024-05-23  6:43   ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 04/13] python3-jinja2: pin down license files Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 06/13] host-python3-jinja2: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 07/13] host-python3-dunamai: add new " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 08/13] host-python3-tomlkit: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 09/13] host-python3-poetry-core: " Roland Hieber
2024-05-22 21:15 ` Roland Hieber [this message]
2024-05-22 21:15 ` [ptxdist] [PATCH 11/13] python3-aiomqtt: new package Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 12/13] python3-periphery: " Roland Hieber
2024-05-23  6:46   ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 13/13] python3-protobuf: " Roland Hieber
2024-05-23  6:46   ` Michael Olbrich
2024-05-23  6:40 ` [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Michael Olbrich

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=20240522211543.1509741-10-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --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