Files
packages/lang/python/python-h11/Makefile
T
George Sapkin 288d8e8942 python-h11: fix host build
Add missing includes.

Fixes: 0a75ad1e ("python-h11: add host package")
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-13 23:02:33 +03:00

44 lines
1.1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=python-h11
PKG_VERSION:=0.16.0
PKG_RELEASE:=1
PYPI_NAME:=h11
PYPI_SOURCE_NAME:=h11
PKG_HASH:=4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
HOST_BUILD_DEPENDS:=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-h11
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
URL:=https://github.com/python-hyper/h11
DEPENDS:= \
+python3-light
endef
define Package/python3-h11/description
A pure-Python, bring-your-own-I/O implementation of HTTP/1.1.
endef
$(eval $(call Py3Package,python3-h11))
$(eval $(call BuildPackage,python3-h11))
$(eval $(call BuildPackage,python3-h11-src))
$(eval $(call HostBuild))