aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2020-10-05 10:34:33 +0300
committerAlexandru Ardelean <ardeleanalex@gmail.com>2020-10-19 11:01:12 +0300
commitcc332fddaa7db1887a123681320b3a767f04fbe6 (patch)
tree429728d967d4b0a3cb99a8a645f5add97e835fa0 /lang/python/python3/patches/008-distutils-use-python-sysroot.patch
parentf2d67dc48ab457846646b2705a53ffff77bb569b (diff)
python3: bump to version 3.9.0
Refreshed patches. Dropped 'patches-setuptools/004-site-patch.patch' Does not apply anymore. Setuptools has removed site.py support: https://github.com/pypa/setuptools/issues/2165 If this is still needed, we may need to re-think it's implementation. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/patches/008-distutils-use-python-sysroot.patch')
-rw-r--r--lang/python/python3/patches/008-distutils-use-python-sysroot.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/python3/patches/008-distutils-use-python-sysroot.patch b/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
index 751f9d797..f218c46d5 100644
--- a/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
+++ b/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
@@ -36,8 +36,8 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
self.library_dirs.append('.')
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
-@@ -18,10 +18,17 @@ from .errors import DistutilsPlatformErr
- from .util import get_platform, get_host_platform
+@@ -17,10 +17,17 @@ import sys
+ from .errors import DistutilsPlatformError
# These are needed in a couple of spots, so just compute them once.
-PREFIX = os.path.normpath(sys.prefix)