diff --git a/comms/py-pymodbus/Makefile b/comms/py-pymodbus/Makefile new file mode 100644 index 000000000000..53bc53a5ad29 --- /dev/null +++ b/comms/py-pymodbus/Makefile @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= pymodbus +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.0 +CATEGORIES= comms +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= chris@chrullrich.net +COMMENT= Implementation of the Modbus protocol + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +DIRECT_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} +BUILD_DEPENDS= ${DIRECT_DEPENDS} +RUN_DEPENDS= ${DIRECT_DEPENDS} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist pythonprefix +USE_GITHUB= yes +GH_ACCOUNT= riptideio + +OPTIONS_DEFINE= REPL TORNADO TWISTED +REPL_DESC= Interactive REPL console +TORNADO_DESC= Support asynchronous client using Tornado +TWISTED_DESC= Support asynchronous client/server using Twisted + +REPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>0:devel/py-prompt-toolkit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} + +TWISTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>0:devel/py-twisted@${PY_FLAVOR} +TORNADO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR} + +NO_ARCH= yes + +.include diff --git a/comms/py-pymodbus/distinfo b/comms/py-pymodbus/distinfo new file mode 100644 index 000000000000..01b39f5f355d --- /dev/null +++ b/comms/py-pymodbus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1607192094 +SHA256 (riptideio-pymodbus-v2.4.0_GH0.tar.gz) = c5fc87e63451e0e881b3d9bf3360d7d1c3fb0ce8b1712df77f0d745478926b21 +SIZE (riptideio-pymodbus-v2.4.0_GH0.tar.gz) = 1115161 diff --git a/comms/py-pymodbus/pkg-descr b/comms/py-pymodbus/pkg-descr new file mode 100644 index 000000000000..666e0250d5c4 --- /dev/null +++ b/comms/py-pymodbus/pkg-descr @@ -0,0 +1,6 @@ +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/