From 857ed16bc8b67cb67fe4b1b11930a1154ea01d6c Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Nov 2017 13:18:07 -0500 Subject: python-werkzeug: add a test package for the unit and integration tests Signed-off-by: Derek Straka Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python-werkzeug.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'meta-python/recipes-devtools/python/python-werkzeug.inc') 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" 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 \ +" -- cgit v1.2.3-54-g00ecf