Page MenuHomeFreeBSD

D48431.id150688.diff
No OneTemporary

D48431.id150688.diff

diff --git a/comms/Makefile b/comms/Makefile
--- 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
--- /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
--- /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
--- /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.

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 20, 9:40 AM (15 m, 38 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27761766
Default Alt Text
D48431.id150688.diff (1 KB)

Event Timeline