[oe] [meta-python][PATCH 2/2] python3-jsonschema: set dependency to vcversioner

Mikko Ylinen mikko.ylinen at linux.intel.com
Tue Aug 30 06:55:45 UTC 2016


The recently added python3-jsonschema depends on vcversioner. The
setuptools tries to fetch it but fails with bitbake if run behind
proxies. Explicitly set DEPENDS to ensure the dependency is installed
before running setup.py for python3-jsonschema.

Signed-off-by: Mikko Ylinen <mikko.ylinen at linux.intel.com>
---
 meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb b/meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb
index 5aaee68..53b8839 100644
--- a/meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb
@@ -1,6 +1,8 @@
 inherit pypi setuptools3
 require python-jsonschema.inc
 
+DEPENDS += "python3-vcversioner"
+
 RDEPENDS_${PN} += " \
     ${PYTHON_PN}-misc \
 "
-- 
2.9.3




More information about the Openembedded-devel mailing list