2017-09-25 14:51:40 +02:00
|
|
|
# Description: WebSocket client library for Python.
|
|
|
|
# URL: https://github.com/liris/websocket-client
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2019-05-21 15:46:16 +02:00
|
|
|
# Depends on: python3-setuptools python3-six
|
2017-09-25 14:51:40 +02:00
|
|
|
|
|
|
|
name=python3-websocket-client
|
2022-09-17 08:53:54 +02:00
|
|
|
version=1.4.1
|
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() {
|
2021-06-27 22:08:11 +02:00
|
|
|
cd websocket-client-$version
|
2017-09-25 14:51:40 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|