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/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.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/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch new file mode 100644 index 0000000000..1490cdbb18 --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From deeedd1b8799294ab276ab7dbbfdb59c1dacc9a2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Thu, 22 Oct 2020 13:10:34 +0200 | ||
| 4 | Subject: [PATCH] Lib/sysconfig.py: use libdir values from configuration file | ||
| 5 | |||
| 6 | This allows correctly substituting them for target installs using | ||
| 7 | native python. | ||
| 8 | |||
| 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 10 | --- | ||
| 11 | Lib/sysconfig.py | 8 ++++---- | ||
| 12 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py | ||
| 15 | index bf04ac5..ed0462b 100644 | ||
| 16 | --- a/Lib/sysconfig.py | ||
| 17 | +++ b/Lib/sysconfig.py | ||
| 18 | @@ -20,10 +20,10 @@ __all__ = [ | ||
| 19 | |||
| 20 | _INSTALL_SCHEMES = { | ||
| 21 | 'posix_prefix': { | ||
| 22 | - 'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}', | ||
| 23 | - 'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}', | ||
| 24 | - 'purelib': '{base}/lib/python{py_version_short}/site-packages', | ||
| 25 | - 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages', | ||
| 26 | + 'stdlib': '{LIBDEST}', | ||
| 27 | + 'platstdlib': '{LIBDEST}', | ||
| 28 | + 'purelib': '{LIBDEST}/site-packages', | ||
| 29 | + 'platlib': '{LIBDEST}/site-packages', | ||
| 30 | 'include': | ||
| 31 | '{installed_base}/include/python{py_version_short}{abiflags}', | ||
| 32 | 'platinclude': | ||
| 33 | -- | ||
| 34 | 2.24.0 | ||
| 35 | |||
