Tornado is a Python web framework and asynchronous networking library. 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.
Signed-off-by: Artur Wiebe <ar...@4wiebe.de> --- rules/python3-tornado.in | 13 ++++++++++++ rules/python3-tornado.make | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 rules/python3-tornado.in create mode 100644 rules/python3-tornado.make diff --git a/rules/python3-tornado.in b/rules/python3-tornado.in new file mode 100644 index 0000000..0ada2e3 --- /dev/null +++ b/rules/python3-tornado.in @@ -0,0 +1,13 @@ +## SECTION=python3 + +config PYTHON3_TORNADO + tristate + select PYTHON3 + prompt "tornado" + help + Tornado is a Python web framework and asynchronous networking library. + 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. + + diff --git a/rules/python3-tornado.make b/rules/python3-tornado.make new file mode 100644 index 0000000..162df10 --- /dev/null +++ b/rules/python3-tornado.make @@ -0,0 +1,51 @@ +# -*-makefile-*- +# +# Copyright (C) 2016 by Artur Wiebe <ar...@4wiebe.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_TORNADO) += python3-tornado + +PYTHON3_TORNADO_VERSION := 4.4.2 +PYTHON3_TORNADO_MD5 := b4816ea209118667ffc52ce9ff06ac85 +PYTHON3_TORNADO := tornado-$(PYTHON3_TORNADO_VERSION) +PYTHON3_TORNADO_SUFFIX := tar.gz +PYTHON3_TORNADO_URL := https://pypi.python.org/packages/1e/7c/ea047f7bbd1ff22a7f69fe55e7561040e3e54d6f31da6267ef9748321f98/$(PYTHON3_TORNADO).$(PYTHON3_TORNADO_SUFFIX)\#md5=$(PYTHON3_TORNADO_MD5) +PYTHON3_TORNADO_SOURCE := $(SRCDIR)/$(PYTHON3_TORNADO).$(PYTHON3_TORNADO_SUFFIX) +PYTHON3_TORNADO_DIR := $(BUILDDIR)/$(PYTHON3_TORNADO) +PYTHON3_TORNADO_LICENSE := Apache-2.0 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_TORNADO_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-tornado.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-tornado) + @$(call install_fixup,python3-tornado,PRIORITY,optional) + @$(call install_fixup,python3-tornado,SECTION,base) + @$(call install_fixup,python3-tornado,AUTHOR,"Artur Wiebe <ar...@4wiebe.de>") + @$(call install_fixup,python3-tornado,DESCRIPTION,missing) + + @$(call install_glob, python3-tornado, 0, 0, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/tornado,, *.py) + + @$(call install_finish,python3-tornado) + + @$(call touch) + +# vim: syntax=make -- 2.10.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de