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 authored and Armin Kuster committed 2018-04-08 17:00:06 -07:00
1 parent 3ab6741f94
commit 3aa3c374ca
2 files changed
+39

No files matched your search

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