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

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Pascal Bach 2017-09-12 18:24:32 +02:00 committed by Martin Jansa
parent a81773768f
commit 12d09665bb
2 changed files with 2 additions and 2 deletions

View File

@ -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 \

View File

@ -1,8 +1,6 @@
inherit pypi setuptools3
require python-jsonschema.inc
DEPENDS += "python3-vcversioner"
RDEPENDS_${PN} += " \
${PYTHON_PN}-misc \
"