python-chardet: add hostbuild
authorAustin Lane <vidplace7@gmail.com>
Thu, 5 Dec 2024 05:44:58 +0000 (00:44 -0500)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 9 Dec 2024 08:56:30 +0000 (10:56 +0200)
Signed-off-by: Austin Lane <vidplace7@gmail.com>
lang/python/python-chardet/Makefile

index 8f9703cd5fea2622e278d513b916e13e8784ef9f..c2d6b5f9a994a77762fc1861d3825c01f7ec20d2 100644 (file)
@@ -9,15 +9,19 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-chardet
 PKG_VERSION:=5.2.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_LICENSE:=LGPL-2.1
 
 PYPI_NAME:=chardet
 PKG_HASH:=1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7
 
+HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/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-chardet
   SUBMENU:=Python
@@ -45,3 +49,4 @@ endef
 $(eval $(call Py3Package,python3-chardet))
 $(eval $(call BuildPackage,python3-chardet))
 $(eval $(call BuildPackage,python3-chardet-src))
+$(eval $(call HostBuild))