* [meta-python][PATCH] python-werkzeug: add a test package for the unit and integration tests
@ 2017-11-30 18:18 Derek Straka
0 siblings, 0 replies; only message in thread
From: Derek Straka @ 2017-11-30 18:18 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Derek Straka <derek@asterius.io>
---
meta-python/recipes-devtools/python/python-werkzeug.inc | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-werkzeug.inc b/meta-python/recipes-devtools/python/python-werkzeug.inc
index b2949a3..e0b524c 100644
--- a/meta-python/recipes-devtools/python/python-werkzeug.inc
+++ b/meta-python/recipes-devtools/python/python-werkzeug.inc
@@ -17,6 +17,14 @@ PYPI_PACKAGE = "Werkzeug"
CLEANBROKEN = "1"
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests+= " \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/__pycache__/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/__pycache__/test* \
+"
+
RDEPENDS_${PN} += " \
${PYTHON_PN}-datetime \
${PYTHON_PN}-difflib \
@@ -32,3 +40,8 @@ RDEPENDS_${PN} += " \
${PYTHON_PN}-threading \
${PYTHON_PN}-unixadmin \
"
+
+RDEPENDS_${PN}-tests = " \
+ ${PN} \
+ ${PYTHON_PN}-unittest \
+"
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-30 18:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30 18:18 [meta-python][PATCH] python-werkzeug: add a test package for the unit and integration tests Derek Straka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.