python-paho-mqtt: add new package

Signed-off-by: Davide Viti <zinosat@tiscali.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Davide Viti 2015-12-30 09:13:27 +01:00 committed by Thomas Petazzoni
parent 34f204dc63
commit d2f796885c
4 changed files with 27 additions and 0 deletions

View file

@ -660,6 +660,7 @@ menu "External python modules"
source "package/python-networkmanager/Config.in"
source "package/python-nfc/Config.in"
source "package/python-numpy/Config.in"
source "package/python-paho-mqtt/Config.in"
source "package/python-pam/Config.in"
source "package/python-posix-ipc/Config.in"
source "package/python-protobuf/Config.in"

View file

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_PAHO_MQTT
bool "python-paho-mqtt"
help
The Paho Python Client provides a client class with support
for both MQTT v3.1 and v3.1.1 on Python 2.7 or 3.x. It also
provides some helper functions to make publishing messages
to an MQTT server very straightforward.
https://pypi.python.org/pypi/paho-mqtt

View file

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=a6407b74eb5e5411e157be1de5c11366, sha256 locally computed
md5 a6407b74eb5e5411e157be1de5c11366 paho-mqtt-1.1.tar.gz
sha256 0f7a629efe6e3a2c61b59d3550aa9f2c4529b5689a65fde45e6f1ac36b9a261e paho-mqtt-1.1.tar.gz

View file

@ -0,0 +1,14 @@
################################################################################
#
# python-paho-mqtt
#
################################################################################
PYTHON_PAHO_MQTT_VERSION = 1.1
PYTHON_PAHO_MQTT_SOURCE = paho-mqtt-$(PYTHON_PAHO_MQTT_VERSION).tar.gz
PYTHON_PAHO_MQTT_SITE = https://pypi.python.org/packages/source/p/paho-mqtt
PYTHON_PAHO_MQTT_LICENSE = EPLv1.0 or EDLv1.0
PYTHON_PAHO_MQTT_LICENSE_FILES = LICENSE.txt edl-v10 epl-v10
PYTHON_PAHO_MQTT_SETUP_TYPE = distutils
$(eval $(python-package))