From: Artur Wiebe <artur@4wiebe.de>
To: ptxdist@pengutronix.de
Cc: Artur Wiebe <artur@4wiebe.de>
Subject: [ptxdist] [PATCH] python3-tornado: new package
Date: Wed, 30 Nov 2016 16:20:39 +0100 [thread overview]
Message-ID: <20161130152039.20987-1-artur@4wiebe.de> (raw)
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>
---
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 <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
--
2.10.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2016-11-30 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 15:20 Artur Wiebe [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-27 9:26 Artur Wiebe
2016-08-01 10:07 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161130152039.20987-1-artur@4wiebe.de \
--to=artur@4wiebe.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox