Bläddra i källkod

python-ibmiotf: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yegor Yefremov 8 år sedan
förälder
incheckning
403846cee9

+ 1 - 0
package/Config.in

@@ -757,6 +757,7 @@ menu "External python modules"
 	source "package/python-humanize/Config.in"
 	source "package/python-hyperframe/Config.in"
 	source "package/python-hyperlink/Config.in"
+	source "package/python-ibmiotf/Config.in"
 	source "package/python-id3/Config.in"
 	source "package/python-idna/Config.in"
 	source "package/python-incremental/Config.in"

+ 15 - 0
package/python-ibmiotf/Config.in

@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PYTHON_IBMIOTF
+	bool "python-ibmiotf"
+	select BR2_PACKAGE_PYTHON_DICTTOXML # runtime
+	select BR2_PACKAGE_PYTHON_ISO8601 # runtime
+	select BR2_PACKAGE_PYTHON_PAHO_MQTT # runtime
+	select BR2_PACKAGE_PYTHON_PYTZ # runtime
+	select BR2_PACKAGE_PYTHON_REQUESTS # runtime
+	select BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT # runtime
+	select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
+	select BR2_PACKAGE_PYTHON_XMLTODICT # runtime
+	help
+	  Python Client for IBM Watson IoT Platform.
+
+	  https://github.com/ibm-watson-iot/iot-python

+ 3 - 0
package/python-ibmiotf/python-ibmiotf.hash

@@ -0,0 +1,3 @@
+# Locally computed
+sha256  ab230bc4c90af4237abe790ebc6b171706a35971b886f1724d879c2f328a616b  python-ibmiotf-0.2.8.tar.gz
+sha256  d8288e11fc42988629f7c0b649fa007332dd0187b010d025feaf7b1925376e8d  LICENSE

+ 13 - 0
package/python-ibmiotf/python-ibmiotf.mk

@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-ibmiotf
+#
+################################################################################
+
+PYTHON_IBMIOTF_VERSION = 0.2.8
+PYTHON_IBMIOTF_SITE = $(call github,ibm-watson-iot,iot-python,$(PYTHON_IBMIOTF_VERSION))
+PYTHON_IBMIOTF_SETUP_TYPE = setuptools
+PYTHON_IBMIOTF_LICENSE = EPL-1.0
+PYTHON_IBMIOTF_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))