summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_59.4.0.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-12-08 22:59:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-09 10:33:26 +0000
commitd60dadd8471d0b136bcfba12e67bc548e620e8bf (patch)
treea3aa41a0352ffad0da3a3a0772aa93bf99277949 /meta/recipes-devtools/python/python3-setuptools_59.4.0.bb
parentdd91be136438459b48a6a901bc0086cd28209fee (diff)
downloadpoky-d60dadd8471d0b136bcfba12e67bc548e620e8bf.tar.gz
python3-setuptools: upgrade 59.2.0 -> 59.4.0
(From OE-Core rev: 4c549f4aaf548fcc494ffdb3936b447a545d4624) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_59.4.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_59.4.0.bb58
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_59.4.0.bb b/meta/recipes-devtools/python/python3-setuptools_59.4.0.bb
new file mode 100644
index 0000000000..5ae076a165
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_59.4.0.bb
@@ -0,0 +1,58 @@
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 setuptools3
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] = "b4c634615a0cf5b02cf83c7bedffc8da0ca439f00e79452699454da6fbd4153d"
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}-distutils \
26 ${PYTHON_PN}-email \
27 ${PYTHON_PN}-html \
28 ${PYTHON_PN}-json \
29 ${PYTHON_PN}-netserver \
30 ${PYTHON_PN}-numbers \
31 ${PYTHON_PN}-pickle \
32 ${PYTHON_PN}-pkg-resources \
33 ${PYTHON_PN}-pkgutil \
34 ${PYTHON_PN}-plistlib \
35 ${PYTHON_PN}-shell \
36 ${PYTHON_PN}-stringold \
37 ${PYTHON_PN}-threading \
38 ${PYTHON_PN}-unittest \
39 ${PYTHON_PN}-xml \
40"
41
42do_install:prepend() {
43 install -d ${D}${PYTHON_SITEPACKAGES_DIR}
44}
45
46BBCLASSEXTEND = "native nativesdk"
47
48# The pkg-resources module can be used by itself, without the package downloader
49# and easy_install. Ship it in a separate package so that it can be used by
50# minimal distributions.
51PACKAGES =+ "${PYTHON_PN}-pkg-resources "
52FILES:${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
53RDEPENDS:${PYTHON_PN}-pkg-resources = "\
54 ${PYTHON_PN}-compression \
55 ${PYTHON_PN}-email \
56 ${PYTHON_PN}-plistlib \
57 ${PYTHON_PN}-pprint \
58"