mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
17 lines
442 B
Plaintext
17 lines
442 B
Plaintext
# description : WebSocket client library for Python
|
|
# depends : python3-six python3-setuptools
|
|
|
|
name=python3-websocket-client
|
|
version=0.58.0
|
|
release=1
|
|
source="$name-$version.tar.gz::https://pypi.io/packages/source/w/websocket-client/websocket_client-$version.tar.gz"
|
|
|
|
build() {
|
|
cd websocket_client-$version
|
|
|
|
sed -i "s/'backports.ssl_match_hostname'//" setup.py
|
|
|
|
python3 setup.py build
|
|
python3 setup.py install --root=$PKG --optimize=1
|
|
}
|