Skip to content

Commit

Permalink
python-requests: add hostbuild
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Lane <[email protected]>
  • Loading branch information
vidplace7 committed Dec 12, 2024
1 parent ebdfa71 commit 6df94eb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lang/python/python-requests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>, Alexandru Ardelean <[email protected]>
PKG_LICENSE:=Apache-2.0
Expand All @@ -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
Expand All @@ -44,3 +52,4 @@ endef
$(eval $(call Py3Package,python3-requests))
$(eval $(call BuildPackage,python3-requests))
$(eval $(call BuildPackage,python3-requests-src))
$(eval $(call HostBuild))

0 comments on commit 6df94eb

Please sign in to comment.