python-jsonpatch: fix do_install failure with py2 build

The following error is seen when do_install is run

| UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in
| position 16: ordinal not in range(128) ERROR: python setup.py
| install execution failed.

This is reported in the upstream project as part of pull request #81
https://github.com/stefankoegl/python-json-patch/pull/81

Since a release is not yet available with the required fix we must
apply the fix as a patch.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Mark Asselstine
2018-04-02 11:03:43 -04:00
committed by Armin Kuster
parent 3ab6741f94
commit 3aa3c374ca
2 changed files with 39 additions and 0 deletions

View File

@@ -2,3 +2,7 @@ inherit setuptools
require python-jsonpatch.inc
RDEPENDS_${PN} += "${PYTHON_PN}-re"
SRC_URI += " \
file://Drop-support-for-EOL-Python-3.3.patch \
"