From 72ba5a366410789ef45311be4c36a079941fa037 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 29 Nov 2017 13:59:48 -0500 Subject: python-simplejson: add the tests into their own package Signed-off-by: Derek Straka Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python-simplejson.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-simplejson.inc b/meta-python/recipes-devtools/python/python-simplejson.inc index 7f436f27ed..50524f3597 100644 --- a/meta-python/recipes-devtools/python/python-simplejson.inc +++ b/meta-python/recipes-devtools/python/python-simplejson.inc @@ -15,3 +15,10 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-numbers \ " + +PACKAGES =+ "${PN}-tests" +RDEPENDS_${PN}-tests = "${PN} ${PYTHON_PN}-unittest" +FILES_${PN}-tests+= " \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ +" -- cgit 1.2.3-korg