python-click: add hostbuild
authorAustin Lane <vidplace7@gmail.com>
Thu, 5 Dec 2024 01:33:33 +0000 (20:33 -0500)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 19 Dec 2024 08:30:47 +0000 (10:30 +0200)
Signed-off-by: Austin Lane <vidplace7@gmail.com>
lang/python/python-click/Makefile

index a0807fa9214965a646262c8e121f4cd79b49f93a..18578aa491ee68ca63210c515fc1b42874f3c3dc 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-click
 PKG_VERSION:=8.1.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PYPI_NAME:=click
 PKG_HASH:=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
@@ -15,9 +15,13 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE.rst
 
+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-click
   SECTION:=lang
@@ -38,3 +42,4 @@ endef
 $(eval $(call Py3Package,python3-click))
 $(eval $(call BuildPackage,python3-click))
 $(eval $(call BuildPackage,python3-click-src))
+$(eval $(call HostBuild))