mirror of
https://github.com/openwrt/packages.git
synced 2025-12-18 08:31:19 +00:00
python-requests: add hostbuild
Signed-off-by: Austin Lane <vidplace7@gmail.com>
(cherry picked from commit edf093ff04)
This commit is contained in:
committed by
Josef Schlehofer
parent
d0b8fe2731
commit
32083d152c
@@ -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 <pepe.schlehofer@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||
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))
|
||||
|
||||
Reference in New Issue
Block a user