summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-09-12 09:50:56 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2017-09-12 21:40:31 (GMT)
commit403846cee960a49e2866037c0af90918adf3f356 (patch)
treebf6dd33ef489be8f3ea892e1402082e95016af4f
parentdc5892d49c56149bb9f7c51f5050963e75079c69 (diff)
downloadbuildroot-403846cee960a49e2866037c0af90918adf3f356.tar.gz
buildroot-403846cee960a49e2866037c0af90918adf3f356.tar.bz2
python-ibmiotf: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-ibmiotf/Config.in15
-rw-r--r--package/python-ibmiotf/python-ibmiotf.hash3
-rw-r--r--package/python-ibmiotf/python-ibmiotf.mk13
4 files changed, 32 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index bebcdcb..48d1381 100644
--- a/package/Config.in
+++ b/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"
diff --git a/package/python-ibmiotf/Config.in b/package/python-ibmiotf/Config.in
new file mode 100644
index 0000000..66d5868
--- /dev/null
+++ b/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
diff --git a/package/python-ibmiotf/python-ibmiotf.hash b/package/python-ibmiotf/python-ibmiotf.hash
new file mode 100644
index 0000000..9649876
--- /dev/null
+++ b/package/python-ibmiotf/python-ibmiotf.hash
@@ -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
index 0000000..9853389
--- /dev/null
+++ b/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))