From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 01 Apr 2025 17:27:04 +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 1tzdW4-0072Zk-0A for lore@lore.pengutronix.de; Tue, 01 Apr 2025 17:27:04 +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 1tzdW3-0005BR-Rn; Tue, 01 Apr 2025 17:27:03 +0200 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.25]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tzdVx-0005Ar-G4 for ptxdist@pengutronix.de; Tue, 01 Apr 2025 17:26:58 +0200 ARC-Seal: i=1; a=rsa-sha256; t=1743521217; cv=none; d=strato.com; s=strato-dkim-0002; b=ofb0fwi+enIQ+ZHq9SIVTuG84ph0M+uc9gqhaQ18TccvLz3mQbJUhQBD6gK8RJMmT/ e52QnI3Q/ZhXE7EJ6cwioCYKx1WeMPJNbUu2WW4KkUArTlgSqrmcz+qQ9O6c8oCZBB3p viNt5rxy3ZOcg0V/tRcV1SJKyOJpmGQU1HX/Eg/4eN29esz6bo+GpfoFRQ2ozeuBFA2D HHM1jMKm+Zr1R2gRLwem+jZdd7K89bsgUJPhlS5J1L8aO8sP7Ha3KAHJW7zKbzoCjXhQ tjagQOLxyXE47Dc8eIcwApdNZQdTI6eRKOhYtlwFNVDNXkTZHI3GVhp0wk22Go5F53MB MhLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1743521217; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=lNqAHMQIB6tfuU6LvEVtt2O7k83TtcVipkf/wAvtymk=; b=IBUqIdKBuJbjVCKt7orxMoxWr7e4GWw3QV+hZHVpWB9xUyu1l5roP8nNDJvXvg3JdH lwVT/9thMmhSSCQShr7WZC4o8nBMiMlG/OiRtX6oBaSJD7WVsznqCR6qZPp904saNYSh QEl+zwdt2OsdWEC4QsTN5AgjnNeNTzUFEYbYgUwvh7syX8mgeZaRwIQZ3LLOjzqliNTj ggsfbZ/l+lNKNS+2H11XzbZhOi6LUM2M4hYRLCr1OIOHwp678RAxo0Pd7HvA9BDcj5qj b1A5kc9F8FeWoHmeBMXPv33NMl363pgg7IMomSMrG8roHRsm+cKTYjXjNPtqtxhnBGvw v66g== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1743521217; s=strato-dkim-0002; d=4wiebe.de; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=lNqAHMQIB6tfuU6LvEVtt2O7k83TtcVipkf/wAvtymk=; b=JpN/yiTTxvEnSM1Zz8cu5iY0EeJXq+jE8mOfPgJ836GY/2CZ7R9aEDOSUVjLhDxzoo RrUSfJbWMlRquw7Jhe21BaUtu60CsmOE0v5WyNGF9tHJeTDcQ3/5P+Eg/Ff+j4ijFBQM JvlEzYnDqHfiFdPihmHBxpp2F/ImMrM1hdhslzmpnMuq4qHoubCjg/AtvJOghfqmvq9u Bx9L1lOIPUOBY1MWeX98WBAGhFmytQ/w4wfSNTiDGlA39O+/SzTFtM/+hJqOZqgEdN6C pZsKBmXWN/pLlIgaRBXkY0pm2Jya7KEk6HetaTvqsJJXKueNEiFz4bVKv546S6iOkDCP LITg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1743521217; s=strato-dkim-0003; d=4wiebe.de; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=lNqAHMQIB6tfuU6LvEVtt2O7k83TtcVipkf/wAvtymk=; b=qqKJN3FK/ieIUaUW4JdasGr3Ee+pdZgO0aXsId3nBgKocoA+YLumkaqNYCPTuXIw5w 04yBRp6ITgJocWVcxHDw== X-RZG-AUTH: ":Km0JfEyhft8wzIIhFLJpRLyPODuSc5X4exbVQe+uavLthqzsfqAYbr4lR6EnIZPf" Received: from home by smtp.strato.de (RZmta 51.3.0 DYNA|AUTH) with ESMTPSA id 42ae07131FQvRYP (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Tue, 1 Apr 2025 17:26:57 +0200 (CEST) Received: from gemini.. (cloud.local [127.0.0.1]) by home (Postfix) with ESMTP id B23881A0402 for ; Tue, 01 Apr 2025 17:26:56 +0200 (CEST) From: Artur Wiebe To: ptxdist@pengutronix.de Date: Tue, 1 Apr 2025 17:26:56 +0200 Message-ID: <20250401152656.268730-1-artur@4wiebe.de> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] python3-pymodbus: new 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 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: Artur Wiebe --- rules/python3-pymodbus.in | 10 +++++++ rules/python3-pymodbus.make | 54 +++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 rules/python3-pymodbus.in create mode 100644 rules/python3-pymodbus.make diff --git a/rules/python3-pymodbus.in b/rules/python3-pymodbus.in new file mode 100644 index 000000000..8366e7e3a --- /dev/null +++ b/rules/python3-pymodbus.in @@ -0,0 +1,10 @@ +## SECTION=python3 + +config PYTHON3_PYMODBUS + tristate + select PYTHON3 + select HOST_PYTHON3_PYBUILD + prompt "pymodbus" + help + Pymodbus is a full Modbus protocol implementation offering + client/server with synchronous/asynchronous API and simulators. diff --git a/rules/python3-pymodbus.make b/rules/python3-pymodbus.make new file mode 100644 index 000000000..1143b7faf --- /dev/null +++ b/rules/python3-pymodbus.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2025 by Artur Wiebe +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_PYMODBUS) += python3-pymodbus + +# +# Paths and names +# +PYTHON3_PYMODBUS_VERSION := 3.8.6 +PYTHON3_PYMODBUS_MD5 := af760b61450c670a280c098e3484635d +PYTHON3_PYMODBUS := pymodbus-$(PYTHON3_PYMODBUS_VERSION) +PYTHON3_PYMODBUS_SUFFIX := tar.gz +PYTHON3_PYMODBUS_URL := $(call ptx/mirror-pypi, pymodbus, $(PYTHON3_PYMODBUS).$(PYTHON3_PYMODBUS_SUFFIX)) +PYTHON3_PYMODBUS_SOURCE := $(SRCDIR)/$(PYTHON3_PYMODBUS).$(PYTHON3_PYMODBUS_SUFFIX) +PYTHON3_PYMODBUS_DIR := $(BUILDDIR)/$(PYTHON3_PYMODBUS) +PYTHON3_PYMODBUS_LICENSE := BSD-3-Clause +PYTHON3_PYMODBUS_LICENSE_FILES := \ + file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_PYMODBUS_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-pymodbus.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-pymodbus) + @$(call install_fixup, python3-pymodbus,PRIORITY,optional) + @$(call install_fixup, python3-pymodbus,SECTION,base) + @$(call install_fixup, python3-pymodbus,AUTHOR,"Artur Wiebe ") + @$(call install_fixup, python3-pymodbus,DESCRIPTION,missing) + + @$(call install_glob, python3-pymodbus, 0, 0, -, \ + $(PYTHON3_SITEPACKAGES)/pymodbus,, *.py) + + @$(call install_finish, python3-pymodbus) + + @$(call touch) + +# vim: syntax=make -- 2.49.0