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.

37 lines
1.2 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=python-paho-mqtt
  6. PKG_VERSION:=1.4.0
  7. PKG_RELEASE:=1
  8. PKG_LICENSE:=Eclipse Public License v1.0 / Eclipse Distribution License v1.0
  9. PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com>
  10. PKG_SOURCE:=paho-mqtt-$(PKG_VERSION).tar.gz
  11. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/25/63/db25e62979c2a716a74950c9ed658dce431b5cb01fde29eb6cba9489a904
  12. PKG_HASH:=e440a052b46d222e184be3be38676378722072fcd4dfd2c8f509fb861a7b0b79
  13. PKG_BUILD_DIR:=$(BUILD_DIR)/paho-mqtt-$(PKG_VERSION)
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python3-package.mk
  16. define Package/python3-paho-mqtt
  17. SECTION:=lang
  18. CATEGORY:=Languages
  19. SUBMENU:=Python
  20. TITLE:=python3-paho-mqtt
  21. URL:=http://eclipse.org/paho
  22. DEPENDS:=+python3-light
  23. VARIANT:=python3
  24. endef
  25. define Package/python3-paho-mqtt/description
  26. MQTT version 3.1/3.1.1 client class
  27. endef
  28. $(eval $(call Py3Package,python3-paho-mqtt))
  29. $(eval $(call BuildPackage,python3-paho-mqtt))
  30. $(eval $(call BuildPackage,python3-paho-mqtt-src))