From 77f3610eef077985bac285bc235761380e7b1c86 Mon Sep 17 00:00:00 2001 From: Lei Maohui Date: Sat, 26 May 2018 10:40:36 -0700 Subject: python-oslo.policy: 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.policy_git.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-openstack/recipes-devtools/python/python-oslo.policy_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.policy_git.bb index 82c3ae0..0e7a6ad 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.policy_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.policy_git.bb @@ -20,6 +20,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-oslo.config \ python-oslo.i18n \ -- cgit v1.2.3-54-g00ecf