[meta-virtualization] [meta-cloud-services][fido-kilo][PATCH 27/42] python-testtools: fix build error
Josep Puigdemont
josep.puigdemont at enea.com
Tue Dec 8 09:33:39 PST 2015
From: Mark Asselstine <mark.asselstine at windriver.com>
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>
Signed-off-by: Bruce Ashfield <bruce.ashfield 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.5.0
More information about the meta-virtualization
mailing list