diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-10-28 22:05:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-30 13:22:49 +0000 |
commit | 354f96bf78b355aa396b8340abfae2ca38dcdea1 (patch) | |
tree | f1277b296c5f351ac34b98528884e64f74159167 /meta/recipes-devtools/python/python3/python-config.patch | |
parent | bb5bfc3ac7a991f608036d2db1369a06dd24a0fa (diff) | |
download | poky-354f96bf78b355aa396b8340abfae2ca38dcdea1.tar.gz |
python: update 3.8.5 -> 3.9.0
Drop 0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch,
0001-configure.ac-fix-LIBPL.patch and 0001-python3-Do-not-hardcode-lib-for-distutils.patch
as they are all replaced by the new --platlibdir option to ./configure
Rename 0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch to
0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
and describe the changes better.
License-Update: documentation now dual license under PSF & BSD
(not relevant for the recipe.
(From OE-Core rev: 7347556b18b45c5f9afc2cade565a75c95876914)
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.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3/python-config.patch b/meta/recipes-devtools/python/python3/python-config.patch index c8a8f3d4aa..d0ddbbc7fd 100644 --- a/meta/recipes-devtools/python/python3/python-config.patch +++ b/meta/recipes-devtools/python/python3/python-config.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 07df0ae0d70cba6d1847fe1c24a71063930bec60 Mon Sep 17 00:00:00 2001 | 1 | From 57d073c12e7bede29919117b0141df14015eb27f Mon Sep 17 00:00:00 2001 |
2 | From: Tyler Hall <tylerwhall@gmail.com> | 2 | From: Tyler Hall <tylerwhall@gmail.com> |
3 | Date: Sun, 4 May 2014 20:06:43 -0400 | 3 | Date: Sun, 4 May 2014 20:06:43 -0400 |
4 | Subject: [PATCH] python-config: Revert to using distutils.sysconfig | 4 | Subject: [PATCH] python-config: Revert to using distutils.sysconfig |
@@ -21,7 +21,7 @@ Signed-off-by: Tyler Hall <tylerwhall@gmail.com> | |||
21 | 1 file changed, 5 insertions(+), 5 deletions(-) | 21 | 1 file changed, 5 insertions(+), 5 deletions(-) |
22 | 22 | ||
23 | diff --git a/Misc/python-config.in b/Misc/python-config.in | 23 | diff --git a/Misc/python-config.in b/Misc/python-config.in |
24 | index 727c4a8..c702829 100644 | 24 | index ebd99da..13e57ae 100644 |
25 | --- a/Misc/python-config.in | 25 | --- a/Misc/python-config.in |
26 | +++ b/Misc/python-config.in | 26 | +++ b/Misc/python-config.in |
27 | @@ -6,7 +6,7 @@ | 27 | @@ -6,7 +6,7 @@ |
@@ -37,11 +37,11 @@ index 727c4a8..c702829 100644 | |||
37 | 37 | ||
38 | for opt in opt_flags: | 38 | for opt in opt_flags: |
39 | if opt == '--prefix': | 39 | if opt == '--prefix': |
40 | - print(sysconfig.get_config_var('prefix')) | 40 | - print(getvar('prefix')) |
41 | + print(sysconfig.PREFIX) | 41 | + print(sysconfig.PREFIX) |
42 | 42 | ||
43 | elif opt == '--exec-prefix': | 43 | elif opt == '--exec-prefix': |
44 | - print(sysconfig.get_config_var('exec_prefix')) | 44 | - print(getvar('exec_prefix')) |
45 | + print(sysconfig.EXEC_PREFIX) | 45 | + print(sysconfig.EXEC_PREFIX) |
46 | 46 | ||
47 | elif opt in ('--includes', '--cflags'): | 47 | elif opt in ('--includes', '--cflags'): |