python-websocket-client: install LICENSE
The package has been relicensed to BSD-3-Clause.
This commit is contained in:
parent
4e66f88cfe
commit
51b6fc0750
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-websocket-client'
|
# Template file for 'python-websocket-client'
|
||||||
pkgname=python-websocket-client
|
pkgname=python-websocket-client
|
||||||
version=0.54.0
|
version=0.54.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="websocket_client-${version}"
|
wrksrc="websocket_client-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -19,6 +19,9 @@ alternatives="websocket-client:wsdump:/usr/bin/wsdump.py2"
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i "s|'backports.ssl_match_hostname'||" setup.py
|
sed -i "s|'backports.ssl_match_hostname'||" setup.py
|
||||||
}
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-websocket-client_package() {
|
python3-websocket-client_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
@ -29,5 +32,6 @@ python3-websocket-client_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/wsdump.py3
|
vmove usr/bin/wsdump.py3
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue