new file mode 100644
@@ -0,0 +1,12 @@
+Use Python 3 instead of Python 2.
+
+Upstream-Status: Submitted (https://bugzilla.gnome.org/show_bug.cgi?id=785735)
+Signed-off-by: Ross Burton <ross.burton@intel.com>
+
+diff --git a/libsoup/tld-parser.py b/libsoup/tld-parser.py
+index 5d9d2ba..a743471 100755
+--- a/libsoup/tld-parser.py
++++ b/libsoup/tld-parser.py
+@@ -1 +1 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
@@ -9,7 +9,8 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 intltool-native"
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
-SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz"
+SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \
+ file://use-py3.patch"
SRC_URI[md5sum] = "91d7a6bf8785d31f4b154a7612e53e62"
SRC_URI[sha256sum] = "62c669f557de745b7b20ba9d5b74d839c95e4c9cea1a5ab7f3da5531a1aeefb9"
Signed-off-by: Ross Burton <ross.burton@intel.com> --- meta/recipes-support/libsoup/libsoup-2.4/use-py3.patch | 12 ++++++++++++ meta/recipes-support/libsoup/libsoup-2.4_2.58.1.bb | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/use-py3.patch -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core