From: Alexandru Ardelean Date: Wed, 15 Jul 2026 08:51:06 +0000 (+0300) Subject: python-websocket-client: drop package X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f51b9af6f09fe9c7b06ed504b5690f3873789f03;p=openwrt-packages.git python-websocket-client: drop package There are currently no more users for this. Drop it. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-websocket-client/Makefile b/lang/python/python-websocket-client/Makefile deleted file mode 100644 index 53fd01532..000000000 --- a/lang/python/python-websocket-client/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python-websocket-client -PKG_VERSION:=1.9.0 -PKG_RELEASE:=1 - -PYPI_NAME:=websocket-client -PYPI_SOURCE_NAME:=websocket_client -PKG_HASH:=9e813624b6eb619999a97dc7958469217c3176312b3a16a4bd1bc7e08a46ec98 - -PKG_MAINTAINER:=Javier Marcet -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-websocket-client - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=WebSocket client for Python. hybi13 is supported - URL:=https://github.com/websocket-client/websocket-client - DEPENDS:=+python3-light +python3-logging +python3-openssl +python3-urllib -endef - -define Package/python3-websocket-client/description - websocket-client module is WebSocket client for python. This provide the low - level APIs for WebSocket. All APIs are the synchronous functions. - - websocket-client supports only hybi-13. -endef - -define Py3Package/python3-websocket-client/filespec -+|$(PYTHON3_PKG_DIR) --|$(PYTHON3_PKG_DIR)/websocket/tests -endef - -$(eval $(call Py3Package,python3-websocket-client)) -$(eval $(call BuildPackage,python3-websocket-client)) -$(eval $(call BuildPackage,python3-websocket-client-src)) diff --git a/lang/python/python-websocket-client/test.sh b/lang/python/python-websocket-client/test.sh deleted file mode 100755 index 842fb1416..000000000 --- a/lang/python/python-websocket-client/test.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -[ "$1" = "python3-websocket-client" ] || exit 0 - -python3 - << EOF -import sys -import websocket - -if websocket.__version__ != "$2": - print("Wrong version: " + websocket.__version__) - sys.exit(1) - -# Verify core API is importable -from websocket import ( - WebSocket, - WebSocketApp, - WebSocketConnectionClosedException, - WebSocketTimeoutException, - WebSocketBadStatusException, - create_connection, - enableTrace, -) - -# WebSocket can be instantiated (without connecting) -ws = WebSocket() -assert ws is not None - -# WebSocketApp can be instantiated with just a URL -app = WebSocketApp("ws://localhost:9999") -assert app is not None - -# Trace toggle does not raise -enableTrace(False) - -sys.exit(0) -EOF