From: Alexandru Ardelean Date: Mon, 30 Mar 2026 09:59:21 +0000 (+0300) Subject: python-simple-websocket: new package (1.1.0) X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d0100cef454b997d3453b06bc59d0c83c24701df;p=openwrt-packages.git python-simple-websocket: new package (1.1.0) Simple WebSocket and WAMP client and server for Python. Required by python-engineio 4.13.1 threading async_mode for WebSocket transport support. Link: https://github.com/miguelgrinberg/simple-websocket Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-simple-websocket/Makefile b/lang/python/python-simple-websocket/Makefile new file mode 100644 index 000000000..561fe1c6d --- /dev/null +++ b/lang/python/python-simple-websocket/Makefile @@ -0,0 +1,42 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-simple-websocket +PKG_VERSION:=1.1.0 +PKG_RELEASE:=1 + +PYPI_NAME:=simple-websocket +PYPI_SOURCE_NAME:=simple_websocket +PKG_HASH:=7939234e7aa067c534abdab3a9ed933ec9ce4691b0713c78acb195560aa52ae4 + +PKG_MAINTAINER:=Alexandru Ardelean +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_DEPENDS:=python-setuptools/host + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-simple-websocket + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=Simple WebSocket and WAMP client and server + URL:=https://github.com/miguelgrinberg/simple-websocket + DEPENDS:= \ + +python3-light \ + +python3-wsproto +endef + +define Package/python3-simple-websocket/description + Simple WebSocket and WAMP client and server for Python. +endef + +$(eval $(call Py3Package,python3-simple-websocket)) +$(eval $(call BuildPackage,python3-simple-websocket)) +$(eval $(call BuildPackage,python3-simple-websocket-src))