void-packages/srcpkgs/python3-h2/template

26 lines
829 B
Bash

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