summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_57.0.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-28 08:39:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-01 14:03:49 +0100
commitfaf001f022b02fcf28c18f84873d8018ceb979ea (patch)
treec4a65336c87379762fbc750a7dd185c0d2dabafa /meta/recipes-devtools/python/python3-setuptools_57.0.0.bb
parent725b711ba3d797524e68306d893932a90b9171d5 (diff)
downloadpoky-faf001f022b02fcf28c18f84873d8018ceb979ea.tar.gz
python3-setuptools: upgrade 56.2.0 -> 57.0.0
Add a patch to fix a reproducibility issue in the new version. (From OE-Core rev: ea6fffe4f07cfd105f861ad0d2dc7c7605bf9e64) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_57.0.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_57.0.0.bb56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_57.0.0.bb b/meta/recipes-devtools/python/python3-setuptools_57.0.0.bb
new file mode 100644
index 0000000000..a15b51e31c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_57.0.0.bb
@@ -0,0 +1,56 @@
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 += "file://0001-change-shebang-to-python3.patch \
12 file://reproducibility.patch"
13
14SRC_URI[sha256sum] = "401cbf33a7bf817d08014d51560fc003b895c4cdc1a5b521ad2969e928a07535"
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}-distutils \
24 ${PYTHON_PN}-email \
25 ${PYTHON_PN}-html \
26 ${PYTHON_PN}-json \
27 ${PYTHON_PN}-netserver \
28 ${PYTHON_PN}-numbers \
29 ${PYTHON_PN}-pickle \
30 ${PYTHON_PN}-pkg-resources \
31 ${PYTHON_PN}-pkgutil \
32 ${PYTHON_PN}-plistlib \
33 ${PYTHON_PN}-shell \
34 ${PYTHON_PN}-stringold \
35 ${PYTHON_PN}-threading \
36 ${PYTHON_PN}-unittest \
37 ${PYTHON_PN}-xml \
38"
39
40do_install_prepend() {
41 install -d ${D}${PYTHON_SITEPACKAGES_DIR}
42}
43
44BBCLASSEXTEND = "native nativesdk"
45
46# The pkg-resources module can be used by itself, without the package downloader
47# and easy_install. Ship it in a separate package so that it can be used by
48# minimal distributions.
49PACKAGES =+ "${PYTHON_PN}-pkg-resources "
50FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
51RDEPENDS_${PYTHON_PN}-pkg-resources = "\
52 ${PYTHON_PN}-compression \
53 ${PYTHON_PN}-email \
54 ${PYTHON_PN}-plistlib \
55 ${PYTHON_PN}-pprint \
56"