blob: ee3c5244f92d253636fe1caaa0282042c0cde867 (
plain)
1 # Description: WebSocket client library for Python.
2 # URL: https://github.com/liris/websocket-client
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: python3-setuptools
5
6 name=python3-websocket-client
7 _name=websocket_client
8 version=0.51.0
9 release=1
10 source=(https://pypi.io/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
11
12 build() {
13 cd $_name-$version
14
15 sed -i "s/'backports.ssl_match_hostname'//" setup.py
16
17 /usr/bin/python3 setup.py build
18 /usr/bin/python3 setup.py install --root=$PKG --optimize=1
19 }
|