]> git.99rst.org Git - openwrt-packages.git/commitdiff
python-charset-normalizer: add host build
authorAlexandru Ardelean <redacted>
Fri, 12 Jun 2026 04:22:13 +0000 (07:22 +0300)
committerJosef Schlehofer <redacted>
Fri, 12 Jun 2026 10:26:50 +0000 (12:26 +0200)
Add a HostBuild variant so it can be used as a /host build dependency,
mirroring python-certifi/idna/urllib3.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-charset-normalizer/Makefile

index 220a2f4c6241de15fe84da14823378b4f48e8b18..c6afca53c890f4a3ee7d743713fac756f118c1f7 100644 (file)
@@ -19,9 +19,19 @@ PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 
+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))
git clone https://git.99rst.org/PROJECT