Skip to content
Merged
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
37 changes: 24 additions & 13 deletions python-meshtastic/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# SPDX-License-Identifier: GPL-2.0-only

include $(TOPDIR)/rules.mk

PKG_NAME:=python-meshtastic
# TODO renovate
PKG_VERSION:=2.7.10
PKG_RELEASE:=1

PYPI_NAME:=meshtastic
# TODO renovate?
PKG_HASH:=bf0c7ee2451245ab20be8340d2ea87f25069be86d70ad9af22b2366c6d68eee1

PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>
PKG_LICENSE:=GPL-3.0
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
Expand All @@ -27,17 +23,32 @@ define Package/python3-meshtastic
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Meshtastic Python
URL:=https://pypi.org/project/meshtastic
TITLE:=Meshtastic Python CLI and API
URL:=https://github.com/meshtastic/python
DEPENDS:= \
+python3-light +python3-asyncio +python3-decimal +python3-logging \
+python3-packaging +python3-pyserial +python3-requests +python3-yaml \
+python3-bleak +python3-tabulate +python3-protobuf +python3-pypubsub
+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
Meshtastic Python CLI / API
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