[meta-virtualization] [m-c-s][PATCH 06/11] python-testtools: fix build error

Mark Asselstine mark.asselstine at windriver.com
Wed Aug 5 13:29:47 PDT 2015


Ran in to a build error:
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr')
ERROR: python setup.py build execution failed.

Fix by DEPENDing on python-pbr.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb
index 80a7489..a58c91a 100644
--- a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb
@@ -17,4 +17,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
 
+DEPENDS += " \
+    python-pbr \
+"
+
 RDEPENDS_${PN} += "python-extras"
-- 
2.1.4



More information about the meta-virtualization mailing list