summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_75.6.0.bb
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2024-11-21 11:16:20 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-22 16:58:40 +0000
commit86cd39e304b1ee23dba3cbf676ed1bbb488ac6ce (patch)
tree592245ec9d0d5c1779125d990ee773d83e4a31d3 /meta/recipes-devtools/python/python3-setuptools_75.6.0.bb
parentea8594d4a0bf2e6f52372689b80fc00ce9cc7243 (diff)
downloadpoky-86cd39e304b1ee23dba3cbf676ed1bbb488ac6ce.tar.gz
python3-setuptools: upgrade 72.1.0 -> 75.6.0
Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst 0001-conditionally-do-not-fetch-code-by-easy_install.patch had to be adjusted to apply on top of 75.6.0. (From OE-Core rev: 6d7e621ef133d625e8405c74a9dba712b8692064) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_75.6.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_75.6.0.bb57
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_75.6.0.bb b/meta/recipes-devtools/python/python3-setuptools_75.6.0.bb
new file mode 100644
index 0000000000..c0e4b7031d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_75.6.0.bb
@@ -0,0 +1,57 @@
1SUMMARY = "Download, build, install, upgrade, and uninstall Python packages"
2HOMEPAGE = "https://pypi.org/project/setuptools"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
6
7inherit pypi python_setuptools_build_meta
8
9CVE_PRODUCT = "python3-setuptools python:setuptools"
10
11SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
12
13SRC_URI += " \
14 file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
15
16SRC_URI[sha256sum] = "8199222558df7c86216af4f84c30e9b34a61d8ba19366cc914424cdbd28252f6"
17
18DEPENDS += "python3"
19
20RDEPENDS:${PN} = "\
21 python3-compile \
22 python3-compression \
23 python3-ctypes \
24 python3-email \
25 python3-html \
26 python3-json \
27 python3-netserver \
28 python3-numbers \
29 python3-pickle \
30 python3-pkg-resources \
31 python3-pkgutil \
32 python3-plistlib \
33 python3-shell \
34 python3-stringold \
35 python3-threading \
36 python3-unittest \
37 python3-unixadmin \
38 python3-xml \
39"
40
41BBCLASSEXTEND = "native nativesdk"
42
43# The pkg-resources module can be used by itself, without the package downloader
44# and easy_install. Ship it in a separate package so that it can be used by
45# minimal distributions.
46PACKAGES =+ "python3-pkg-resources "
47FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
48RDEPENDS:python3-pkg-resources = "\
49 python3-compression \
50 python3-email \
51 python3-plistlib \
52 python3-pprint \
53"
54
55# This used to use the bootstrap install which didn't compile. Until we bump the
56# tmpdir version we can't compile the native otherwise the sysroot unpack fails
57INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"