Skip to contentSkip to conversation

python-lockfile: Fix build error as following:

PATCH In review Lei Maohui 1 participant 2 messages May 29, 2018 – Jun 13, 2018

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

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

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

---
 meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb +6 -0
index cd15760..9ad865d 100644
@@ -11,3 +11,9 @@ inherit pypi setuptools
 
 SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
 SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
Signature · 1 line
1.9.1
#1 lore raw

Hi,

This patch also applies to sumo, please merge to sumo.

Best regards.
Lei

Quoted 34 lines

-----Original Message-----
From: Lei, Maohui
Sent: Sunday, May 20, 2018 5:43 AM
To: [email protected]
Cc: Lei, Maohui
Subject: [oe] [meta-python][PATCH] python-lockfile: Fix build error as following:

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

---
 meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb +0 -0
index cd15760..9ad865d 100644
@@ -11,3 +11,9 @@ inherit pypi setuptools
 
 SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
 SRC_URI[sha256sum] =

"6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"

meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb +6 -1
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
--

1.9.1