diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb index d93bc884ee..d002c0fc51 100644 --- a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb | |||
| @@ -13,6 +13,17 @@ SRC_URI[sha256sum] = "9feb068e822be7b3a116324e01fb6028eb1d66412bf98595ae72698965 | |||
| 13 | 13 | ||
| 14 | DEPENDS += "${PYTHON_PN}-pytest-runner-native" | 14 | DEPENDS += "${PYTHON_PN}-pytest-runner-native" |
| 15 | 15 | ||
| 16 | do_install_append() { | ||
| 17 | install -d -m0755 ${D}${datadir}/${BPN}/examples | ||
| 18 | cp --preserve=mode,timestamps -R ${S}/examples/* ${D}${datadir}/${BPN}/examples | ||
| 19 | } | ||
| 20 | |||
| 21 | PACKAGES =+ "${PN}-examples" | ||
| 22 | |||
| 23 | RDEPENDS_${PN}-examples += "${PN}" | ||
| 24 | |||
| 25 | FILES_${PN}-examples = "${datadir}/${BPN}/examples" | ||
| 26 | |||
| 16 | RDEPENDS_${PN} = "\ | 27 | RDEPENDS_${PN} = "\ |
| 17 | ${PYTHON_PN}-io \ | 28 | ${PYTHON_PN}-io \ |
| 18 | ${PYTHON_PN}-logging \ | 29 | ${PYTHON_PN}-logging \ |
