python-tornado: add package
authorJosef Schlehofer <redacted>
Sat, 17 Oct 2020 14:35:52 +0000 (16:35 +0200)
committerJosef Schlehofer <redacted>
Thu, 29 Oct 2020 12:58:20 +0000 (13:58 +0100)
Signed-off-by: Josef Schlehofer <redacted>
lang/python/python-tornado/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-tornado/Makefile b/lang/python/python-tornado/Makefile
new file mode 100644 (file)
index 0000000..2d29152
--- /dev/null
@@ -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 <josef.schlehofer@nic.cz>
+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))
git clone https://git.99rst.org/PROJECT