void-packages/srcpkgs/python3-h2/template

24 lines
694 B
Bash

# Template file for 'python3-h2'
pkgname=python3-h2
version=4.0.0
revision=2
wrksrc="h2-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-hpack python3-hyperframe"
short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/python-hyper/h2"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
post_install() {
vlicense LICENSE
}
python3-hyper-h2_package() {
build_style=meta
short_desc+=" - transitional dummy pkg"
depends="python3-h2>=${version}_${revision}"
}