SUMMARY="WebSocket server and extension for Apache HTTP Server for testing" DESCRIPTION="The pywebsocket project aims to provide a WebSocket standalone \ server and a WebSocket extension for Apache HTTP Server, mod_pywebsocket. pywebsocket is intended for testing or experimental purposes. To run with \ Apache HTTP Server, mod_python is required. For wss, mod_ssl is also required. pywebsocket supports RFC 6455 (and some legacy protocols) and the following extension. * WebSocket Per-message Compression (permessage-deflate)" HOMEPAGE="https://github.com/google/pywebsocket" COPYRIGHT="2012-2015 Google Inc." LICENSE="BSD (3-clause)" REVISION="1" SOURCE_URI="https://github.com/google/pywebsocket/archive/pywebsocket-0.8.tar.gz" CHECKSUM_SHA256="6bba6b0c2caec9094b21cfa34befd4a2f6e0594e5290d9b68b9bf4efb518fc17" SOURCE_DIR="pywebsocket-pywebsocket-$portVersion" ARCHITECTURES="any" PROVIDES=" $portName = $portVersion " REQUIRES=" haiku cmd:python2.7 " BUILD_REQUIRES=" haiku_devel setuptools_python " BUILD_PREREQUIRES=" cmd:python2.7 " BUILD() { cd src python=python2.7 installLocation=$prefix/lib/$python/vendor-packages/ export PYTHONPATH=$installLocation:$PYTHONPATH mkdir -p $installLocation rm -rf build $python setup.py build } INSTALL() { cd src python=python2.7 installLocation=$prefix/lib/$python/vendor-packages/ export PYTHONPATH=$installLocation:$PYTHONPATH mkdir -p $installLocation rm -rf build $python setup.py build install --root=/ --prefix=$prefix }