diff options
| author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2020-08-12 02:36:48 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-13 08:07:00 +0100 |
| commit | a00c64d3200689d353f093da3ff21b685caa1c5e (patch) | |
| tree | 936c3538170ece312ebe49ab9e6a5b46e8211307 /meta/recipes-devtools/python/python3-setuptools_49.3.1.bb | |
| parent | 2976f43c22ed2615c2efe63e4b6676639eab5428 (diff) | |
| download | poky-a00c64d3200689d353f093da3ff21b685caa1c5e.tar.gz | |
python3-setuptools: update to 49.3.1
(From OE-Core rev: a2abc8cfd9aedcd541443d02a8dcc28de711c2ba)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_49.3.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools_49.3.1.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_49.3.1.bb b/meta/recipes-devtools/python/python3-setuptools_49.3.1.bb new file mode 100644 index 0000000000..1c500e4688 --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools_49.3.1.bb | |||
| @@ -0,0 +1,65 @@ | |||
| 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=9a33897f1bca1160d7aad3835152e158" | ||
| 6 | |||
| 7 | PYPI_PACKAGE_EXT = "zip" | ||
| 8 | |||
| 9 | inherit pypi setuptools3 | ||
| 10 | |||
| 11 | SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" | ||
| 12 | |||
| 13 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | ||
| 14 | |||
| 15 | SRC_URI[sha256sum] = "1c7b51fba5d83160d540d18b2bf08fd546357488adf9ddbca08cc1e997bd5c18" | ||
| 16 | |||
| 17 | DEPENDS += "${PYTHON_PN}" | ||
| 18 | |||
| 19 | RDEPENDS_${PN} = "\ | ||
| 20 | ${PYTHON_PN}-2to3 \ | ||
| 21 | ${PYTHON_PN}-compile \ | ||
| 22 | ${PYTHON_PN}-compression \ | ||
| 23 | ${PYTHON_PN}-ctypes \ | ||
| 24 | ${PYTHON_PN}-distutils \ | ||
| 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}-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 | do_install_append() { | ||
| 45 | mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install | ||
| 46 | } | ||
| 47 | |||
| 48 | BBCLASSEXTEND = "native nativesdk" | ||
| 49 | |||
| 50 | # The pkg-resources module can be used by itself, without the package downloader | ||
| 51 | # and easy_install. Ship it in a separate package so that it can be used by | ||
| 52 | # minimal distributions. | ||
| 53 | PACKAGES =+ "${PYTHON_PN}-pkg-resources " | ||
| 54 | FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" | ||
| 55 | RDEPENDS_${PYTHON_PN}-pkg-resources = "\ | ||
| 56 | ${PYTHON_PN}-compression \ | ||
| 57 | ${PYTHON_PN}-email \ | ||
| 58 | ${PYTHON_PN}-plistlib \ | ||
| 59 | ${PYTHON_PN}-pprint \ | ||
| 60 | " | ||
| 61 | # Due to the way OE-Core implemented native recipes, the native class cannot | ||
| 62 | # have a dependency on something that is not a recipe name. Work around that by | ||
| 63 | # manually setting RPROVIDES. | ||
| 64 | RDEPENDS_${PN}_append = " ${PYTHON_PN}-pkg-resources" | ||
| 65 | RPROVIDES_append_class-native = " ${PYTHON_PN}-pkg-resources-native" | ||
