From eefc9c0fb373e1bcd22d3610a6124d1036657e5c Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Thu, 16 Feb 2017 13:21:31 +0800 Subject: python-mock: add RDEPENDS on python-pbr and python-funcsigs python-pbr and python-funcsigs are required by python-mock, or it fails with: >>> import mock Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in import mock.mock as _mock File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 69, in from pbr.version import VersionInfo ImportError: No module named pbr.version >>> import mock Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in import mock.mock as _mock File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 80, in import funcsigs ImportError: No module named funcsigs Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb index b4557b72800..840c36efedb 100644 --- a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb @@ -16,4 +16,7 @@ RDEPENDS_${PN} += " \ python-pyparsing \ python-mccabe \ python-pep8 \ - python-pyflakes" + python-pyflakes \ + python-pbr \ + python-funcsigs \ +" -- cgit 1.2.3-korg