Skip to contentSkip to conversation

python-saharaclient: Fix build error as following:

PATCH In review Lei Maohui 2 participants 2 messages Jun 11, 2018

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 python-saharaclient: Fix build error as following:

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-saharaclient_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-saharaclient_git.bb +5 -0
index 0ec262c..1ce3a85 100644
@@ -14,6 +14,11 @@ DEPENDS += " \
         python-pbr-native \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+"
+
 RDEPENDS_${PN} += " \
 	python-pbr \
 	"
Signature · 1 line
1.9.1
#1 lore raw

This had a reject when applying the patch, but I resolved it and pushed the change.

If there's an issue with my resolution, send follow up patches.

Cheers,

Bruce

Quoted 38 lines · Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-saharaclient_git.bb | 5
+++++
 1 file changed, 5 insertions(+)
(quoted diff) +0 -0

saharaclient_git.bb b/meta-openstack/recipes-devtools/python/python- saharaclient_git.bb
index 0ec262c..1ce3a85 100644

meta-openstack/recipes-devtools/python/python-saharaclient_git.bb +5 -1
@@ -14,6 +14,11 @@ DEPENDS += " \
         python-pbr-native \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+"
+
 RDEPENDS_${PN} += " \
        python-pbr \
        "
--

1.9.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"