mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
python3-setuptools: upgrade 75.6.0 -> 75.8.0
(From OE-Core rev: 2f30a782ae5500d9b7dcc37e2cfc43312a470605) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7e927835e8
commit
2eab360fb2
|
@ -1,4 +1,4 @@
|
|||
From a9f3483b492317959a35886308c31c078e350a35 Mon Sep 17 00:00:00 2001
|
||||
From b84b849dc72d2523f18fdbbbd28a2cd975596d08 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Wed, 11 May 2022 21:41:14 +0200
|
||||
Subject: [PATCH] _distutils/sysconfig.py: make it possible to substite the
|
||||
|
@ -20,10 +20,10 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
|||
1 file changed, 10 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py
|
||||
index 7ebe67687..8039021a8 100644
|
||||
index da1eecb..bb02a09 100644
|
||||
--- a/setuptools/_distutils/sysconfig.py
|
||||
+++ b/setuptools/_distutils/sysconfig.py
|
||||
@@ -121,6 +121,8 @@ def get_python_inc(plat_specific=False, prefix=None):
|
||||
@@ -122,6 +122,8 @@ def get_python_inc(plat_specific=False, prefix=None):
|
||||
sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
|
||||
"""
|
||||
default_prefix = BASE_EXEC_PREFIX if plat_specific else BASE_PREFIX
|
||||
|
@ -32,7 +32,7 @@ index 7ebe67687..8039021a8 100644
|
|||
resolved_prefix = prefix if prefix is not None else default_prefix
|
||||
# MinGW imitates posix like layout, but os.name != posix
|
||||
os_name = "posix" if is_mingw() else os.name
|
||||
@@ -241,7 +243,13 @@ def get_python_lib(plat_specific=False, standard_lib=False, prefix=None):
|
||||
@@ -242,7 +244,13 @@ def get_python_lib(plat_specific=False, standard_lib=False, prefix=None):
|
||||
|
||||
early_prefix = prefix
|
||||
|
||||
|
@ -47,7 +47,7 @@ index 7ebe67687..8039021a8 100644
|
|||
if standard_lib:
|
||||
prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
|
||||
else:
|
||||
@@ -256,7 +264,7 @@ def get_python_lib(plat_specific=False, standard_lib=False, prefix=None):
|
||||
@@ -257,7 +265,7 @@ def get_python_lib(plat_specific=False, standard_lib=False, prefix=None):
|
||||
# Pure Python
|
||||
libdir = "lib"
|
||||
implementation = 'pypy' if IS_PYPY else 'python'
|
||||
|
@ -56,6 +56,3 @@ index 7ebe67687..8039021a8 100644
|
|||
return _posix_lib(standard_lib, libpython, early_prefix, prefix)
|
||||
elif os.name == "nt":
|
||||
if standard_lib:
|
||||
--
|
||||
2.39.2
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 00611eb8151825632bc36c189109626d9223037f Mon Sep 17 00:00:00 2001
|
||||
From 9441848a121912b6627c7188ab95595684c8306b Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Tue, 17 Jul 2018 10:13:38 +0800
|
||||
Subject: [PATCH] conditionally do not fetch code by easy_install
|
||||
|
@ -20,7 +20,7 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
|||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
|
||||
index 66fe68f7a..8647c2082 100644
|
||||
index 66fe68f..8647c20 100644
|
||||
--- a/setuptools/command/easy_install.py
|
||||
+++ b/setuptools/command/easy_install.py
|
||||
@@ -673,6 +673,11 @@ class easy_install(Command):
|
||||
|
@ -35,6 +35,3 @@ index 66fe68f7a..8647c2082 100644
|
|||
with self._tmpdir() as tmpdir:
|
||||
if not isinstance(spec, Requirement):
|
||||
if URL_SCHEME(spec):
|
||||
--
|
||||
2.39.5
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e
|
|||
SRC_URI += " \
|
||||
file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "8199222558df7c86216af4f84c30e9b34a61d8ba19366cc914424cdbd28252f6"
|
||||
SRC_URI[sha256sum] = "c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6"
|
||||
|
||||
DEPENDS += "python3"
|
||||
|
Loading…
Reference in New Issue
Block a user