From fe899f94760f32350418738b768f23427614efa1 Mon Sep 17 00:00:00 2001 From: Lei Maohui Date: Tue, 15 May 2018 09:55:46 -0700 Subject: python-oslo.service: Fix build error as following: "distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')" Signed-off-by: Lei Maohui Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-oslo.service_git.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-oslo.service_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.service_git.bb index 0cea229..7b72ad2 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.service_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.service_git.bb @@ -19,6 +19,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-pbr \ python-webob \ @@ -35,4 +40,4 @@ RDEPENDS_${PN} += " \ python-paste \ python-routes \ " - \ No newline at end of file + -- cgit v1.2.3-54-g00ecf