2017-09-25 22:51:40 +10:00
|
|
|
# Description: WebSocket client library for Python.
|
|
|
|
# URL: https://github.com/liris/websocket-client
|
2023-07-28 21:50:28 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-08-22 18:17:10 +02:00
|
|
|
# Depends on: python3-six
|
2017-09-25 22:51:40 +10:00
|
|
|
|
|
|
|
name=python3-websocket-client
|
2023-10-08 12:37:50 +02:00
|
|
|
version=1.6.4
|
2017-09-25 22:51:40 +10:00
|
|
|
release=1
|
2021-06-27 20:08:11 +00:00
|
|
|
source=(https://pypi.python.org/packages/source/w/websocket-client/websocket-client-$version.tar.gz)
|
2017-09-25 22:51:40 +10:00
|
|
|
|
|
|
|
build() {
|
2023-07-07 19:01:48 +02:00
|
|
|
cd websocket-client-$version
|
2017-09-25 22:51:40 +10:00
|
|
|
|
2023-07-07 19:01:48 +02:00
|
|
|
sed -i "s/'backports.ssl_match_hostname'//" setup.py
|
2017-09-25 22:51:40 +10:00
|
|
|
|
2023-07-07 19:01:48 +02:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
|
2017-09-25 22:51:40 +10:00
|
|
|
}
|