ca-certificates: use host Python 3 instead of Python 2
PATCH 1/3 ca-certificates: use host Python 3 instead of Python 2
Signed-off-by Ross Burton <[email protected]>
--- .../ca-certificates/ca-certificates/use-py3.patch | 12 ++++++++++++ .../ca-certificates/ca-certificates_20161130.bb | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/ca-certificates/ca-certificates/use-py3.patch
meta/recipes-support/ca-certificates/ca-certificates/use-py3.patch new file +12 -0
@@ -0,0 +1,12 @@ +Use the host Python 3 instead of Python 2. + +Upstream-Status: Pending +Signed-off-by: Ross Burton <[email protected]> + +diff --git a/mozilla/Makefile b/mozilla/Makefile +index 6f46118..f98877c 100644 +--- a/mozilla/Makefile ++++ b/mozilla/Makefile +@@ -6 +6 @@ all: +- python certdata2pem.py ++ python3 certdata2pem.py
meta/recipes-support/ca-certificates/ca-certificates_20161130.bb +2 -1
@@ -20,7 +20,8 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ca-certificates.git \ file://0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch \ file://update-ca-certificates-support-Toybox.patch \ file://default-sysroot.patch \ - file://sbindir.patch" + file://sbindir.patch \ + file://use-py3.patch" S = "${WORKDIR}/git"
Signature · 1 line
2.11.0
PATCH 2/3 libsoup: use Python 3 instead of Python 2
Signed-off-by Ross Burton <[email protected]>
--- 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
meta/recipes-support/libsoup/libsoup-2.4/use-py3.patch new file +12 -0
@@ -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 <[email protected]> + +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
meta/recipes-support/libsoup/libsoup-2.4_2.58.1.bb +2 -1
@@ -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"
Signature · 1 line
2.11.0
PATCH 3/3 grub: use Python 3 in the build
In reply to Ross BurtonSigned-off-by Ross Burton <[email protected]>
--- meta/recipes-bsp/grub/grub2.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-bsp/grub/grub2.inc +2 -0
@@ -57,6 +57,8 @@ BUILD_CFLAGS = "" BUILD_CXXFLAGS = "" BUILD_LDFLAGS = "" +export PYTHON = "python3" + do_configure_prepend() { # The grub2 configure script uses variables such as TARGET_CFLAGS etc # for its own purposes. Remove the OE versions from the environment to
Signature · 1 line
2.11.0