summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_71.1.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-07-29 09:09:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-03 07:47:36 +0100
commit7b6eeb3ef2466c176ebde57212e2ad42ef2675da (patch)
tree00634586ac62e8a486af092d86f882400c1db4bb /meta/recipes-devtools/python/python3-setuptools_71.1.0.bb
parente861a444452485445bab5d5a3046424f70a2c65d (diff)
downloadpoky-7b6eeb3ef2466c176ebde57212e2ad42ef2675da.tar.gz
python3-setuptools: upgrade 70.3.0 -> 71.1.0
Changelog: ============= - Added return types to typed public functions - Marked Package Discovery and Resource Access using pkg_resources as py.typed - Removed lingering unused code around Distribution._patched_dist. - Reset the backports module when enabling vendored packages. - Include all vendored files in the sdist. - Restored package data that went missing in 71.0. This change also incidentally causes tests to be installed once again. (From OE-Core rev: ab5ebb1713d0bfac1a7fb8583aa8e4655e24ccd7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_71.1.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_71.1.0.bb55
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_71.1.0.bb b/meta/recipes-devtools/python/python3-setuptools_71.1.0.bb
new file mode 100644
index 0000000000..9503c36bb6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_71.1.0.bb
@@ -0,0 +1,55 @@
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
9SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
10
11SRC_URI += " \
12 file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
13
14SRC_URI[sha256sum] = "032d42ee9fb536e33087fb66cac5f840eb9391ed05637b3f2a76a7c8fb477936"
15
16DEPENDS += "python3"
17
18RDEPENDS:${PN} = "\
19 python3-compile \
20 python3-compression \
21 python3-ctypes \
22 python3-email \
23 python3-html \
24 python3-json \
25 python3-netserver \
26 python3-numbers \
27 python3-pickle \
28 python3-pkg-resources \
29 python3-pkgutil \
30 python3-plistlib \
31 python3-shell \
32 python3-stringold \
33 python3-threading \
34 python3-unittest \
35 python3-unixadmin \
36 python3-xml \
37"
38
39BBCLASSEXTEND = "native nativesdk"
40
41# The pkg-resources module can be used by itself, without the package downloader
42# and easy_install. Ship it in a separate package so that it can be used by
43# minimal distributions.
44PACKAGES =+ "python3-pkg-resources "
45FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
46RDEPENDS:python3-pkg-resources = "\
47 python3-compression \
48 python3-email \
49 python3-plistlib \
50 python3-pprint \
51"
52
53# This used to use the bootstrap install which didn't compile. Until we bump the
54# tmpdir version we can't compile the native otherwise the sysroot unpack fails
55INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"