python-websocket-client: install LICENSE

The package has been relicensed to BSD-3-Clause.
This commit is contained in:
Alessio Sergi 2018-11-03 19:40:10 +01:00
parent 4e66f88cfe
commit 51b6fc0750
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-websocket-client'
pkgname=python-websocket-client
version=0.54.0
revision=1
revision=2
noarch=yes
wrksrc="websocket_client-${version}"
build_style=python-module
@ -19,6 +19,9 @@ alternatives="websocket-client:wsdump:/usr/bin/wsdump.py2"
pre_build() {
sed -i "s|'backports.ssl_match_hostname'||" setup.py
}
post_install() {
vlicense LICENSE
}
python3-websocket-client_package() {
noarch=yes
@ -29,5 +32,6 @@ python3-websocket-client_package() {
pkg_install() {
vmove usr/bin/wsdump.py3
vmove usr/lib/python3*
vlicense LICENSE
}
}