python3-setuptools: update 51.0.0 -> 52.0.0

easy_install script removed upstream:
https://github.com/pypa/setuptools/blob/v52.0.0/CHANGES.rst

Tarballs are now provided instead of zip files.

License-Update: formatting

(From OE-Core rev: 131105f94c8de1f087e8bd6e3e76a5c38962ae7d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-02-08 11:59:23 +01:00
committed by Richard Purdie
parent cdd670b3cf
commit 612c8b8b12

View File

@@ -2,9 +2,7 @@ SUMMARY = "Download, build, install, upgrade, and uninstall Python packages"
HOMEPAGE = "https://pypi.org/project/setuptools"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158"
PYPI_PACKAGE_EXT = "zip"
LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=7a7126e068206290f3fe9f8d6c713ea6"
inherit pypi setuptools3
@@ -12,7 +10,7 @@ SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-e
SRC_URI += "file://0001-change-shebang-to-python3.patch"
SRC_URI[sha256sum] = "029c49fd713e9230f6a41c0298e6e1f5839f2cde7104c0ad5e053a37777e7688"
SRC_URI[sha256sum] = "fb3a1ee622509550dbf1d419f241296169d7f09cb1eb5b1736f2f10965932b96"
DEPENDS += "${PYTHON_PN}"
@@ -42,10 +40,6 @@ do_install_prepend() {
install -d ${D}${PYTHON_SITEPACKAGES_DIR}
}
do_install_append() {
mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
}
BBCLASSEXTEND = "native nativesdk"
# The pkg-resources module can be used by itself, without the package downloader