python3-websocket-client: update to 1.2.1.

This commit is contained in:
Michal Vasilek 2021-06-14 18:16:04 +02:00
parent 6747df239d
commit 3c08e416ab
2 changed files with 8 additions and 20 deletions

View file

@ -1,29 +1,18 @@
# Template file for 'python3-websocket-client'
pkgname=python3-websocket-client
version=0.57.0
version=1.2.1
revision=1
wrksrc="websocket_client-${version}"
wrksrc="websocket-client-${version}"
build_style=python3-module
make_check_target="websocket/tests"
hostmakedepends="python3-setuptools"
depends="python3-six ca-certificates"
checkdepends="python3-pytest python3-six"
depends="ca-certificates"
checkdepends="python3-pytest"
short_desc="WebSocket client for Python3"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
license="BSD-3-Clause"
license="Apache-2.0"
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=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
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
}

View file

@ -1 +0,0 @@
pkgname=websocket_client