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-python3-Do-not-hardcode-lib-for-distutils.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-python3-Do-not-hardcode-lib-for-distutils.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-python3-Do-not-hardcode-lib-for-distutils.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-python3-Do-not-hardcode-lib-for-distutils.patch b/meta/recipes-devtools/python/python3/0001-python3-Do-not-hardcode-lib-for-distutils.patch deleted file mode 100644 index fe031b9983..0000000000 --- a/meta/recipes-devtools/python/python3/0001-python3-Do-not-hardcode-lib-for-distutils.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From bb711b53f10d32a90a27ccf4b0dc51e4a701d862 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Fri, 7 Feb 2020 09:42:09 +0800 | ||
4 | Subject: [PATCH] python3: Do not hardcode "lib" for distutils | ||
5 | |||
6 | Get the sys.lib from python3 itself and do not use | ||
7 | hardcoded value of 'lib' for distutils. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe-core specific] | ||
10 | |||
11 | Signed-off-by: Li Zhou <li.zhou@windriver.com> | ||
12 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
13 | --- | ||
14 | Lib/distutils/command/install.py | 6 ++++-- | ||
15 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py | ||
18 | index c625c95..8e32f54 100644 | ||
19 | --- a/Lib/distutils/command/install.py | ||
20 | +++ b/Lib/distutils/command/install.py | ||
21 | @@ -19,6 +19,8 @@ from site import USER_BASE | ||
22 | from site import USER_SITE | ||
23 | HAS_USER_SITE = True | ||
24 | |||
25 | +libname = sys.lib | ||
26 | + | ||
27 | WINDOWS_SCHEME = { | ||
28 | 'purelib': '$base/Lib/site-packages', | ||
29 | 'platlib': '$base/Lib/site-packages', | ||
30 | @@ -29,8 +31,8 @@ WINDOWS_SCHEME = { | ||
31 | |||
32 | INSTALL_SCHEMES = { | ||
33 | 'unix_prefix': { | ||
34 | - 'purelib': '$base/lib/python$py_version_short/site-packages', | ||
35 | - 'platlib': '$platbase/lib/python$py_version_short/site-packages', | ||
36 | + 'purelib': '$base/' + libname + '/python$py_version_short/site-packages', | ||
37 | + 'platlib': '$platbase/' + libname + '/python$py_version_short/site-packages', | ||
38 | 'headers': '$base/include/python$py_version_short$abiflags/$dist_name', | ||
39 | 'scripts': '$base/bin', | ||
40 | 'data' : '$base', | ||
41 | -- | ||
42 | 2.7.4 | ||
43 | |||