# Created by: Shaun Amott <shaun@FreeBSD.org>

PORTNAME=	h2
PORTVERSION=	4.0.0
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	HTTP/2 State-Machine based protocol implementation

LICENSE=	mit

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hyperframe>=6.0:www/py-hyperframe@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}hpack>=4.0:www/py-hpack@${PY_FLAVOR}

USES?=		python:3.6+
USE_PYTHON=	distutils autoplist

NO_ARCH=	yes

.include <bsd.port.mk>
