mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Major version bump from 11.0.3 to 16.0. The legacy API (websockets.legacy.*) was removed in 14.0; the current public API (connect/serve in websockets.asyncio.*) is stable and backward-compatible since 12.0. Add test.sh that verifies core imports (frames, http11, datastructures). Changelog: https://websockets.readthedocs.io/en/stable/changelog.html Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2018-2022 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-websockets
|
|
PKG_VERSION:=16.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=websockets
|
|
PKG_HASH:=5f6261a5e56e8d5c42a4497b364ea24d94d9563e8fbd44e78ac40879c60179b5
|
|
|
|
PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-websockets
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Implementation of the WebSocket Protocol
|
|
URL:=https://github.com/aaugustin/websockets
|
|
DEPENDS:=+python3
|
|
endef
|
|
|
|
define Package/python3-websockets/description
|
|
websockets is a library for building WebSocket servers and clients in
|
|
Python with a focus on correctness, simplicity, robustness, and
|
|
performance.
|
|
|
|
Built on top of asyncio, Python's standard asynchronous I/O framework,
|
|
the default implementation provides an elegant coroutine-based API.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-websockets))
|
|
$(eval $(call BuildPackage,python3-websockets))
|
|
$(eval $(call BuildPackage,python3-websockets-src))
|