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
Next Next commit
python-chardet: add hostbuild
Signed-off-by: Austin Lane <vidplace7@gmail.com>
vidplace7 committed Dec 14, 2024
commit 4330b861647dfa42874020d30cecae58e5234631
7 changes: 6 additions & 1 deletion lang/python/python-chardet/Makefile
Original file line number Diff line number Diff line change
@@ -9,15 +9,19 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=python-chardet
PKG_VERSION:=5.2.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=LGPL-2.1

PYPI_NAME:=chardet
PKG_HASH:=1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7

HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/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-chardet
SUBMENU:=Python
@@ -45,3 +49,4 @@ endef
$(eval $(call Py3Package,python3-chardet))
$(eval $(call BuildPackage,python3-chardet))
$(eval $(call BuildPackage,python3-chardet-src))
$(eval $(call HostBuild))