From bb497805f07f192118a280bdaa9ea44a26caae76 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 29 Nov 2017 15:17:16 -0500 Subject: pyrtm: break samples and unit tests into separate packages Signed-off-by: Derek Straka Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/pyrtm_0.4.2.bb | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb index 72f0921e7..2272da91a 100644 --- a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb +++ b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb @@ -10,7 +10,26 @@ SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14e 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} += "\ ${PYTHON_PN}-json \ ${PYTHON_PN}-netclient \ - " +" + +RDEPENDS_${PN}-samples += " \ + ${PN} \ +" + +RDEPENDS_${PN}-tests += " \ + ${PN} \ + ${PYTHON_PN}-unittest \ +" -- cgit v1.2.3-54-g00ecf