]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
python-ibmiotf: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 12 Sep 2017 09:50:56 +0000 (11:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Sep 2017 21:40:31 +0000 (23:40 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-ibmiotf/Config.in [new file with mode: 0644]
package/python-ibmiotf/python-ibmiotf.hash [new file with mode: 0644]
package/python-ibmiotf/python-ibmiotf.mk [new file with mode: 0644]

index bebcdcb89533d096942310bfa5f6116ce21f7b18..48d138192156bf3d1084e43b77e8bde161af58bb 100644 (file)
@@ -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"
diff --git a/package/python-ibmiotf/Config.in b/package/python-ibmiotf/Config.in
new file mode 100644 (file)
index 0000000..66d5868
--- /dev/null
@@ -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
diff --git a/package/python-ibmiotf/python-ibmiotf.hash b/package/python-ibmiotf/python-ibmiotf.hash
new file mode 100644 (file)
index 0000000..9649876
--- /dev/null
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  ab230bc4c90af4237abe790ebc6b171706a35971b886f1724d879c2f328a616b  python-ibmiotf-0.2.8.tar.gz
+sha256  d8288e11fc42988629f7c0b649fa007332dd0187b010d025feaf7b1925376e8d  LICENSE
diff --git a/package/python-ibmiotf/python-ibmiotf.mk b/package/python-ibmiotf/python-ibmiotf.mk
new file mode 100644 (file)
index 0000000..9853389
--- /dev/null
@@ -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))