FreeBSD Bugzilla – Attachment 237875 Details for
Bug 251614
[new port] comms/py-pymodbus: Modbus protocol implementation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch.
pymodbus.patch (text/plain), 3.47 KB, created by
Christian Ullrich
on 2022-11-05 13:10:23 UTC
(
hide
)
Description:
Updated patch.
Filename:
MIME Type:
Creator:
Christian Ullrich
Created:
2022-11-05 13:10:23 UTC
Size:
3.47 KB
patch
obsolete
>commit abbcba9bd7d3b77fc1d602c8e6efb9428300f71a >Author: Christian Ullrich <chris@chrullrich.net> >Date: Thu Mar 4 16:01:25 2021 +0100 > > New port: comms/py-pymodbus > >diff --git a/comms/Makefile b/comms/Makefile >index af639e00af8b..d36aa45be180 100644 >--- a/comms/Makefile >+++ b/comms/Makefile >@@ -139,6 +139,7 @@ > SUBDIR += py-hidapi > SUBDIR += py-libimobiledevice > SUBDIR += py-libscrc >+ SUBDIR += py-pymodbus > SUBDIR += py-pyserial > SUBDIR += py-pyserial-asyncio > SUBDIR += py-xmodem >diff --git a/comms/py-pymodbus/Makefile b/comms/py-pymodbus/Makefile >new file mode 100644 >index 000000000000..ff58e665e94b >--- /dev/null >+++ b/comms/py-pymodbus/Makefile >@@ -0,0 +1,40 @@ >+PORTNAME= pymodbus >+DISTVERSIONPREFIX= v >+DISTVERSION= 3.0.1 >+CATEGORIES= comms python >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= chris@chrullrich.net >+COMMENT= Implementation of the Modbus protocol >+WWW= https://github.com/riptideio/pymodbus/ >+ >+LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= python:3.8+ >+USE_PYTHON= autoplist distutils >+USE_GITHUB= yes >+GH_ACCOUNT= riptideio >+ >+OPTIONS_DEFINE= REPL SERIAL DATASTORE_REDIS DATASTORE_SQL >+OPTIONS_DEFAULT=REPL >+REPL_DESC= Interactive REPL console >+SERIAL_DESC= Support serial port >+DATASTORE_REDIS_DESC= Use Redis for server data >+DATASTORE_SQL_DESC= Use database for server data (via SQLAlchemy) >+ >+REPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.1:www/py-aiohttp@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.8:devel/py-prompt-toolkit@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}typer>=0.6.1:devel/py-typer@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} >+REPL_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-NO_REPL >+ >+SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.5:comms/py-pyserial@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyserial-asyncio>=0.6:comms/py-pyserial-asyncio@${PY_FLAVOR} >+ >+DATASTORE_REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR} >+DATASTORE_SQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>0:databases/py-sqlalchemy14@${PY_FLAVOR} >+ >+NO_ARCH= yes >+ >+.include <bsd.port.mk> >diff --git a/comms/py-pymodbus/distinfo b/comms/py-pymodbus/distinfo >new file mode 100644 >index 000000000000..c839e58b64d6 >--- /dev/null >+++ b/comms/py-pymodbus/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1667648450 >+SHA256 (riptideio-pymodbus-v3.0.1_GH0.tar.gz) = b545df2daa147b22b42554f09f3a3f7821437d20d5d8a04c3b85d27be6db4105 >+SIZE (riptideio-pymodbus-v3.0.1_GH0.tar.gz) = 262271 >diff --git a/comms/py-pymodbus/files/extra-patch-NO_REPL b/comms/py-pymodbus/files/extra-patch-NO_REPL >new file mode 100644 >index 000000000000..85df6f25c58e >--- /dev/null >+++ b/comms/py-pymodbus/files/extra-patch-NO_REPL >@@ -0,0 +1,15 @@ >+--- setup.cfg.orig 2022-11-05 12:26:36.944988000 +0000 >++++ setup.cfg 2022-11-05 12:26:45.089728000 +0000 >+@@ -52,11 +52,6 @@ >+ doc >+ >+ >+-[options.entry_points] >+-console_scripts = >+- pymodbus.console = pymodbus.repl.client.main:main >+- pymodbus.server = pymodbus.repl.server.main:app >+- >+ >+ [options.packages.find] >+ include = pymodbus* >+ >diff --git a/comms/py-pymodbus/pkg-descr b/comms/py-pymodbus/pkg-descr >new file mode 100644 >index 000000000000..bf78da2e428e >--- /dev/null >+++ b/comms/py-pymodbus/pkg-descr >@@ -0,0 +1,4 @@ >+Pymodbus is a full Modbus protocol implementation offering >+asynchronous communications. It can also be used without any >+third party dependencies (aside from pyserial) if a more >+lightweight project is needed.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251614
:
220288
|
220477
|
221040
|
222970
|
222974
|
223741
|
223887
|
226124
|
228939
|
237875
|
237877
|
239484