2020-02-17 21:52:40 +08:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-websocket-client
|
2023-02-07 20:52:28 +08:00
|
|
|
PKG_VERSION:=1.5.1
|
2021-03-10 01:40:02 +08:00
|
|
|
PKG_RELEASE:=1
|
2020-02-17 21:52:40 +08:00
|
|
|
|
2021-08-27 18:40:48 +08:00
|
|
|
PYPI_NAME:=websocket-client
|
2023-02-07 20:52:28 +08:00
|
|
|
PKG_HASH:=3f09e6d8230892547132177f575a4e3e73cfdf06526e20cc02aa1c3b47184d40
|
2020-02-17 21:52:40 +08:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
2021-08-27 18:40:48 +08:00
|
|
|
PKG_LICENSE:=Apache-2.0
|
2020-02-17 21:52:40 +08:00
|
|
|
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
|
2021-08-27 18:40:48 +08:00
|
|
|
DEPENDS:=+python3-light +python3-logging +python3-openssl
|
2020-02-17 21:52:40 +08:00
|
|
|
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
|
|
|
|
|
2021-08-27 18:40:48 +08:00
|
|
|
define Py3Package/python3-websocket-client/filespec
|
|
|
|
+|$(PYTHON3_PKG_DIR)
|
|
|
|
-|$(PYTHON3_PKG_DIR)/websocket/tests
|
|
|
|
endef
|
|
|
|
|
2020-02-17 21:52:40 +08:00
|
|
|
$(eval $(call Py3Package,python3-websocket-client))
|
|
|
|
$(eval $(call BuildPackage,python3-websocket-client))
|
|
|
|
$(eval $(call BuildPackage,python3-websocket-client-src))
|