mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
python-requests: add hostbuild
Signed-off-by: Austin Lane <vidplace7@gmail.com>
This commit is contained in:
committed by
Alexandru Ardelean
parent
2594fc3e2e
commit
edf093ff04
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=python-requests
|
PKG_NAME:=python-requests
|
||||||
PKG_VERSION:=2.32.3
|
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_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||||
PKG_LICENSE:=Apache-2.0
|
PKG_LICENSE:=Apache-2.0
|
||||||
@@ -19,9 +19,17 @@ PKG_CPE_ID:=cpe:/a:python:requests
|
|||||||
PYPI_NAME:=requests
|
PYPI_NAME:=requests
|
||||||
PKG_HASH:=55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760
|
PKG_HASH:=55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760
|
||||||
|
|
||||||
|
HOST_BUILD_DEPENDS:= \
|
||||||
|
python-chardet/host \
|
||||||
|
python-idna/host \
|
||||||
|
python-urllib3/host \
|
||||||
|
python-certifi/host
|
||||||
|
|
||||||
include ../pypi.mk
|
include ../pypi.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
include ../python3-package.mk
|
include ../python3-package.mk
|
||||||
|
include ../python3-host-build.mk
|
||||||
|
|
||||||
define Package/python3-requests
|
define Package/python3-requests
|
||||||
SUBMENU:=Python
|
SUBMENU:=Python
|
||||||
@@ -44,3 +52,4 @@ endef
|
|||||||
$(eval $(call Py3Package,python3-requests))
|
$(eval $(call Py3Package,python3-requests))
|
||||||
$(eval $(call BuildPackage,python3-requests))
|
$(eval $(call BuildPackage,python3-requests))
|
||||||
$(eval $(call BuildPackage,python3-requests-src))
|
$(eval $(call BuildPackage,python3-requests-src))
|
||||||
|
$(eval $(call HostBuild))
|
||||||
|
|||||||
Reference in New Issue
Block a user