From 9c97b73b1a0d056470fcedaf3eea5a866a227724 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Fri, 12 Jun 2026 07:22:13 +0300 Subject: [PATCH] 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 --- lang/python/python-charset-normalizer/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lang/python/python-charset-normalizer/Makefile b/lang/python/python-charset-normalizer/Makefile index 220a2f4c62..c6afca53c8 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))