diff options
author | Derek Straka <derek@asterius.io> | 2017-11-30 13:18:07 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-12-11 07:58:58 -0800 |
commit | 857ed16bc8b67cb67fe4b1b11930a1154ea01d6c (patch) | |
tree | af0b9d7c3fa156f5e90747ca2464bd20f07a1926 | |
parent | ec5b6dd327abce8065e61c536c80cee1b176a92d (diff) | |
download | meta-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.inc | 13 |
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 | ||
18 | CLEANBROKEN = "1" | 18 | CLEANBROKEN = "1" |
19 | 19 | ||
20 | PACKAGES =+ "${PN}-tests" | ||
21 | FILES_${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 | |||
20 | RDEPENDS_${PN} += " \ | 28 | RDEPENDS_${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 | |||
44 | RDEPENDS_${PN}-tests = " \ | ||
45 | ${PN} \ | ||
46 | ${PYTHON_PN}-unittest \ | ||
47 | " | ||