summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-05-18 12:57:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-20 22:52:22 +0100
commit6343a4168482183ac6b73a3e7045ef5b55df0e8e (patch)
tree4d8233cb1839dd4d48c110c213cd6df758a3e99c /meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
parentff5bead3bc13a9bf534f722ff24d6d93696a2284 (diff)
downloadpoky-6343a4168482183ac6b73a3e7045ef5b55df0e8e.tar.gz
python3-setuptools: upgrade 59.5.0 -> 62.3.1
This was held by numpy rejecting setuptools >= 60.x, however it got a workaround in recent point releases and so the upgrade can proceed. Drop 0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch as changed code completely removed upstream. Replicate another distutils/sysconfig.py fix from python recipe via 0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch Add a tomli build dependency to python3-setuptools-scm as new setuptools exposes: | File "/srv/work/alex/poky/build-64-alt/tmp/work/x86_64-linux/python3-setuptools-scm-native/6.4.2-r0/setuptools_scm-6.4.2/src/setuptools_scm/config.py", line 59, in _lazy_tomli_load | from tomli import loads | ModuleNotFoundError: No module named 'tomli' (From OE-Core rev: 0907866325fbfb5774e1a3f0ba0cf110d9b9b663) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_59.5.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_59.5.0.bb57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb b/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
deleted file mode 100644
index f2810e18d3..0000000000
--- a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
+++ /dev/null
@@ -1,57 +0,0 @@
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;beginline=1;endline=19;md5=7a7126e068206290f3fe9f8d6c713ea6"
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-change-shebang-to-python3.patch \
13 file://0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch \
14"
15
16SRC_URI[sha256sum] = "d144f85102f999444d06f9c0e8c737fd0194f10f2f7e5fdb77573f6e2fa4fad0"
17
18DEPENDS += "${PYTHON_PN}"
19
20RDEPENDS:${PN} = "\
21 ${PYTHON_PN}-2to3 \
22 ${PYTHON_PN}-compile \
23 ${PYTHON_PN}-compression \
24 ${PYTHON_PN}-ctypes \
25 ${PYTHON_PN}-email \
26 ${PYTHON_PN}-html \
27 ${PYTHON_PN}-json \
28 ${PYTHON_PN}-netserver \
29 ${PYTHON_PN}-numbers \
30 ${PYTHON_PN}-pickle \
31 ${PYTHON_PN}-pkg-resources \
32 ${PYTHON_PN}-pkgutil \
33 ${PYTHON_PN}-plistlib \
34 ${PYTHON_PN}-shell \
35 ${PYTHON_PN}-stringold \
36 ${PYTHON_PN}-threading \
37 ${PYTHON_PN}-unittest \
38 ${PYTHON_PN}-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 =+ "${PYTHON_PN}-pkg-resources "
47FILES:${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
48RDEPENDS:${PYTHON_PN}-pkg-resources = "\
49 ${PYTHON_PN}-compression \
50 ${PYTHON_PN}-email \
51 ${PYTHON_PN}-plistlib \
52 ${PYTHON_PN}-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"