diff options
author | Artur Wiebe <artur@4wiebe.de> | 2016-11-30 16:20:39 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-12-01 11:12:22 +0100 |
commit | 37e15a789530a9272c411ec084542dd3a69ead18 (patch) | |
tree | 7017afa9e72115ee02b0b67e08a1aad9d4a0d555 /rules/python3-tornado.make | |
parent | 30bcc4a6290a4a0715d4f2007619e55b72b9f3e3 (diff) | |
download | ptxdist-37e15a789530a9272c411ec084542dd3a69ead18.tar.gz ptxdist-37e15a789530a9272c411ec084542dd3a69ead18.tar.xz |
python3-tornado: new package
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 <artur@4wiebe.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3-tornado.make')
-rw-r--r-- | rules/python3-tornado.make | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/rules/python3-tornado.make b/rules/python3-tornado.make new file mode 100644 index 000000000..162df10aa --- /dev/null +++ b/rules/python3-tornado.make @@ -0,0 +1,51 @@ +# -*-makefile-*- +# +# Copyright (C) 2016 by Artur Wiebe <artur@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 <artur@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 |