summaryrefslogtreecommitdiff
path: root/python3-websocket-client/Pkgfile
blob: 9f79b9ddd19024f4b8bd6a5ba8bed43589eb6402 (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 # Packager: Danny Rawlins, crux at romster dot me
    5 # Depends on: python3-setuptools
    6 
    7 name=python3-websocket-client
    8 _name=websocket_client
    9 version=0.44.0
   10 release=1
   11 source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/$_name-$version.tar.gz
   12 	use-system-ca.patch)
   13 
   14 build() {
   15 	cd $_name-$version
   16 
   17 	patch -p1 -i $SRC/use-system-ca.patch
   18 	rm websocket/cacert.pem
   19 	sed -i "s/'backports.ssl_match_hostname'//" setup.py
   20 
   21 	/usr/bin/python3 setup.py build
   22 	/usr/bin/python3 setup.py install --root=$PKG --optimize=1
   23 }

Generated by cgit