Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions lang/python/python-meshtastic/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# SPDX-License-Identifier: GPL-2.0-only

include $(TOPDIR)/rules.mk

PKG_NAME:=python-meshtastic
PKG_VERSION:=2.7.8
PKG_RELEASE:=1

PYPI_NAME:=meshtastic
PKG_HASH:=98292e43884e239429056b8a0b31291e169a0b7ededae2c7caa737a8cc9f1a97

PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>, George Sapkin <george@sapk.in>
PKG_LICENSE:=GPL-3.0-only
PKG_LICENSE_FILES:=LICENSE.md

PKG_BUILD_DEPENDS:=python-poetry-core/host

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk

define Package/python3-meshtastic
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Meshtastic Python CLI and API
URL:=https://github.com/meshtastic/python
DEPENDS:= \
+python3-asyncio \
+python3-bleak \
+python3-decimal \
+python3-light \
+python3-logging \
+python3-packaging \
+python3-protobuf \
+python3-pypubsub \
+python3-pyserial \
+python3-requests \
+python3-tabulate \
+python3-yaml
endef

define Package/python3-meshtastic/description
This small library (and example application) provides an easy API for
sending and receiving messages over mesh radios. It also provides access
to any of the operations/data available in the device user interface or
the Android application. Events are delivered using a publish-subscribe
model, and you can subscribe to only the message types you are
interested in.
endef

$(eval $(call Py3Package,python3-meshtastic))
$(eval $(call BuildPackage,python3-meshtastic))
$(eval $(call BuildPackage,python3-meshtastic-src))
Loading