void-packages/srcpkgs/python3-wsproto/template

25 lines
719 B
Bash

# Template file for 'python3-wsproto'
pkgname=python3-wsproto
version=1.0.0
revision=1
wrksrc="wsproto-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-h11"
checkdepends="python3-pytest ${depends}"
short_desc="Sans-IO WebSocket protocol implementation (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wsproto.readthedocs.io"
changelog="https://raw.githubusercontent.com/python-hyper/wsproto/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/w/wsproto/wsproto-${version}.tar.gz"
checksum=868776f8456997ad0d9720f7322b746bbe9193751b5b290b7f924659377c8c38
do_check() {
PYTHONPATH=src python3 -m pytest
}
post_install() {
vlicense LICENSE
}