diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-02-16 13:21:31 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-20 11:50:14 +0100 |
commit | eefc9c0fb373e1bcd22d3610a6124d1036657e5c (patch) | |
tree | c4fb7837d23e73ffb1c2e8eb6970d1562351a218 /meta-python/recipes-devtools | |
parent | db093ee54365624b9e7e5c08962114512965abc9 (diff) | |
download | meta-openembedded-eefc9c0fb373e1bcd22d3610a6124d1036657e5c.tar.gz |
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 "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in <module>
import mock.mock as _mock
File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 69, in <module>
from pbr.version import VersionInfo
ImportError: No module named pbr.version
>>> import mock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in <module>
import mock.mock as _mock
File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 80, in <module>
import funcsigs
ImportError: No module named funcsigs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
-rw-r--r-- | meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
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 b4557b728..840c36efe 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} += " \ | |||
16 | python-pyparsing \ | 16 | python-pyparsing \ |
17 | python-mccabe \ | 17 | python-mccabe \ |
18 | python-pep8 \ | 18 | python-pep8 \ |
19 | python-pyflakes" | 19 | python-pyflakes \ |
20 | python-pbr \ | ||
21 | python-funcsigs \ | ||
22 | " | ||