mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bb5bfc3ac7
commit
354f96bf78
@@ -1,4 +1,4 @@
|
||||
From 07df0ae0d70cba6d1847fe1c24a71063930bec60 Mon Sep 17 00:00:00 2001
|
||||
From 57d073c12e7bede29919117b0141df14015eb27f Mon Sep 17 00:00:00 2001
|
||||
From: Tyler Hall <tylerwhall@gmail.com>
|
||||
Date: Sun, 4 May 2014 20:06:43 -0400
|
||||
Subject: [PATCH] python-config: Revert to using distutils.sysconfig
|
||||
@@ -21,7 +21,7 @@ Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/Misc/python-config.in b/Misc/python-config.in
|
||||
index 727c4a8..c702829 100644
|
||||
index ebd99da..13e57ae 100644
|
||||
--- a/Misc/python-config.in
|
||||
+++ b/Misc/python-config.in
|
||||
@@ -6,7 +6,7 @@
|
||||
@@ -37,11 +37,11 @@ index 727c4a8..c702829 100644
|
||||
|
||||
for opt in opt_flags:
|
||||
if opt == '--prefix':
|
||||
- print(sysconfig.get_config_var('prefix'))
|
||||
- print(getvar('prefix'))
|
||||
+ print(sysconfig.PREFIX)
|
||||
|
||||
elif opt == '--exec-prefix':
|
||||
- print(sysconfig.get_config_var('exec_prefix'))
|
||||
- print(getvar('exec_prefix'))
|
||||
+ print(sysconfig.EXEC_PREFIX)
|
||||
|
||||
elif opt in ('--includes', '--cflags'):
|
||||
|
||||
Reference in New Issue
Block a user