python3-setuptools: upgrade 80.8.0 -> 80.9.0

0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
refreshed for 80.9.0

(From OE-Core rev: 8c42a544180524dce3fcbca176db2689d21c084f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu 2025-06-04 16:45:20 +08:00 committed by Richard Purdie
parent 6ad4c13fee
commit 10a9a48f73
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
From c3d2c40e10f24724ab2e3d5f236823f3076c7aec Mon Sep 17 00:00:00 2001
From e2eab8c254f16c461de25123f6859b8a18db5cd8 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,7 +20,7 @@ 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 e5facae..0932f6f 100644
index 7ddc869..01a06af 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
@ -32,7 +32,7 @@ index e5facae..0932f6f 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
@@ -256,7 +258,13 @@ def get_python_lib(
@@ -246,7 +248,13 @@ def get_python_lib(
early_prefix = prefix
@ -47,7 +47,7 @@ index e5facae..0932f6f 100644
if standard_lib:
prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
else:
@@ -271,7 +279,7 @@ def get_python_lib(
@@ -261,7 +269,7 @@ def get_python_lib(
# Pure Python
libdir = "lib"
implementation = 'pypy' if IS_PYPY else 'python'

View File

@ -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] = "49f7af965996f26d43c8ae34539c8d99c5042fbff34302ea151eaa9c207cd257"
SRC_URI[sha256sum] = "f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c"
DEPENDS += "python3"