blob: d002c0fc5169abb61ac00a1c7acb9e845c6562eb [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
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070016do_install_append() {
17 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
23RDEPENDS_${PN}-examples += "${PN}"
24
25FILES_${PN}-examples = "${datadir}/${BPN}/examples"
26
Andrew Geissler82c905d2020-04-13 13:39:40 -050027RDEPENDS_${PN} = "\
28 ${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"