mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
python3-paho-mqtt: add package python3-paho-mqtt-examples
package examples under source into python3-paho-mqtt-examples Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -13,6 +13,17 @@ SRC_URI[sha256sum] = "9feb068e822be7b3a116324e01fb6028eb1d66412bf98595ae72698965
|
|||||||
|
|
||||||
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
|
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
install -d -m0755 ${D}${datadir}/${BPN}/examples
|
||||||
|
cp --preserve=mode,timestamps -R ${S}/examples/* ${D}${datadir}/${BPN}/examples
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES =+ "${PN}-examples"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-examples += "${PN}"
|
||||||
|
|
||||||
|
FILES_${PN}-examples = "${datadir}/${BPN}/examples"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "\
|
RDEPENDS_${PN} = "\
|
||||||
${PYTHON_PN}-io \
|
${PYTHON_PN}-io \
|
||||||
${PYTHON_PN}-logging \
|
${PYTHON_PN}-logging \
|
||||||
|
|||||||
Reference in New Issue
Block a user