Skip to contentSkip to conversation

python-jsonschema, python3-jsonschema: add vcversioner-native dependency

PATCH New Pascal Bach 1 participant 1 message Sep 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-jsonschema, python3-jsonschema: add vcversioner-native dependency

If not added the setup.py will complain that it can't find vcversioner. The non native dependency is not working as the module is required during compilation not at runtime.

Also the dependency is required for both the Python 2 and Python 3 version

---
 meta-python/recipes-devtools/python/python-jsonschema.inc       | 2 ++
 meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python-jsonschema.inc +2 -0
index 74933f5..db57c69 100644
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8"
 SRC_URI[md5sum] = "50c6b69a373a8b55ff1e0ec6e78f13f4"
 SRC_URI[sha256sum] = "6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02"
 
+DEPENDS += "${PYTHON_PN}-vcversioner-native"
+
 RDEPENDS_${PN} += " \
     ${PYTHON_PN}-core \
     ${PYTHON_PN}-io \
meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb +0 -2
index 53b8839..5aaee68 100644
@@ -1,8 +1,6 @@
 inherit pypi setuptools3
 require python-jsonschema.inc
 
-DEPENDS += "python3-vcversioner"
-
 RDEPENDS_${PN} += " \
     ${PYTHON_PN}-misc \
 "
Signature · 1 line
2.1.4