python-pyelftools: add setuptools to host & target build deps
authorAlexandru Ardelean <redacted>
Sun, 31 May 2026 08:09:05 +0000 (11:09 +0300)
committerAlexandru Ardelean <redacted>
Tue, 2 Jun 2026 11:42:30 +0000 (14:42 +0300)
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 <redacted>
lang/python/python-pyelftools/Makefile

index f9aa0dcd4f43a7f0eac44f71020d23be37e13ce7..36d338abccde95c556da4e2d14bf05ce2d152894 100644 (file)
@@ -15,10 +15,13 @@ PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>
 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
git clone https://git.99rst.org/PROJECT