summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/python-config.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-01-20 18:24:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-21 12:52:52 +0000
commit28c5a5033e4893ec1f1fd5aab8b2fd0d5f815678 (patch)
tree516cabd91f2d95e50eb1980efa4cda946fdb8b57 /meta/recipes-devtools/python/python3/python-config.patch
parentf7a99d04e6fb81ffbb14cfa3caaf47e89bb424b5 (diff)
downloadpoky-28c5a5033e4893ec1f1fd5aab8b2fd0d5f815678.tar.gz
python3: update to 3.8.1
Drop backports, rebase other patches. 0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch is removed as the use case (allowing python 2 and 3 to coexist in SDKs) is no longer relevant with Python 2.x reaching end of line and upstream has refactored the code making a rebase difficult. If needed, please re-add the patch to py2, rather than py3. Python 3.8 no longer adds "m" to "3.8" in paths, so adjust the recipes and classes accordingly. The manifest for the 3.8.0 version is updated; particularly pkgutil module is now packaged in -core (as other things in core need it); this also necessitates allowing empty -pkgutil package to avoid breakage across layers. (From OE-Core rev: e6ab9f16b92aa1abdae82c535c1a452a1341b0e2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/python-config.patch')
-rw-r--r--meta/recipes-devtools/python/python3/python-config.patch24
1 files changed, 16 insertions, 8 deletions
diff --git a/meta/recipes-devtools/python/python3/python-config.patch b/meta/recipes-devtools/python/python3/python-config.patch
index f23b8b7df0..c8a8f3d4aa 100644
--- a/meta/recipes-devtools/python/python3/python-config.patch
+++ b/meta/recipes-devtools/python/python3/python-config.patch
@@ -1,4 +1,7 @@
1python-config: Revert to using distutils.sysconfig 1From 07df0ae0d70cba6d1847fe1c24a71063930bec60 Mon Sep 17 00:00:00 2001
2From: Tyler Hall <tylerwhall@gmail.com>
3Date: Sun, 4 May 2014 20:06:43 -0400
4Subject: [PATCH] python-config: Revert to using distutils.sysconfig
2 5
3The newer sysconfig module shares some code with distutils.sysconfig, but the same modifications as in 6The newer sysconfig module shares some code with distutils.sysconfig, but the same modifications as in
4 7
@@ -12,11 +15,16 @@ Upstream-Status: Inappropriate [Embedded Specific]
12 15
13Signed-off-by: Tyler Hall <tylerwhall@gmail.com> 16Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
14: 17:
15Index: Python-3.3.3/Misc/python-config.in 18
16=================================================================== 19---
17--- Python-3.3.3.orig/Misc/python-config.in 20 Misc/python-config.in | 10 +++++-----
18+++ Python-3.3.3/Misc/python-config.in 21 1 file changed, 5 insertions(+), 5 deletions(-)
19@@ -4,7 +4,7 @@ 22
23diff --git a/Misc/python-config.in b/Misc/python-config.in
24index 727c4a8..c702829 100644
25--- a/Misc/python-config.in
26+++ b/Misc/python-config.in
27@@ -6,7 +6,7 @@
20 import getopt 28 import getopt
21 import os 29 import os
22 import sys 30 import sys
@@ -24,8 +32,8 @@ Index: Python-3.3.3/Misc/python-config.in
24+from distutils import sysconfig 32+from distutils import sysconfig
25 33
26 valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 34 valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
27 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir'] 35 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir',
28@@ -32,14 +32,14 @@ if '--help' in opt_flags: 36@@ -35,14 +35,14 @@ if '--help' in opt_flags:
29 37
30 for opt in opt_flags: 38 for opt in opt_flags:
31 if opt == '--prefix': 39 if opt == '--prefix':