Bug 251614 - [new port] comms/py-pymodbus: Modbus protocol implementation
Summary: [new port] comms/py-pymodbus: Modbus protocol implementation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-05 19:25 UTC by Christian Ullrich
Modified: 2023-01-20 11:57 UTC (History)
2 users (show)

See Also:


Attachments
Patch (2.22 KB, patch)
2020-12-05 19:25 UTC, Christian Ullrich
no flags Details | Diff
Updated patch (2.22 KB, patch)
2020-12-12 08:41 UTC, Christian Ullrich
no flags Details | Diff
Updated patch (2.55 KB, patch)
2020-12-28 09:17 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (2.22 KB, patch)
2021-03-04 12:45 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (2.56 KB, patch)
2021-03-04 14:47 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (2.56 KB, patch)
2021-04-01 06:45 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (2.54 KB, patch)
2021-04-07 05:15 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (2.54 KB, patch)
2021-06-30 05:25 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (2.54 KB, patch)
2021-10-22 08:00 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (3.47 KB, patch)
2022-11-05 13:10 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (3.47 KB, patch)
2022-11-05 15:29 UTC, Christian Ullrich
no flags Details | Diff
Updated patch. (3.42 KB, patch)
2023-01-15 13:25 UTC, Christian Ullrich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ullrich 2020-12-05 19:25:19 UTC
Created attachment 220288 [details]
Patch

Pymodbus is a full Modbus protocol implementation using twisted for
its asynchronous communications core. It can also be used without any
third party dependencies (aside from pyserial) if a more lightweight
project is needed.

WWW: https://github.com/riptideio/pymodbus/

portlint: looks fine
poudriere: testport passes on 12.2-RELEASE-p1, py37, py38, py39

Upstream supports building documentation, but it does not work in ports. It requires a Python 2 compatible sphinx (textproc/py-sphinx18) as well as textproc/py-recommonmark, which depends on textproc/py-sphinx when building with Python 3. The result is the same as https://pymodbus.readthedocs.io/ anyway.
Comment 1 Christian Ullrich 2020-12-12 08:41:58 UTC
Created attachment 220477 [details]
Updated patch

Track renaming of dependency devel/py-prompt-toolkit.
Comment 2 Christian Ullrich 2020-12-28 09:17:14 UTC
Created attachment 221040 [details]
Updated patch

Forgot to add the new port to the category Makefile.
Comment 3 Christian Ullrich 2021-03-04 12:45:42 UTC
Created attachment 222970 [details]
Updated patch.

Updated to version 2.5.0.
Comment 4 Christian Ullrich 2021-03-04 14:47:41 UTC
Created attachment 222974 [details]
Updated patch.

Forgot to add to the category Makefile again.
Comment 5 Christian Ullrich 2021-04-01 06:45:13 UTC
Created attachment 223741 [details]
Updated patch.

Updated to version 2.5.1.
Comment 6 Christian Ullrich 2021-04-07 05:15:36 UTC
Created attachment 223887 [details]
Updated patch.

Remove # $FreeBSD$ from Makefile, as this seems to be a thing now.
Comment 7 Christian Ullrich 2021-06-30 05:25:51 UTC
Created attachment 226124 [details]
Updated patch.

Update to version 2.5.2.
Comment 8 Christian Ullrich 2021-10-22 08:00:45 UTC
Created attachment 228939 [details]
Updated patch.

Update to version 2.5.3.
Comment 9 Christian Ullrich 2022-11-05 13:10:23 UTC
Created attachment 237875 [details]
Updated patch.

Update to version 3.0.1.
Comment 10 Christian Ullrich 2022-11-05 15:29:23 UTC
Created attachment 237877 [details]
Updated patch.

Update to 3.0.2.

Sorry for the two updates in one day. 3.0.2 was released three hours after 3.0.1.
Comment 11 Christian Ullrich 2023-01-15 13:25:45 UTC
Created attachment 239484 [details]
Updated patch.

Update to 3.1.0.
Comment 12 commit-hook freebsd_committer freebsd_triage 2023-01-20 11:50:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f665aa3933ec2173abb4da8aca442e97fb29b18a

commit f665aa3933ec2173abb4da8aca442e97fb29b18a
Author:     Christian Ullrich <chris@chrullrich.net>
AuthorDate: 2023-01-17 17:29:54 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-01-20 11:50:24 +0000

    comms/py-pymodbus: Add new port

    Pymodbus is a full Modbus protocol implementation offering
    asynchronous communications. It can also be used without any
    third party dependencies (aside from pyserial) if a more
    lightweight project is needed.

    PR:             251614

 comms/Makefile                                    |  1 +
 comms/py-pymodbus/Makefile (new)                  | 38 +++++++++++++++++++++++
 comms/py-pymodbus/distinfo (new)                  |  3 ++
 comms/py-pymodbus/files/extra-patch-NO_REPL (new) | 11 +++++++
 comms/py-pymodbus/pkg-descr (new)                 |  4 +++
 5 files changed, 57 insertions(+)
Comment 13 Mikael Urankar freebsd_committer freebsd_triage 2023-01-20 11:57:42 UTC
Thanks!