mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 05:30:02 +00:00
pyrtm: break samples and unit tests into separate packages
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
7e1e62d682
commit
bb497805f0
@@ -10,7 +10,26 @@ SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14e
|
|||||||
|
|
||||||
inherit pypi setuptools
|
inherit pypi setuptools
|
||||||
|
|
||||||
|
PACKAGES =+ "${PN}-tests ${PN}-samples"
|
||||||
|
|
||||||
|
FILES_${PN}-samples += " \
|
||||||
|
${PYTHON_SITEPACKAGES_DIR}/rtm/samples \
|
||||||
|
"
|
||||||
|
|
||||||
|
FILES_${PN}-tests += " \
|
||||||
|
${PYTHON_SITEPACKAGES_DIR}/rtm/tests \
|
||||||
|
"
|
||||||
|
|
||||||
RDEPENDS_${PN} += "\
|
RDEPENDS_${PN} += "\
|
||||||
${PYTHON_PN}-json \
|
${PYTHON_PN}-json \
|
||||||
${PYTHON_PN}-netclient \
|
${PYTHON_PN}-netclient \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-samples += " \
|
||||||
|
${PN} \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-tests += " \
|
||||||
|
${PN} \
|
||||||
|
${PYTHON_PN}-unittest \
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user