[oe-commits] [meta-openembedded] 11/54: python-zopeinterface: fixup test package

git at git.openembedded.org git at git.openembedded.org
Mon Jun 5 11:12:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 38d11cb2932e53a07b44c989fb5f54cb13cbd11f
Author: Mark Asselstine <mark.asselstine at windriver.com>
AuthorDate: Fri May 19 12:52:55 2017 -0400

    python-zopeinterface: fixup test package
    
    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>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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 \
 "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list