[oe] [meta-python][PATCH] python-lockfile: Fix build error as following:

Lei Maohui leimaohui at cn.fujitsu.com
Sat May 19 21:43:08 UTC 2018


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

Signed-off-by: Lei Maohui <leimaohui at cn.fujitsu.com>
---
 meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
index cd15760..9ad865d 100644
--- a/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
+++ b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
@@ -11,3 +11,9 @@ inherit pypi setuptools
 
 SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
 SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
-- 
1.9.1






More information about the Openembedded-devel mailing list