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.

45 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2018-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-websockets
  9. PKG_VERSION:=10.0
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PYPI_NAME:=websockets
  12. PKG_HASH:=c4fc9a1d242317892590abe5b61a9127f1a61740477bfb121743f290b8054002
  13. PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-websockets
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Library for developing WebSocket servers and clients
  24. URL:=https://websockets.readthedocs.io/
  25. DEPENDS:=+python3-light +python3-asyncio +python3-ctypes +python3-email \
  26. +python3-logging +python3-urllib
  27. endef
  28. define Package/python3-websockets/description
  29. websockets is a library for building WebSocket servers and clients
  30. in Python with a focus on correctness and simplicity.
  31. Built on top of asyncio, Python’s standard asynchronous I/O framework.
  32. It provides an elegant coroutine-based API.
  33. endef
  34. $(eval $(call Py3Package,python3-websockets))
  35. $(eval $(call BuildPackage,python3-websockets))
  36. $(eval $(call BuildPackage,python3-websockets-src))