From c432daa143d08da7b0b5099c5739e36ef5416a68 Mon Sep 17 00:00:00 2001 From: Paper Date: Sat, 14 Nov 2020 13:18:22 +0100 Subject: [PATCH] python3-websocket-client: update to 0.57.0 --- srcpkgs/python3-websocket-client/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template index 3b634d144a..248adfbf76 100644 --- a/srcpkgs/python3-websocket-client/template +++ b/srcpkgs/python3-websocket-client/template @@ -1,22 +1,29 @@ # Template file for 'python3-websocket-client' pkgname=python3-websocket-client -version=0.56.0 -revision=5 +version=0.57.0 +revision=1 wrksrc="websocket_client-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-six ca-certificates" +checkdepends="python3-pytest python3-six" short_desc="WebSocket client for Python3" maintainer="Sergi Alvarez " license="BSD-3-Clause" homepage="https://github.com/websocket-client/websocket-client" +changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog" distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz" -checksum=1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a +checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py" +do_check() { + python3 -m pytest +} + pre_build() { vsed -i "s|'backports.ssl_match_hostname'||" setup.py } + post_install() { vlicense LICENSE }