From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 29 Jul 2024 18:43:03 +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 1sYTSh-004Bt6-0Y for lore@lore.pengutronix.de; Mon, 29 Jul 2024 18:43:03 +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 1sYTSg-00036h-OI; Mon, 29 Jul 2024 18:43:02 +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 1sYTSK-0002q7-8n; Mon, 29 Jul 2024 18:42:40 +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 1sYTSJ-0035Ts-RK; Mon, 29 Jul 2024 18:42:39 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sYTSJ-001eOQ-2Y; Mon, 29 Jul 2024 18:42:39 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Date: Mon, 29 Jul 2024 18:42:36 +0200 Message-Id: <20240729164238.393500-3-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240729164238.393500-1-rhi@pengutronix.de> References: <20240729164238.393500-1-rhi@pengutronix.de> MIME-Version: 1.0 Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 3/5] host-python3-odfpy: 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 --- rules/host-python3-odfpy.in | 6 ++++++ rules/host-python3-odfpy.make | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 rules/host-python3-odfpy.in create mode 100644 rules/host-python3-odfpy.make diff --git a/rules/host-python3-odfpy.in b/rules/host-python3-odfpy.in new file mode 100644 index 000000000000..45a9d7b5c5cd --- /dev/null +++ b/rules/host-python3-odfpy.in @@ -0,0 +1,6 @@ +## SECTION=hosttools_noprompt + +config HOST_PYTHON3_ODFPY + tristate + default y if ALLYES + select HOST_SYSTEM_PYTHON3 diff --git a/rules/host-python3-odfpy.make b/rules/host-python3-odfpy.make new file mode 100644 index 000000000000..fb9489ead33c --- /dev/null +++ b/rules/host-python3-odfpy.make @@ -0,0 +1,36 @@ +# -*-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 +# +PACKAGES-$(PTXCONF_HOST_PYTHON3_ODFPY) += host-python3-odfpy + +# +# Paths and names +# +HOST_PYTHON3_ODFPY_VERSION := 1.4.1 +HOST_PYTHON3_ODFPY_MD5 := d1a186ae75b2ae038a8aab1396444342 +HOST_PYTHON3_ODFPY := odfpy-$(HOST_PYTHON3_ODFPY_VERSION) +HOST_PYTHON3_ODFPY_SUFFIX := tar.gz +HOST_PYTHON3_ODFPY_URL := $(call ptx/mirror-pypi, odfpy, $(HOST_PYTHON3_ODFPY).$(HOST_PYTHON3_ODFPY_SUFFIX)) +HOST_PYTHON3_ODFPY_SOURCE := $(SRCDIR)/$(HOST_PYTHON3_ODFPY).$(HOST_PYTHON3_ODFPY_SUFFIX) +HOST_PYTHON3_ODFPY_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON3_ODFPY) +HOST_PYTHON3_ODFPY_LICENSE := GPL-2.0-or-later OR Apache-2.0 +HOST_PYTHON3_ODFPY_LICENSE_FILES := \ + file://README.md;startline=44;endline=59;md5=c8daa7bfd0c10a4e41706233c6a42f25 \ + file://APACHE-LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ + file://GPL-LICENSE-2.txt;md5=751419260aa954499f7abaabaa882bbe + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_PYTHON3_ODFPY_CONF_TOOL := python3 + +# vim: syntax=make -- 2.39.2