openbsd-ports/net/py-minimalmodbus/Makefile
2022-11-13 19:37:40 +00:00

31 lines
621 B
Makefile

COMMENT= easy-to-use Modbus RTU/ASCII implementation for Python
MODPY_EGG_VERSION= 2.0.1
DISTNAME= minimalmodbus-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= net
REVISION= 2
HOMEPAGE= https://github.com/pyhys/minimalmodbus
MAINTAINER= Martin Reindl <martin@catai.org>
# Apache License, Version 2.0
PERMIT_PACKAGE= Yes
MODPY_PYBUILD= setuptools
MODPY_PI= Yes
MODPY_PYTEST= Yes
MODULES= lang/python
FLAVORS= python3
FLAVOR= python3
RUN_DEPENDS= devel/py-serial${MODPY_FLAVOR}
TEST_DEPENDS= devel/py-coveralls${MODPY_FLAVOR} \
devel/py-test-cov${MODPY_FLAVOR}
.include <bsd.port.mk>