pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-modbus-cli
Module Name: pkgsrc
Committed By: wiz
Date: Tue Nov 5 11:14:10 UTC 2024
Added Files:
pkgsrc/net/py-modbus-cli: DESCR Makefile PLIST distinfo
Log Message:
net/py-modbus-cli: import py-modbus_cli-0.1.9
Read and write registers of Modbus devices.
Access both TCP and RTU (i.e. serial) devices and encode and decode
types larger than 16 bits (e.g. floats) into Modbus 16 bits registers.
Optionally access registers by symbolic names, as defined in a
registers file. Symbolic names for enumerations and bitfields are
supported too.
Designed to work nicely with other standard UNIX tools (watch,
socat, etc.), see the examples.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-modbus-cli/DESCR \
pkgsrc/net/py-modbus-cli/Makefile pkgsrc/net/py-modbus-cli/PLIST \
pkgsrc/net/py-modbus-cli/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/py-modbus-cli/DESCR
diff -u /dev/null pkgsrc/net/py-modbus-cli/DESCR:1.1
--- /dev/null Tue Nov 5 11:14:10 2024
+++ pkgsrc/net/py-modbus-cli/DESCR Tue Nov 5 11:14:10 2024
@@ -0,0 +1,11 @@
+Read and write registers of Modbus devices.
+
+Access both TCP and RTU (i.e. serial) devices and encode and decode
+types larger than 16 bits (e.g. floats) into Modbus 16 bits registers.
+
+Optionally access registers by symbolic names, as defined in a
+registers file. Symbolic names for enumerations and bitfields are
+supported too.
+
+Designed to work nicely with other standard UNIX tools (watch,
+socat, etc.), see the examples.
Index: pkgsrc/net/py-modbus-cli/Makefile
diff -u /dev/null pkgsrc/net/py-modbus-cli/Makefile:1.1
--- /dev/null Tue Nov 5 11:14:10 2024
+++ pkgsrc/net/py-modbus-cli/Makefile Tue Nov 5 11:14:10 2024
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2024/11/05 11:14:10 wiz Exp $
+
+DISTNAME= modbus_cli-0.1.9
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_PYPI:=m/modbus_cli/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/favalex/modbus-cli
+COMMENT= Command line tool to access Modbus devices
+LICENSE= mpl-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-colorama>=0:../../comms/py-colorama
+DEPENDS+= ${PYPKGPREFIX}-uModbus>=0:../../net/py-uModbus
+
+USE_LANGUAGES= # none
+
+# as of 0.1.9
+# 2 failed, 12 passed
+# https://github.com/favalex/modbus-cli/issues/33
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} modbus modbus-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-modbus-cli/PLIST
diff -u /dev/null pkgsrc/net/py-modbus-cli/PLIST:1.1
--- /dev/null Tue Nov 5 11:14:10 2024
+++ pkgsrc/net/py-modbus-cli/PLIST Tue Nov 5 11:14:10 2024
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2024/11/05 11:14:10 wiz Exp $
+bin/modbus-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/modbus_cli/__init__.py
+${PYSITELIB}/modbus_cli/__init__.pyc
+${PYSITELIB}/modbus_cli/__init__.pyo
+${PYSITELIB}/modbus_cli/access.py
+${PYSITELIB}/modbus_cli/access.pyc
+${PYSITELIB}/modbus_cli/access.pyo
+${PYSITELIB}/modbus_cli/definitions.py
+${PYSITELIB}/modbus_cli/definitions.pyc
+${PYSITELIB}/modbus_cli/definitions.pyo
+${PYSITELIB}/modbus_cli/modbus_rtu.py
+${PYSITELIB}/modbus_cli/modbus_rtu.pyc
+${PYSITELIB}/modbus_cli/modbus_rtu.pyo
+${PYSITELIB}/modbus_cli/modbus_tcp.py
+${PYSITELIB}/modbus_cli/modbus_tcp.pyc
+${PYSITELIB}/modbus_cli/modbus_tcp.pyo
Index: pkgsrc/net/py-modbus-cli/distinfo
diff -u /dev/null pkgsrc/net/py-modbus-cli/distinfo:1.1
--- /dev/null Tue Nov 5 11:14:10 2024
+++ pkgsrc/net/py-modbus-cli/distinfo Tue Nov 5 11:14:10 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/11/05 11:14:10 wiz Exp $
+
+BLAKE2s (modbus_cli-0.1.9.tar.gz) = f54cce6f0672a7f321d65bb4209d433db9da328762ae9914549e184f8dbb698a
+SHA512 (modbus_cli-0.1.9.tar.gz) = c61177a88ca963bebe7bb0ece2b527150ba83d1d2964e82583bc95d566e8838da1b8d560ee7d21cc04bbe755e7559ff1b3c72b348b136b43b0d76f975b90f365
+Size (modbus_cli-0.1.9.tar.gz) = 20687 bytes
Home |
Main Index |
Thread Index |
Old Index