diff --git a/comms/Makefile b/comms/Makefile --- a/comms/Makefile +++ b/comms/Makefile @@ -140,6 +140,7 @@ SUBDIR += py-libimobiledevice SUBDIR += py-libscrc SUBDIR += py-libusbsio + SUBDIR += py-ModbusTCP SUBDIR += py-nkdfu SUBDIR += py-pylink-square SUBDIR += py-pymodbus diff --git a/comms/py-ModbusTCP/Makefile b/comms/py-ModbusTCP/Makefile new file mode 100644 --- /dev/null +++ b/comms/py-ModbusTCP/Makefile @@ -0,0 +1,24 @@ +PORTNAME= pyModbusTCP +DISTVERSION= 0.3.0 +CATEGORIES= comms python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kiwi@FreeBSD.org +COMMENT= Simple Modbus/TCP client library for Python +WWW= https://github.com/sourceperl/pyModbusTCP + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.0:math/py-numpy@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + +NO_ARCH= yes + +PORTDOCS= * + +.include diff --git a/comms/py-ModbusTCP/distinfo b/comms/py-ModbusTCP/distinfo new file mode 100644 --- /dev/null +++ b/comms/py-ModbusTCP/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736512419 +SHA256 (pyModbusTCP-0.3.0.tar.gz) = 893a4d88f6a63af21bd35b2b22061355e74005ea27fefc104e8f9bdb4ce81a04 +SIZE (pyModbusTCP-0.3.0.tar.gz) = 31478 diff --git a/comms/py-ModbusTCP/pkg-descr b/comms/py-ModbusTCP/pkg-descr new file mode 100644 --- /dev/null +++ b/comms/py-ModbusTCP/pkg-descr @@ -0,0 +1,2 @@ +A simple Modbus/TCP client library for Python. pyModbusTCP is pure Python +code without any extension or external module dependency.