void-packages/srcpkgs/python3-websocket-client/template

23 lines
743 B
Bash

# Template file for 'python3-websocket-client'
pkgname=python3-websocket-client
version=0.56.0
revision=5
wrksrc="websocket_client-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-six ca-certificates"
short_desc="WebSocket client for Python3"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
license="BSD-3-Clause"
homepage="https://github.com/websocket-client/websocket-client"
distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
checksum=1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a
alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
pre_build() {
vsed -i "s|'backports.ssl_match_hostname'||" setup.py
}
post_install() {
vlicense LICENSE
}