python-libmodbus: Update to 0.6.2
authorJeffery To <jeffery.to@gmail.com>
Wed, 28 Jun 2023 17:22:03 +0000 (01:22 +0800)
committerRosen Penev <rosenp@gmail.com>
Mon, 3 Jul 2023 14:29:17 +0000 (07:29 -0700)
This also adds a source package (python3-libmodbus-src).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 40b9f05a5818e3793271902771a8a6b9d93f8075)

lang/python/python-libmodbus/Makefile

index 3306f4d903051174ecc90326588d97174081e054..79de689875e97b4bc2f1c0820dd405663f7cf95f 100644 (file)
@@ -2,15 +2,16 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=python-libmodbus
-PKG_VERSION:=0.5.0
-PKG_RELEASE:=2
+PKG_VERSION:=0.6.2
+PKG_RELEASE:=1
+
+PYPI_NAME:=pylibmodbus
+PKG_HASH:=7989af81f57cc7593c86b2d74201978e931bc80f6bbe62564273477fc7059c20
 
 PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE
 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
-PYPI_NAME:=pylibmodbus
-PKG_HASH:=80f837304ffa8476145ea643f6b98aa94b205013a96f1e5173d7bdc776426aee
-
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../python3-package.mk
@@ -19,8 +20,8 @@ define Package/python3-libmodbus
   SUBMENU:=Python
   SECTION:=lang
   CATEGORY:=Languages
-  TITLE:=pylibmodbus
-  URL:=https://pypi.org/project/pylibmodbus
+  TITLE:=Wrapper for libmodbus
+  URL:=https://github.com/stephane/pylibmodbus
   DEPENDS:=+libmodbus \
      +python3-light \
      +python3-cffi
@@ -32,3 +33,4 @@ endef
 
 $(eval $(call Py3Package,python3-libmodbus))
 $(eval $(call BuildPackage,python3-libmodbus))
+$(eval $(call BuildPackage,python3-libmodbus-src))