From: Alexandru Ardelean Date: Sun, 31 May 2026 08:09:05 +0000 (+0300) Subject: python-pyelftools: add setuptools to host & target build deps X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b5751e57be06011e521fc28b7810b9b90c218627;p=openwrt-packages.git python-pyelftools: add setuptools to host & target build deps pyelftools 0.32 ships a PEP 517 build that requires setuptools as its backend, so -m build fails with "BackendUnavailable: Cannot import 'setuptools.build_meta'" when only build, installer and wheel are staged. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-pyelftools/Makefile b/lang/python/python-pyelftools/Makefile index f9aa0dcd4..36d338abc 100644 --- a/lang/python/python-pyelftools/Makefile +++ b/lang/python/python-pyelftools/Makefile @@ -15,10 +15,13 @@ PKG_MAINTAINER:=Austin Lane PKG_LICENSE:=Unlicense PKG_LICENSE_FILES:=LICENSE +PKG_BUILD_DEPENDS:=python-setuptools/host + HOST_BUILD_DEPENDS:= \ python3/host \ python-build/host \ python-installer/host \ + python-setuptools/host \ python-wheel/host include ../pypi.mk