[oe-commits] [meta-openembedded] 19/40: python-simplejson: add the tests into their own package

git at git.openembedded.org git at git.openembedded.org
Mon Dec 11 16:04:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master
in repository meta-openembedded.

commit 72ba5a366410789ef45311be4c36a079941fa037
Author: Derek Straka <derek at asterius.io>
AuthorDate: Wed Nov 29 13:59:48 2017 -0500

    python-simplejson: add the tests into their own package
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-python/recipes-devtools/python/python-simplejson.inc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-simplejson.inc b/meta-python/recipes-devtools/python/python-simplejson.inc
index 7f436f2..50524f3 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* \
+"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list