From 612da826b0cb6d628fb2329df731ab19167ad28b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 4 Mar 2025 17:09:08 +0800 Subject: python3-setuptools: upgrade 75.8.0 -> 75.8.2 0001-conditionally-do-not-fetch-code-by-easy_install.patch refreshed for 75.8.2 (From OE-Core rev: 7afde38357bb214d3685e84e2db73c26074dd354) Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../python/python3-setuptools_75.8.2.bb | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-setuptools_75.8.2.bb (limited to 'meta/recipes-devtools/python/python3-setuptools_75.8.2.bb') diff --git a/meta/recipes-devtools/python/python3-setuptools_75.8.2.bb b/meta/recipes-devtools/python/python3-setuptools_75.8.2.bb new file mode 100644 index 0000000000..e9e6e9b2b6 --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools_75.8.2.bb @@ -0,0 +1,57 @@ +SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" +HOMEPAGE = "https://pypi.org/project/setuptools" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" + +inherit pypi python_setuptools_build_meta + +CVE_PRODUCT = "python3-setuptools python:setuptools" + +SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" + +SRC_URI += " \ + file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch" + +SRC_URI[sha256sum] = "4880473a969e5f23f2a2be3646b2dfd84af9028716d398e46192f84bc36900d2" + +DEPENDS += "python3" + +RDEPENDS:${PN} = "\ + python3-compile \ + python3-compression \ + python3-ctypes \ + python3-email \ + python3-html \ + python3-json \ + python3-netserver \ + python3-numbers \ + python3-pickle \ + python3-pkg-resources \ + python3-pkgutil \ + python3-plistlib \ + python3-shell \ + python3-stringold \ + python3-threading \ + python3-unittest \ + python3-unixadmin \ + python3-xml \ +" + +BBCLASSEXTEND = "native nativesdk" + +# The pkg-resources module can be used by itself, without the package downloader +# and easy_install. Ship it in a separate package so that it can be used by +# minimal distributions. +PACKAGES =+ "python3-pkg-resources " +FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" +RDEPENDS:python3-pkg-resources = "\ + python3-compression \ + python3-email \ + python3-plistlib \ + python3-pprint \ +" + +# This used to use the bootstrap install which didn't compile. Until we bump the +# tmpdir version we can't compile the native otherwise the sysroot unpack fails +INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode" -- cgit v1.2.3-54-g00ecf