void-packages/srcpkgs/python3-hyperframe/template

24 lines
657 B
Bash

# Template file for 'python3-hyperframe'
pkgname=python3-hyperframe
version=6.0.1
revision=1
wrksrc=hyperframe-${version}
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Pure-Python HTTP/2 framing (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://python-hyper.org/hyperframe/"
distfiles="https://github.com/python-hyper/hyperframe/archive/v${version}.tar.gz"
checksum=a126e1e0fb24135aa7ac53cefe11ad197d0c9a5e74f495c1236022b1e578a7a8
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest
}
post_install() {
vlicense LICENSE
}