mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Bump from 6.3.3 to 6.5.5. Add a basic test.sh that imports the tornado module and verifies Application/RequestHandler can be instantiated. Changelog: https://www.tornadoweb.org/en/stable/releases.html Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2020 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-tornado
|
|
PKG_VERSION:=6.5.5
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=tornado
|
|
PKG_HASH:=192b8f3ea91bd7f1f50c06955416ed76c6b72f96779b962f07f911b91e8d30e9
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools/host
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:tornadoweb:tornado
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-tornado
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Web framework and asynchronous networking library
|
|
URL:=https://www.tornadoweb.org
|
|
DEPENDS:=+python3
|
|
endef
|
|
|
|
define Package/python3-tornado/description
|
|
Tornado is a Python web framework and asynchronous networking library,
|
|
originally developed at FriendFeed. By using non-blocking network I/O,
|
|
Tornado can scale to tens of thousands of open connections, making it
|
|
ideal for long polling, WebSockets, and other applications that require
|
|
a long-lived connection to each user.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-tornado))
|
|
$(eval $(call BuildPackage,python3-tornado))
|
|
$(eval $(call BuildPackage,python3-tornado-src))
|