From: Alexandru Ardelean Date: Fri, 12 Jun 2026 04:22:13 +0000 (+0300) Subject: python-charset-normalizer: add host build X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9c97b73b1a0d056470fcedaf3eea5a866a227724;p=openwrt-packages.git python-charset-normalizer: add host build Add a HostBuild variant so it can be used as a /host build dependency, mirroring python-certifi/idna/urllib3. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-charset-normalizer/Makefile b/lang/python/python-charset-normalizer/Makefile index 220a2f4c6..c6afca53c 100644 --- a/lang/python/python-charset-normalizer/Makefile +++ b/lang/python/python-charset-normalizer/Makefile @@ -19,9 +19,19 @@ PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Alexandru Ardelean +HOST_BUILD_DEPENDS:= \ + python3/host \ + python-build/host \ + python-installer/host \ + python-wheel/host \ + python-setuptools/host +PKG_BUILD_DEPENDS:=python-setuptools/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-charset-normalizer SECTION:=lang @@ -42,3 +52,4 @@ endef $(eval $(call Py3Package,python3-charset-normalizer)) $(eval $(call BuildPackage,python3-charset-normalizer)) $(eval $(call BuildPackage,python3-charset-normalizer-src)) +$(eval $(call HostBuild))