python-chardet: add hostbuild

Signed-off-by: Austin Lane <vidplace7@gmail.com>
This commit is contained in:
Austin Lane 2024-12-05 00:44:58 -05:00 committed by Alexandru Ardelean
parent 5b058c9949
commit 7db7fd2aea
1 changed files with 6 additions and 1 deletions

View 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))