From: Alexandru Ardelean Date: Fri, 7 Nov 2025 10:23:24 +0000 (+0200) Subject: python-setuptools: add host-build X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=e3a1f5b0b92689b4b40e9dfed2f8fce4c779f181;p=feed%2Fpackages.git python-setuptools: add host-build Newer Python 3 versions don't ship setuptools anymore. Packages will need to use this one instead. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-setuptools/Makefile b/lang/python/python-setuptools/Makefile index b4a00633d3..d3261935c4 100644 --- a/lang/python/python-setuptools/Makefile +++ b/lang/python/python-setuptools/Makefile @@ -19,9 +19,18 @@ PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Jeffery To CPE_ID:=cpe:/a:python:setuptools +HOST_BUILD_DEPENDS:= \ + python3/host \ + python-build/host \ + python-installer/host \ + python-wheel/host \ + python-packaging/host + include ../pypi.mk include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk include ../python3-package.mk +include ../python3-host-build.mk define Package/python3-setuptools/Default SECTION:=lang @@ -80,3 +89,5 @@ $(eval $(call BuildPackage,python3-setuptools)) $(eval $(call BuildPackage,python3-pkg-resources-src)) $(eval $(call BuildPackage,python3-setuptools-src)) + +$(eval $(call HostBuild))