From 6e96ad72721f14ea4413a3f6b65645ad3171bbbb Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sat, 17 Oct 2020 16:35:52 +0200 Subject: [PATCH] python-tornado: add package Signed-off-by: Josef Schlehofer --- lang/python/python-tornado/Makefile | 53 +++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 lang/python/python-tornado/Makefile diff --git a/lang/python/python-tornado/Makefile b/lang/python/python-tornado/Makefile new file mode 100644 index 000000000..2d29152ac --- /dev/null +++ b/lang/python/python-tornado/Makefile @@ -0,0 +1,53 @@ +# +# 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.0.4 +PKG_RELEASE:=1 + +PYPI_NAME:=tornado +PKG_HASH:=0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc + +PKG_MAINTAINER:=Josef Schlehofer +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE + +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://tornadoweb.org + DEPENDS:= \ + +python3-asyncio \ + +python3-codecs \ + +python3-email \ + +python3-light \ + +python3-logging \ + +python3-multiprocessing \ + +python3-openssl \ + +python3-unittest \ + +python3-urllib +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))