diff options
author | Karel Kočí <cynerd@email.cz> | 2019-02-11 22:08:22 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-03-11 17:21:32 +0100 |
commit | 83e76672d7b977bf5af38655a7e2a06c01566db1 (patch) | |
tree | 97f192af67dba0bb88052e3791be1d18906fb11d | |
parent | 82b47309d8f5f545ab954988e0cd53aafb11b785 (diff) |
python-paho-mqtt: add package
Signed-off-by: Karel Kočí <cynerd@email.cz>
-rw-r--r-- | lang/python/python-paho-mqtt/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lang/python/python-paho-mqtt/Makefile b/lang/python/python-paho-mqtt/Makefile new file mode 100644 index 000000000..1988f9b15 --- /dev/null +++ b/lang/python/python-paho-mqtt/Makefile @@ -0,0 +1,37 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-paho-mqtt +PKG_VERSION:=1.4.0 +PKG_RELEASE:=1 +PKG_LICENSE:=Eclipse Public License v1.0 / Eclipse Distribution License v1.0 +PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com> + +PKG_SOURCE:=paho-mqtt-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/25/63/db25e62979c2a716a74950c9ed658dce431b5cb01fde29eb6cba9489a904 +PKG_HASH:=e440a052b46d222e184be3be38676378722072fcd4dfd2c8f509fb861a7b0b79 +PKG_BUILD_DIR:=$(BUILD_DIR)/paho-mqtt-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-paho-mqtt + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=python3-paho-mqtt + URL:=http://eclipse.org/paho + DEPENDS:=+python3-light + VARIANT:=python3 +endef + +define Package/python3-paho-mqtt/description + MQTT version 3.1/3.1.1 client class +endef + +$(eval $(call Py3Package,python3-paho-mqtt)) +$(eval $(call BuildPackage,python3-paho-mqtt)) +$(eval $(call BuildPackage,python3-paho-mqtt-src)) |