summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2017-11-30 13:18:07 -0500
committerArmin Kuster <akuster808@gmail.com>2017-12-11 07:58:58 -0800
commit857ed16bc8b67cb67fe4b1b11930a1154ea01d6c (patch)
treeaf0b9d7c3fa156f5e90747ca2464bd20f07a1926
parentec5b6dd327abce8065e61c536c80cee1b176a92d (diff)
downloadmeta-openembedded-857ed16bc8b67cb67fe4b1b11930a1154ea01d6c.tar.gz
python-werkzeug: add a test package for the unit and integration tests
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python-werkzeug.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-werkzeug.inc b/meta-python/recipes-devtools/python/python-werkzeug.inc
index b2949a3d2..e0b524c38 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"
17 17
18CLEANBROKEN = "1" 18CLEANBROKEN = "1"
19 19
20PACKAGES =+ "${PN}-tests"
21FILES_${PN}-tests+= " \
22 ${PYTHON_SITEPACKAGES_DIR}/werkzeug/test* \
23 ${PYTHON_SITEPACKAGES_DIR}/werkzeug/__pycache__/test* \
24 ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/test* \
25 ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/__pycache__/test* \
26"
27
20RDEPENDS_${PN} += " \ 28RDEPENDS_${PN} += " \
21 ${PYTHON_PN}-datetime \ 29 ${PYTHON_PN}-datetime \
22 ${PYTHON_PN}-difflib \ 30 ${PYTHON_PN}-difflib \
@@ -32,3 +40,8 @@ RDEPENDS_${PN} += " \
32 ${PYTHON_PN}-threading \ 40 ${PYTHON_PN}-threading \
33 ${PYTHON_PN}-unixadmin \ 41 ${PYTHON_PN}-unixadmin \
34" 42"
43
44RDEPENDS_${PN}-tests = " \
45 ${PN} \
46 ${PYTHON_PN}-unittest \
47"