mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] python3-pymodbus: new package
@ 2025-04-01 15:26 Artur Wiebe
  2025-04-07 16:02 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Artur Wiebe @ 2025-04-01 15:26 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 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 <artur@4wiebe.de>
+#
+# 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 <artur@4wiebe.de>")
+	@$(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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] python3-pymodbus: new package
  2025-04-01 15:26 [ptxdist] [PATCH] python3-pymodbus: new package Artur Wiebe
@ 2025-04-07 16:02 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-04-07 16:02 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

Thanks, applied as d58d9c3edd155d0179e822ccd538a64eeae1eabf.

Michael

[sent from post-receive hook]

On Mon, 07 Apr 2025 18:02:50 +0200, Artur Wiebe <artur@4wiebe.de> wrote:
> Signed-off-by: Artur Wiebe <artur@4wiebe.de>
> Message-Id: <20250401152656.268730-1-artur@4wiebe.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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 <artur@4wiebe.de>
> +#
> +# 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 <artur@4wiebe.de>")
> +	@$(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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-07 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-01 15:26 [ptxdist] [PATCH] python3-pymodbus: new package Artur Wiebe
2025-04-07 16:02 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox