mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-12 03:28:54 -10:00
Setuptools 82 removed pkg_resources, but older U-Boot Binman versions still use it. Package the standalone PyPA snapshot so these consumers can keep working when setuptools is updated. Add a small setuptools pyproject.toml to build the module from its repository-root layout, and include the license addition proposed upstream. Supply packaging, jaraco.text and platformdirs explicitly, as the standalone module imports all three at runtime. Add a host runtime test covering resource access, dependency resolution and cache lookup. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
18 lines
634 B
Makefile
18 lines
634 B
Makefile
################################################################################
|
|
#
|
|
# python-pkg-resources
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_PKG_RESOURCES_VERSION = 7fa76c17eacf8a67c6932c9c2dd97861f42439cf
|
|
PYTHON_PKG_RESOURCES_SITE = $(call github,pypa,pkg_resources,$(PYTHON_PKG_RESOURCES_VERSION))
|
|
PYTHON_PKG_RESOURCES_SETUP_TYPE = setuptools
|
|
PYTHON_PKG_RESOURCES_LICENSE = MIT
|
|
PYTHON_PKG_RESOURCES_LICENSE_FILES = LICENSE
|
|
HOST_PYTHON_PKG_RESOURCES_DEPENDENCIES = \
|
|
host-python-jaraco-text \
|
|
host-python-packaging \
|
|
host-python-platformdirs
|
|
|
|
$(eval $(host-python-package))
|