mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changes since 1.7.0: - v1.8.0: Add support for custom socket options and improved proxy handling - v1.9.0: Fix compatibility with Python 3.12+ deprecations - Various bug fixes for connection handling and error reporting Also add test.sh to verify version and core API imports. Link: https://github.com/websocket-client/websocket-client/blob/master/ChangeLog Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
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 <javier@marcet.info>
|
|
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))
|