summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_68.1.2.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-08-31 10:47:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-02 18:23:06 +0100
commit372321ca4bad8329baafb52a5003faa39a16ea73 (patch)
treeb1bc5d1dc70f4986c4c18a4bb645078d3ed0f916 /meta/recipes-devtools/python/python3-setuptools_68.1.2.bb
parent1189a846e4bd6785cd04a6a7745c7acfb78335b1 (diff)
downloadpoky-372321ca4bad8329baafb52a5003faa39a16ea73.tar.gz
python3-setuptools: upgrade 68.1.0 -> 68.1.2
0001-conditionally-do-not-fetch-code-by-easy_install.patch refreshed for new version. Changelog: -Fix editable install finder handling of nested packages, by only handling 1 level of nesting and relying on importlib.machinery to find the remaining modules based on the parent package path. (From OE-Core rev: 27d3e5bc7ea949c4e7691674617cf29c80b3035f) 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_68.1.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_68.1.2.bb55
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_68.1.2.bb b/meta/recipes-devtools/python/python3-setuptools_68.1.2.bb
new file mode 100644
index 0000000000..a1e84b635c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_68.1.2.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] = "3d4dfa6d95f1b101d695a6160a7626e15583af71a5f52176efa5d39a054d475d"
15
16DEPENDS += "${PYTHON_PN}"
17
18RDEPENDS:${PN} = "\
19 ${PYTHON_PN}-2to3 \
20 ${PYTHON_PN}-compile \
21 ${PYTHON_PN}-compression \
22 ${PYTHON_PN}-ctypes \
23 ${PYTHON_PN}-email \
24 ${PYTHON_PN}-html \
25 ${PYTHON_PN}-json \
26 ${PYTHON_PN}-netserver \
27 ${PYTHON_PN}-numbers \
28 ${PYTHON_PN}-pickle \
29 ${PYTHON_PN}-pkg-resources \
30 ${PYTHON_PN}-pkgutil \
31 ${PYTHON_PN}-plistlib \
32 ${PYTHON_PN}-shell \
33 ${PYTHON_PN}-stringold \
34 ${PYTHON_PN}-threading \
35 ${PYTHON_PN}-unittest \
36 ${PYTHON_PN}-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 =+ "${PYTHON_PN}-pkg-resources "
45FILES:${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
46RDEPENDS:${PYTHON_PN}-pkg-resources = "\
47 ${PYTHON_PN}-compression \
48 ${PYTHON_PN}-email \
49 ${PYTHON_PN}-plistlib \
50 ${PYTHON_PN}-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"