1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 20:33:58 +02:00
openwrt-packages/lang/python/python-websocket-client/Makefile
Michal Vasilek d7163a8607
python-websocket-client: update to 1.2.1
* update license (changed in 1.2.0)
* removed python3-six dependency (removed in 1.0.0)
* do not install tests

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-27 13:02:58 +02:00

42 lines
1.2 KiB
Makefile

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