[oe] [meta-python][PATCH 1/2] python-zopeinterface: fixup test package

Mark Asselstine mark.asselstine at windriver.com
Fri May 19 16:52:55 UTC 2017


The recipe seems to have the intent of creating a 'tests' package but
doesn't follow through on this intent. Rename 'tests' to 'test' to
match other python test packages and follow through on the intent to
actually produce a 'test' package.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-python/recipes-devtools/python/python-zopeinterface_4.3.3.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-zopeinterface_4.3.3.bb b/meta-python/recipes-devtools/python/python-zopeinterface_4.3.3.bb
index 7596394..8ad1250 100644
--- a/meta-python/recipes-devtools/python/python-zopeinterface_4.3.3.bb
+++ b/meta-python/recipes-devtools/python/python-zopeinterface_4.3.3.bb
@@ -8,11 +8,16 @@ SRC_URI[sha256sum] = "8780ef68ca8c3fe1abb30c058a59015129d6e04a6b02c2e56b9c7de607
 PYPI_PACKAGE = "zope.interface"
 inherit pypi setuptools
 
+PACKAGES =. "${PN}-test "
+
 RPROVIDES_${PN} += "zope-interfaces"
+
+RDEPENDS_${PN}-test += "python-unittest python-doctest"
+
 FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug"
 FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.c"
 FILES_${PN}-doc += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.txt"
-FILES_${PN}-tests = " \
+FILES_${PN}-test += " \
         ${PYTHON_SITEPACKAGES_DIR}/zope/interface/tests \
         ${PYTHON_SITEPACKAGES_DIR}/zope/interface/common/tests \
 "
-- 
2.7.4




More information about the Openembedded-devel mailing list