contrib/python3-websocket-client/Pkgfile
2018-11-10 23:05:18 +11:00

20 lines
531 B
Plaintext

# Description: WebSocket client library for Python.
# URL: https://github.com/liris/websocket-client
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
name=python3-websocket-client
_name=websocket_client
version=0.54.0
release=1
source=(https://pypi.io/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
build() {
cd $_name-$version
sed -i "s/'backports.ssl_match_hostname'//" setup.py
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
}