pywebsocket: retire Python 2.x-only recipe. (#8769)

Upstream repo got archived in 2020, and nothing uses it in-tree.

If needed, a new recipe can be made for "pywebsocket3":
https://github.com/GoogleChromeLabs/pywebsocket3

Or one for the unrelated to original pywebsocket:

https://pypi.org/project/pywebsocket/
This commit is contained in:
OscarL
2023-06-01 17:44:56 -03:00
committed by GitHub
parent ef2abdb5fb
commit f0ed5c52c9

View File

@@ -1,58 +0,0 @@
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
}