From edf093ff0441798696c8d09f3bb47b10b60acce8 Mon Sep 17 00:00:00 2001 From: Austin Lane Date: Thu, 5 Dec 2024 00:49:19 -0500 Subject: [PATCH] python-requests: add hostbuild Signed-off-by: Austin Lane --- lang/python/python-requests/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lang/python/python-requests/Makefile b/lang/python/python-requests/Makefile index cd961448cc..da8b2560f0 100644 --- a/lang/python/python-requests/Makefile +++ b/lang/python/python-requests/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-requests PKG_VERSION:=2.32.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Josef Schlehofer , Alexandru Ardelean PKG_LICENSE:=Apache-2.0 @@ -19,9 +19,17 @@ PKG_CPE_ID:=cpe:/a:python:requests PYPI_NAME:=requests PKG_HASH:=55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 +HOST_BUILD_DEPENDS:= \ + python-chardet/host \ + python-idna/host \ + python-urllib3/host \ + python-certifi/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-requests SUBMENU:=Python @@ -44,3 +52,4 @@ endef $(eval $(call Py3Package,python3-requests)) $(eval $(call BuildPackage,python3-requests)) $(eval $(call BuildPackage,python3-requests-src)) +$(eval $(call HostBuild)) -- 2.30.2