2017-09-25 14:51:40 +02: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 14:51:40 +02:00
|
|
|
|
|
|
|
name=python3-websocket-client
|
2023-08-22 18:17:10 +02:00
|
|
|
version=1.6.2
|
2017-09-25 14:51:40 +02:00
|
|
|
release=1
|
2021-06-27 22:08:11 +02:00
|
|
|
source=(https://pypi.python.org/packages/source/w/websocket-client/websocket-client-$version.tar.gz)
|
2017-09-25 14:51:40 +02:00
|
|
|
|
|
|
|
build() {
|
2023-07-07 19:01:48 +02:00
|
|
|
cd websocket-client-$version
|
2017-09-25 14:51:40 +02:00
|
|
|
|
2023-07-07 19:01:48 +02:00
|
|
|
sed -i "s/'backports.ssl_match_hostname'//" setup.py
|
2017-09-25 14:51:40 +02: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 14:51:40 +02:00
|
|
|
}
|