aboutsummaryrefslogtreecommitdiff
path: root/comms/py-meshcore
diff options
context:
space:
mode:
authorOleksii Samorukov <samm@FreeBSD.org>2026-02-10 15:57:50 +0000
committerOleksii Samorukov <samm@FreeBSD.org>2026-02-10 15:57:50 +0000
commitdac657e81e47e366dd023373c6be2e4287774e39 (patch)
tree34c803bd20791dc91791120a569d4b0d2345a92b /comms/py-meshcore
parenta800e180dfab18f87e713d9325940765ba62d659 (diff)
Diffstat (limited to 'comms/py-meshcore')
-rw-r--r--comms/py-meshcore/Makefile22
-rw-r--r--comms/py-meshcore/distinfo3
-rw-r--r--comms/py-meshcore/pkg-descr3
3 files changed, 28 insertions, 0 deletions
diff --git a/comms/py-meshcore/Makefile b/comms/py-meshcore/Makefile
new file mode 100644
index 000000000000..d2e9d8aa1ecd
--- /dev/null
+++ b/comms/py-meshcore/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= meshcore
+PORTVERSION= 2.2.8
+CATEGORIES= comms python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= samm@FreeBSD.org
+COMMENT= Base classes for communicating with meshcore companion radios
+WWW= https://github.com/meshcore-dev/meshcore_py
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycayennelpp>=0:comms/py-cayennelpp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyserial-asyncio-fast>=0:comms/py-pyserial-asyncio-fast@${PY_FLAVOR}
+
+USES= python:3.10+
+USE_PYTHON= autoplist concurrent pep517
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/comms/py-meshcore/distinfo b/comms/py-meshcore/distinfo
new file mode 100644
index 000000000000..9eb4a9fe780d
--- /dev/null
+++ b/comms/py-meshcore/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1770738662
+SHA256 (meshcore-2.2.8.tar.gz) = 5e6efd54d4a0653a742686e8a79f596da1e629757d36636bc671262d354129bd
+SIZE (meshcore-2.2.8.tar.gz) = 64796
diff --git a/comms/py-meshcore/pkg-descr b/comms/py-meshcore/pkg-descr
new file mode 100644
index 000000000000..4babdbb1a3b2
--- /dev/null
+++ b/comms/py-meshcore/pkg-descr
@@ -0,0 +1,3 @@
+Python library for interacting with MeshCore companion radio nodes.
+At the moment FreeBSD does not support BLE communication, so only
+Serial and TCP modes are available.