aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksii Samorukov <samm@FreeBSD.org>2026-02-10 08:37:49 +0000
committerOleksii Samorukov <samm@FreeBSD.org>2026-02-10 08:37:49 +0000
commit57e78e46358a6e1785c70dd045c7657e7dd4d45b (patch)
treeacca99e9238a5e1b0e809c172e5fe32fe699d6fd
parentad1bcf1ac9380b573e868f223efd40a1b7bfe44c (diff)
comms/py-cayennelpp: new port, CayenneLPP decoder and encoder written in Python
-rw-r--r--comms/Makefile1
-rw-r--r--comms/py-cayennelpp/Makefile23
-rw-r--r--comms/py-cayennelpp/distinfo3
-rw-r--r--comms/py-cayennelpp/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 2defa1b3938c..06c859a7c0ac 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -134,6 +134,7 @@
SUBDIR += predict
SUBDIR += py-ModbusTCP
SUBDIR += py-adafruit-ampy
+ SUBDIR += py-cayennelpp
SUBDIR += py-elelabs-zigbee-ezsp-utility
SUBDIR += py-esptool
SUBDIR += py-fritzconnection
diff --git a/comms/py-cayennelpp/Makefile b/comms/py-cayennelpp/Makefile
new file mode 100644
index 000000000000..21f6c1a92ec1
--- /dev/null
+++ b/comms/py-cayennelpp/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= pycayennelpp
+PORTVERSION= 2.4.0
+CATEGORIES= comms python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= samm@FreeBSD.org
+COMMENT= CayenneLPP decoder and encoder written in Python
+WWW= https://github.com/smlng/pycayennelpp
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils pytest
+NO_ARCH= yes
+
+post-patch:
+ @${REINPLACE_CMD} '/pytest-runner/d' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/comms/py-cayennelpp/distinfo b/comms/py-cayennelpp/distinfo
new file mode 100644
index 000000000000..5d3803c77b76
--- /dev/null
+++ b/comms/py-cayennelpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1770707775
+SHA256 (pycayennelpp-2.4.0.tar.gz) = bdf5e3e698ce40e66c5065794340e7149c1147f3fd98438e7ea72885c4a786b1
+SIZE (pycayennelpp-2.4.0.tar.gz) = 11390
diff --git a/comms/py-cayennelpp/pkg-descr b/comms/py-cayennelpp/pkg-descr
new file mode 100644
index 000000000000..70c63b581cdf
--- /dev/null
+++ b/comms/py-cayennelpp/pkg-descr
@@ -0,0 +1,3 @@
+A Cayenne Low Power Payload (CayenneLPP) decoder and encoder written in Python.
+PyCayenneLPP offers a concise interface with proper encoding and decoding
+functionality for the CayenneLPP format, supporting many sensor types.