summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb
new file mode 100644
index 0000000000..81a6d0a9c9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb
@@ -0,0 +1,33 @@
1SUMMARY = "MQTT version 3.1/3.1.1 client library"
2LICENSE = "EPL-1.0 | EDL-1.0"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913 \
4 file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \
5"
6SRCNAME = "paho-mqtt"
7
8inherit pypi setuptools3
9
10SRC_URI[sha256sum] = "2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f"
11
12DEPENDS += "${PYTHON_PN}-pytest-runner-native"
13
14do_install:append() {
15 install -d -m0755 ${D}${datadir}/${BPN}/examples
16 cp --preserve=mode,timestamps -R ${S}/examples/* ${D}${datadir}/${BPN}/examples
17}
18
19PACKAGES =+ "${PN}-examples"
20
21RDEPENDS:${PN}-examples += "${PN} ${PYTHON_PN}-core"
22
23FILES:${PN}-examples = "${datadir}/${BPN}/examples"
24
25RDEPENDS:${PN} = "\
26 ${PYTHON_PN}-io \
27 ${PYTHON_PN}-logging \
28 ${PYTHON_PN}-math \
29 ${PYTHON_PN}-netclient \
30 ${PYTHON_PN}-threading \
31"
32
33BBCLASSEXTEND = "native nativesdk"