mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
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, 27 Jul 2016 11:26:13 +0200	[thread overview]
Message-ID: <20160727092613.10235-1-artur@4wiebe.de> (raw)

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..aa055a1
--- /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..089d609
--- /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.1
+PYTHON3_TORNADO_MD5		:= fff8a7d7f580b04bacc2ffe7ddf41133
+PYTHON3_TORNADO			:= tornado-$(PYTHON3_TORNADO_VERSION)
+PYTHON3_TORNADO_SUFFIX	:= tar.gz
+PYTHON3_TORNADO_URL		:= https://pypi.python.org/packages/96/5d/ff472313e8f337d5acda5d56e6ea79a43583cc8771b34c85a1f458e197c3/$(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	:= APACHE2
+
+# ----------------------------------------------------------------------------
+# 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.9.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2016-07-27  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27  9:26 Artur Wiebe [this message]
2016-08-01 10:07 ` Michael Olbrich
2016-11-30 15:20 Artur Wiebe

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=20160727092613.10235-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