From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 07 Apr 2025 18:03:20 +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 1u1owS-009c0v-0O for lore@lore.pengutronix.de; Mon, 07 Apr 2025 18:03:20 +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 1u1owR-0004OW-Hx; Mon, 07 Apr 2025 18:03:19 +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 1u1ovz-0002oh-1q; Mon, 07 Apr 2025 18:02:51 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u1ovy-003mxk-2m; Mon, 07 Apr 2025 18:02:50 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1u1ovy-000p6p-2b; Mon, 07 Apr 2025 18:02:50 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 7 Apr 2025 18:02:50 +0200 Message-Id: <20250407160250.196455-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250401152656.268730-1-artur@4wiebe.de> References: <20250401152656.268730-1-artur@4wiebe.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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 Cc: Artur Wiebe 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 Thanks, applied as d58d9c3edd155d0179e822ccd538a64eeae1eabf. Michael [sent from post-receive hook] On Mon, 07 Apr 2025 18:02:50 +0200, Artur Wiebe wrote: > Signed-off-by: Artur Wiebe > Message-Id: <20250401152656.268730-1-artur@4wiebe.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-pymodbus.in b/rules/python3-pymodbus.in > new file mode 100644 > index 000000000000..8366e7e3ab1c > --- /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 000000000000..1143b7faf41c > --- /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