diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-28 08:39:23 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-01 14:03:49 +0100 |
| commit | faf001f022b02fcf28c18f84873d8018ceb979ea (patch) | |
| tree | c4a65336c87379762fbc750a7dd185c0d2dabafa /meta/recipes-devtools/python/python3-setuptools_57.0.0.bb | |
| parent | 725b711ba3d797524e68306d893932a90b9171d5 (diff) | |
| download | poky-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.bb | 56 |
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 @@ | |||
| 1 | SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/setuptools" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=7a7126e068206290f3fe9f8d6c713ea6" | ||
| 6 | |||
| 7 | inherit pypi setuptools3 | ||
| 8 | |||
| 9 | SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" | ||
| 10 | |||
| 11 | SRC_URI += "file://0001-change-shebang-to-python3.patch \ | ||
| 12 | file://reproducibility.patch" | ||
| 13 | |||
| 14 | SRC_URI[sha256sum] = "401cbf33a7bf817d08014d51560fc003b895c4cdc1a5b521ad2969e928a07535" | ||
| 15 | |||
| 16 | DEPENDS += "${PYTHON_PN}" | ||
| 17 | |||
| 18 | RDEPENDS_${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 | |||
| 40 | do_install_prepend() { | ||
| 41 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | ||
| 42 | } | ||
| 43 | |||
| 44 | BBCLASSEXTEND = "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. | ||
| 49 | PACKAGES =+ "${PYTHON_PN}-pkg-resources " | ||
| 50 | FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" | ||
| 51 | RDEPENDS_${PYTHON_PN}-pkg-resources = "\ | ||
| 52 | ${PYTHON_PN}-compression \ | ||
| 53 | ${PYTHON_PN}-email \ | ||
| 54 | ${PYTHON_PN}-plistlib \ | ||
| 55 | ${PYTHON_PN}-pprint \ | ||
| 56 | " | ||
