From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Artur Wiebe <artur@4wiebe.de>
Subject: Re: [ptxdist] [APPLIED] python3-pymodbus: new package
Date: Mon, 7 Apr 2025 18:02:50 +0200 [thread overview]
Message-ID: <20250407160250.196455-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250401152656.268730-1-artur@4wiebe.de>
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
prev parent reply other threads:[~2025-04-07 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 15:26 [ptxdist] [PATCH] " Artur Wiebe
2025-04-07 16:02 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250407160250.196455-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=artur@4wiebe.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox