From babb2f1b8380d34aa2b53d29e6c7c468722cb3b6 Mon Sep 17 00:00:00 2001 From: vidplace7 Date: Tue, 30 Jun 2026 17:45:22 -0400 Subject: [PATCH] Align python-meshtastic packaging with upstream Minor changes to align with George Sapkin's submission upstream --- python-meshtastic/Makefile | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/python-meshtastic/Makefile b/python-meshtastic/Makefile index 0dc51e7..2edcd2f 100644 --- a/python-meshtastic/Makefile +++ b/python-meshtastic/Makefile @@ -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 -PKG_LICENSE:=GPL-3.0 +PKG_MAINTAINER:=Austin Lane , George Sapkin +PKG_LICENSE:=GPL-3.0-only PKG_LICENSE_FILES:=LICENSE.md PKG_BUILD_DEPENDS:=python-poetry-core/host @@ -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))