@@ -1,4 +1,4 @@
-From fe651521b9d970a84432b37d2731932a4862deb2 Mon Sep 17 00:00:00 2001
+From dfebab446e3148e3ec170e06aa57b703a655f772 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 7ddc869..01a06af 100644
+index 4792b58..cf1fbc5 100644
--- a/setuptools/_distutils/sysconfig.py
+++ b/setuptools/_distutils/sysconfig.py
-@@ -134,6 +134,8 @@ def get_python_inc(plat_specific: bool = False, prefix: str | None = None) -> st
+@@ -133,6 +133,8 @@ def get_python_inc(plat_specific: bool = False, prefix: str | None = None) -> st
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 7ddc869..01a06af 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
-@@ -246,7 +248,13 @@ def get_python_lib(
+@@ -245,7 +247,13 @@ def get_python_lib(
early_prefix = prefix
@@ -47,7 +47,7 @@ index 7ddc869..01a06af 100644
if standard_lib:
prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
else:
-@@ -261,7 +269,7 @@ def get_python_lib(
+@@ -260,7 +268,7 @@ def get_python_lib(
# Pure Python
libdir = "lib"
implementation = 'pypy' if IS_PYPY else 'python'
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_84.0.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_84.2.1.bb
@@ -11,7 +11,7 @@ CVE_PRODUCT = "python3-setuptools python:setuptools"
SRC_URI += " \
file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
-SRC_URI[sha256sum] = "f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73"
+SRC_URI[sha256sum] = "3ff8b3b5492a0aa66960f4419365a86b84e013070d4313e4d4a6894f5d64d6bc"
do_install:append() {
# setuptools ships Windows launcher executables (cli*.exe, gui*.exe).
ChangeLog: https://setuptools.pypa.io/en/stable/history.html#v84-2-1 Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- ...ils-sysconfig.py-make-it-possible-to-substite.patch | 10 +++++----- ...tuptools_84.0.0.bb => python3-setuptools_84.2.1.bb} | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools_84.0.0.bb => python3-setuptools_84.2.1.bb} (94%)