mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 12:40:06 +04:00
python-charset-normalizer: add host build
Add a HostBuild variant so it can be used as a /host build dependency, mirroring python-certifi/idna/urllib3. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Josef Schlehofer
parent
81b237d43a
commit
9c97b73b1a
@@ -19,9 +19,19 @@ PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||
|
||||
HOST_BUILD_DEPENDS:= \
|
||||
python3/host \
|
||||
python-build/host \
|
||||
python-installer/host \
|
||||
python-wheel/host \
|
||||
python-setuptools/host
|
||||
PKG_BUILD_DEPENDS:=python-setuptools/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-charset-normalizer
|
||||
SECTION:=lang
|
||||
@@ -42,3 +52,4 @@ endef
|
||||
$(eval $(call Py3Package,python3-charset-normalizer))
|
||||
$(eval $(call BuildPackage,python3-charset-normalizer))
|
||||
$(eval $(call BuildPackage,python3-charset-normalizer-src))
|
||||
$(eval $(call HostBuild))
|
||||
|
||||
Reference in New Issue
Block a user