From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 13 Jun 2024 12:09:42 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sHhOo-005JJx-2P for lore@lore.pengutronix.de; Thu, 13 Jun 2024 12:09:42 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sHhOn-00077R-VD; Thu, 13 Jun 2024 12:09:41 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sHhNP-0005AQ-32; Thu, 13 Jun 2024 12:08:15 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHhNO-0020KH-BK; Thu, 13 Jun 2024 12:08:14 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sHhNO-007yBv-0h; Thu, 13 Jun 2024 12:08:14 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Date: Thu, 13 Jun 2024 12:07:42 +0200 Message-Id: <20240613100744.1899176-11-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240613100744.1899176-1-rhi@pengutronix.de> References: <20240613100744.1899176-1-rhi@pengutronix.de> MIME-Version: 1.0 Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v3 10/13] host-python3-poetry-dynamic-versioning: add new host package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Roland Hieber --- .../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 +# +# 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