Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24.10] python-requests (and deps): add hostbuild #25542

Open
wants to merge 5 commits into
base: openwrt-24.10
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
python-requests: add hostbuild
Signed-off-by: Austin Lane <vidplace7@gmail.com>
  • Loading branch information
vidplace7 committed Dec 14, 2024
commit c5d5f28d1e3713b57b04432d16949a598b184bc5
11 changes: 10 additions & 1 deletion lang/python/python-requests/Makefile
Original file line number Diff line number Diff line change
@@ -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))