[oe] [meta-python][PATCH] python-aws-iot-device-sdk-python: Add recipe for version 1.1.2

Fabio Berton fabio.berton at ossystems.com.br
Tue Aug 29 13:23:49 UTC 2017


The AWS IoT Device SDK for Python allows developers to write Python
script to use their devices to access the AWS IoT platform through
MQTT or MQTT over the WebSocket protocol.

Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 .../python/python-aws-iot-device-sdk-python.inc        | 18 ++++++++++++++++++
 .../python/python-aws-iot-device-sdk-python_1.1.2.bb   |  2 ++
 .../python/python3-aws-iot-device-sdk-python_1.1.2.bb  |  2 ++
 3 files changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc
 create mode 100644 meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb

diff --git a/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc
new file mode 100644
index 000000000..a64c6c49a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "SDK for connecting to AWS IoT using Python."
+HOMEPAGE = "https://github.com/aws/aws-iot-device-sdk-python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9ac49901b833e769c7d6f21e8dbd7b30"
+
+SRC_URI[md5sum] = "6835982c7fb36b19aa474d346f29ec3d"
+SRC_URI[sha256sum] = "ac98d39d7230e06fc9a30bdb3398c985a7c357b10898a769db022d315855102a"
+
+inherit pypi
+
+PYPI_PACKAGE = "AWSIoTPythonSDK"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-pyopenssl \
+    ${PYTHON_PN}-json \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb
new file mode 100644
index 000000000..12ae978e3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-aws-iot-device-sdk-python.inc
diff --git a/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb b/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb
new file mode 100644
index 000000000..c43649dbf
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-aws-iot-device-sdk-python.inc
-- 
2.11.0




More information about the Openembedded-devel mailing list