mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
3efefaad13
commit
c01423e4ba
|
|
@ -13,6 +13,17 @@ SRC_URI[sha256sum] = "9feb068e822be7b3a116324e01fb6028eb1d66412bf98595ae72698965
|
|||
|
||||
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} = "\
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-logging \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user