git: e0323e9ffb66 - main - comms/py-sdm_modbus: Library for Eastron SDM kWh meters
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Feb 2025 16:59:50 UTC
The branch main has been updated by kiwi: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0323e9ffb668aab968bf19fae8af109a42d4e7b commit e0323e9ffb668aab968bf19fae8af109a42d4e7b Author: Xavier Beaudouin <kiwi@FreeBSD.org> AuthorDate: 2025-01-11 17:25:55 +0000 Commit: Xavier Beaudouin <kiwi@FreeBSD.org> CommitDate: 2025-02-07 16:59:26 +0000 comms/py-sdm_modbus: Library for Eastron SDM kWh meters Library that collects data from Eastron SDM single and three phase kWh meters over Modbus RTU or Modbus TCP Approved by: 0mp (mentor) Differential Revision: https://reviews.freebsd.org/D48431 --- comms/Makefile | 1 + comms/py-sdm_modbus/Makefile | 22 ++++++++++++++++++++++ comms/py-sdm_modbus/distinfo | 3 +++ comms/py-sdm_modbus/pkg-descr | 2 ++ 4 files changed, 28 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index e9bedf53b51b..7daad88b1bd4 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -149,6 +149,7 @@ SUBDIR += py-pyocd-pemicro SUBDIR += py-pyserial SUBDIR += py-pyserial-asyncio + SUBDIR += py-sdm_modbus SUBDIR += py-spsdk SUBDIR += py-streamdeck SUBDIR += py-xmodem diff --git a/comms/py-sdm_modbus/Makefile b/comms/py-sdm_modbus/Makefile new file mode 100644 index 000000000000..bbd2e161ec61 --- /dev/null +++ b/comms/py-sdm_modbus/Makefile @@ -0,0 +1,22 @@ +PORTNAME= sdm_modbus +DISTVERSION= 0.6.1 +CATEGORIES= comms python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kiwi@FreeBSD.org +COMMENT= Library for Eastron SDM single or three phase kWh meters +WWW= https://github.com/nmakel/sdm_modbus + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymodbus>=2.0:comms/py-pymodbus@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +PORTDOCS= * + +.include <bsd.port.mk> diff --git a/comms/py-sdm_modbus/distinfo b/comms/py-sdm_modbus/distinfo new file mode 100644 index 000000000000..962af27e3065 --- /dev/null +++ b/comms/py-sdm_modbus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666525980 +SHA256 (sdm_modbus-0.6.1.tar.gz) = 3c3a36100ab54df8998ec788cc69904914137ba443094e827b219ba7ab0ea4dd +SIZE (sdm_modbus-0.6.1.tar.gz) = 13928 diff --git a/comms/py-sdm_modbus/pkg-descr b/comms/py-sdm_modbus/pkg-descr new file mode 100644 index 000000000000..58243c121d0c --- /dev/null +++ b/comms/py-sdm_modbus/pkg-descr @@ -0,0 +1,2 @@ +Library that collects data from Eastron SDM single and three phase kWh +meters over Modbus RTU or Modbus TCP.