python-urllib3: add hostbuild
authorAustin Lane <vidplace7@gmail.com>
Thu, 5 Dec 2024 05:27:45 +0000 (00:27 -0500)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 9 Dec 2024 09:29:28 +0000 (11:29 +0200)
Signed-off-by: Austin Lane <vidplace7@gmail.com>
lang/python/python-urllib3/Makefile

index 323e7cda293e3d9d3d8d6f96f75361029513b52e..a2739c47bade1d4e8aeca521add0909ffc414ec1 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-urllib3
 PKG_VERSION:=2.0.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
 PKG_LICENSE:=MIT
@@ -20,10 +20,13 @@ PYPI_NAME:=urllib3
 PKG_HASH:=8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11
 
 PKG_BUILD_DEPENDS:=python-hatchling/host
+HOST_BUILD_DEPENDS:=python-hatchling/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-urllib3
   SUBMENU:=Python
@@ -41,3 +44,4 @@ endef
 $(eval $(call Py3Package,python3-urllib3))
 $(eval $(call BuildPackage,python3-urllib3))
 $(eval $(call BuildPackage,python3-urllib3-src))
+$(eval $(call HostBuild))