From 4a52cb8818a335cd3f1c6d4e99463be9b3e45a55 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 23 Nov 2020 10:39:54 -0500 Subject: [PATCH] python3-wsproto: update to 1.0.0. --- srcpkgs/python3-wsproto/template | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-wsproto/template b/srcpkgs/python3-wsproto/template index 6d2dab99f60..1da34b94340 100644 --- a/srcpkgs/python3-wsproto/template +++ b/srcpkgs/python3-wsproto/template @@ -1,17 +1,23 @@ # Template file for 'python3-wsproto' pkgname=python3-wsproto -version=0.15.0 -revision=4 +version=1.0.0 +revision=1 wrksrc="wsproto-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3 python3-h11" +depends="python3-h11" +checkdepends="tox ${depends}" short_desc="Sans-IO WebSocket protocol implementation (Python3)" maintainer="Orphaned " license="MIT" homepage="https://wsproto.readthedocs.io" -distfiles="https://github.com/python-hyper/wsproto/archive/${version}.tar.gz" -checksum=954e46ac07134d4f67832b17c14164e1771f106b078413e5fb8a2bd2738eb25c +changelog="https://raw.githubusercontent.com/python-hyper/wsproto/master/CHANGELOG.rst" +distfiles="${PYPI_SITE}/w/wsproto/wsproto-${version}.tar.gz" +checksum=868776f8456997ad0d9720f7322b746bbe9193751b5b290b7f924659377c8c38 + +do_check() { + tox -e py${py3_ver/./} +} post_install() { vlicense LICENSE