mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
d091b33f59
Changelog: https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.5.0 Changelog: https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.5.1 Changelog: https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.5.2 PR: 273469
39 lines
1.4 KiB
Makefile
39 lines
1.4 KiB
Makefile
PORTNAME= pymodbus
|
|
DISTVERSION= 3.5.2
|
|
CATEGORIES= comms python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= chris@chrullrich.net
|
|
COMMENT= Implementation of the Modbus protocol
|
|
WWW= https://github.com/pymodbus-dev/pymodbus/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
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.4:www/py-aiohttp@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.36:devel/py-prompt-toolkit@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}typer>=0.7.0: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>
|