You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=python-websocket-client
  3. PKG_VERSION:=1.2.1
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=websocket-client
  6. PKG_HASH:=8dfb715d8a992f5712fff8c843adae94e22b22a99b2c5e6b0ec4a1a981cc4e0d
  7. PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
  8. PKG_LICENSE:=Apache-2.0
  9. PKG_LICENSE_FILES:=LICENSE
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python3-package.mk
  13. define Package/python3-websocket-client
  14. SECTION:=lang
  15. CATEGORY:=Languages
  16. SUBMENU:=Python
  17. TITLE:=WebSocket client for Python. hybi13 is supported
  18. URL:=https://github.com/websocket-client/websocket-client
  19. DEPENDS:=+python3-light +python3-logging +python3-openssl
  20. endef
  21. define Package/python3-websocket-client/description
  22. websocket-client module is WebSocket client for python. This provide the low
  23. level APIs for WebSocket. All APIs are the synchronous functions.
  24. websocket-client supports only hybi-13.
  25. endef
  26. define Py3Package/python3-websocket-client/filespec
  27. +|$(PYTHON3_PKG_DIR)
  28. -|$(PYTHON3_PKG_DIR)/websocket/tests
  29. endef
  30. $(eval $(call Py3Package,python3-websocket-client))
  31. $(eval $(call BuildPackage,python3-websocket-client))
  32. $(eval $(call BuildPackage,python3-websocket-client-src))