You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
807 B

  1. include $(TOPDIR)/rules.mk
  2. include $(INCLUDE_DIR)/kernel.mk
  3. PKG_NAME:=python-libmodbus
  4. PKG_VERSION:=0.5.0
  5. PKG_RELEASE:=2
  6. PKG_LICENSE:=BSD-3-Clause
  7. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  8. PYPI_NAME:=pylibmodbus
  9. PKG_HASH:=80f837304ffa8476145ea643f6b98aa94b205013a96f1e5173d7bdc776426aee
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python3-package.mk
  13. define Package/python3-libmodbus
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=pylibmodbus
  18. URL:=https://pypi.org/project/pylibmodbus
  19. DEPENDS:=+libmodbus \
  20. +python3-light \
  21. +python3-cffi
  22. endef
  23. define Package/python3-libmodbus/description
  24. Python Interface for libmodbus written with CFFI.
  25. endef
  26. $(eval $(call Py3Package,python3-libmodbus))
  27. $(eval $(call BuildPackage,python3-libmodbus))