diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-11 11:40:40 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:57:38 +0100 |
commit | fae4ba632bc739cdf7369659f9b3bea2dd1cde45 (patch) | |
tree | 33742ebcb9c64ca8c868aee818ba1e887d4b3a1e /meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch | |
parent | 11df8c79a70621591b88f769157db278121cd657 (diff) | |
download | poky-fae4ba632bc739cdf7369659f9b3bea2dd1cde45.tar.gz |
python3: update 3.9.7 -> 3.10.0
native and target 0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
replaced by native-only 0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
which is more reboust against upstream changes, and keeps target code unmodified.
This however necessitated adding 0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
to avoid hardcoding 'lib' on target builds as libdir.
Drop chunk from 0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch as
upstream now uses sysconfig directly inside distutils.
Add 0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch and
0001-multiprocessing-disable-a-failing-test.patch to address ptest failures.
License-Update: copyright years, case corrections.
(From OE-Core rev: 72a75043a946f7db01d3ec04c8889e055f542cca)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch new file mode 100644 index 0000000000..2b5a7d308c --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 93346d1a2f5d4f7085391bc7c1230d85ebe00606 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Sun, 12 Sep 2021 21:44:36 +0200 | ||
4 | Subject: [PATCH] sysconfig.py: use platlibdir also for purelib | ||
5 | |||
6 | This is needed in multilib configurations where hardcoding 'lib' | ||
7 | is not correct. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe-core specific] | ||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | --- | ||
12 | Lib/sysconfig.py | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py | ||
16 | index b70d392..c418acd 100644 | ||
17 | --- a/Lib/sysconfig.py | ||
18 | +++ b/Lib/sysconfig.py | ||
19 | @@ -27,7 +27,7 @@ _INSTALL_SCHEMES = { | ||
20 | 'posix_prefix': { | ||
21 | 'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}', | ||
22 | 'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}', | ||
23 | - 'purelib': '{base}/lib/python{py_version_short}/site-packages', | ||
24 | + 'purelib': '{base}/{platlibdir}/python{py_version_short}/site-packages', | ||
25 | 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages', | ||
26 | 'include': | ||
27 | '{installed_base}/include/python{py_version_short}{abiflags}', | ||
28 | -- | ||
29 | 2.20.1 | ||
30 | |||