blob: 2d4e55abc897565e18ec64a71548244f2fb89250 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "MQTT version 3.1/3.1.1 client library"
2LICENSE = "EPL-1.0 | EDL-1.0"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc \
4 file://epl-v10;md5=8d383c379e91d20ba18a52c3e7d3a979 \
5 file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \
6"
7SRCNAME = "paho-mqtt"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008
Andrew Geissler82c905d2020-04-13 13:39:40 -05009inherit pypi setuptools3
10
Andrew Geisslera2681d92020-10-16 10:17:07 -050011SRC_URI[md5sum] = "32f93c0ed92c7439f7a715ed258fd35d"
12SRC_URI[sha256sum] = "9feb068e822be7b3a116324e01fb6028eb1d66412bf98595ae72698965cb1cae"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14DEPENDS += "${PYTHON_PN}-pytest-runner-native"
15
Patrick Williams213cb262021-08-07 19:21:33 -050016do_install:append() {
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070017 install -d -m0755 ${D}${datadir}/${BPN}/examples
18 cp --preserve=mode,timestamps -R ${S}/examples/* ${D}${datadir}/${BPN}/examples
19}
20
21PACKAGES =+ "${PN}-examples"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023RDEPENDS:${PN}-examples += "${PN}"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070024
Patrick Williams213cb262021-08-07 19:21:33 -050025FILES:${PN}-examples = "${datadir}/${BPN}/examples"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070026
Patrick Williams213cb262021-08-07 19:21:33 -050027RDEPENDS:${PN} = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050028 ${PYTHON_PN}-io \
29 ${PYTHON_PN}-logging \
30 ${PYTHON_PN}-math \
31 ${PYTHON_PN}-netclient \
32 ${PYTHON_PN}-threading \
33"
Andrew Geissler89770b02020-06-13 10:40:47 -050034
35BBCLASSEXTEND = "native nativesdk"