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