diff --git a/comms/py-pymodbus/Makefile b/comms/py-pymodbus/Makefile new file mode 100644 index 000000000000..d13f6de39dc1 --- /dev/null +++ b/comms/py-pymodbus/Makefile @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= pymodbus +DISTVERSIONPREFIX= v +DISTVERSION= 2.5.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..e662e3b87d65 --- /dev/null +++ b/comms/py-pymodbus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1614846570 +SHA256 (riptideio-pymodbus-v2.5.0_GH0.tar.gz) = 09abc815b37c9c8cf5137ffadd5726a1c5abc16ddbe888b291b20c8de2d82f2d +SIZE (riptideio-pymodbus-v2.5.0_GH0.tar.gz) = 1133299 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/