Files
poky/meta/recipes-devtools/python/python3-setuptools_71.1.0.bb
Wang Mingyu 7b6eeb3ef2 python3-setuptools: upgrade 70.3.0 -> 71.1.0
Changelog:
=============
- Added return types to typed public functions
- Marked Package Discovery and Resource Access using pkg_resources as py.typed
- Removed lingering unused code around Distribution._patched_dist.
- Reset the backports module when enabling vendored packages.
- Include all vendored files in the sdist.
- Restored package data that went missing in 71.0. This change also incidentally
  causes tests to be installed once again.

(From OE-Core rev: ab5ebb1713d0bfac1a7fb8583aa8e4655e24ccd7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00

56 lines
1.7 KiB
BlitzBasic

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;md5=141643e11c48898150daa83802dbc65f"
inherit pypi python_setuptools_build_meta
SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
SRC_URI += " \
file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
SRC_URI[sha256sum] = "032d42ee9fb536e33087fb66cac5f840eb9391ed05637b3f2a76a7c8fb477936"
DEPENDS += "python3"
RDEPENDS:${PN} = "\
python3-compile \
python3-compression \
python3-ctypes \
python3-email \
python3-html \
python3-json \
python3-netserver \
python3-numbers \
python3-pickle \
python3-pkg-resources \
python3-pkgutil \
python3-plistlib \
python3-shell \
python3-stringold \
python3-threading \
python3-unittest \
python3-unixadmin \
python3-xml \
"
BBCLASSEXTEND = "native nativesdk"
# The pkg-resources module can be used by itself, without the package downloader
# and easy_install. Ship it in a separate package so that it can be used by
# minimal distributions.
PACKAGES =+ "python3-pkg-resources "
FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
RDEPENDS:python3-pkg-resources = "\
python3-compression \
python3-email \
python3-plistlib \
python3-pprint \
"
# This used to use the bootstrap install which didn't compile. Until we bump the
# tmpdir version we can't compile the native otherwise the sysroot unpack fails
INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"