packages/lang/python/python-websocket-client/Makefile
Javier Marcet 84658c5ea8 python-websocket-client: update to 1.7.0
- Renamed `mask` variable in ABNF to prevent name collision with
  `mask()` function (9b51f73)
  - Fixed old http import of HTTPStatus in _handshake.py (9b51f73)
  - Add `send_text()` and `send_bytes()` to _app.py
  - Improved typehint support (9b51f73, 8b73d00)
  - General readability improvements, made all string concatenations
  use f-strings (780584f, 3eabc6e)
  - Applied black formatting style to code (da7f286)

Signed-off-by: Javier Marcet <javier@marcet.info>
2024-01-02 15:16:38 -08:00

41 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=python-websocket-client
PKG_VERSION:=1.7.0
PKG_RELEASE:=1
PYPI_NAME:=websocket-client
PKG_HASH:=10e511ea3a8c744631d3bd77e61eb17ed09304c413ad42cf6ddfa4c7787e8fe6
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
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))