All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] python-tomako: new package
@ 2016-06-30  7:55 yegorslists at googlemail.com
  2016-07-01 13:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2016-06-30  7:55 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/Config.in                        |  1 +
 package/python-tomako/Config.in          |  9 +++++++++
 package/python-tomako/python-tomako.hash |  4 ++++
 package/python-tomako/python-tomako.mk   | 13 +++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 package/python-tomako/Config.in
 create mode 100644 package/python-tomako/python-tomako.hash
 create mode 100644 package/python-tomako/python-tomako.mk

diff --git a/package/Config.in b/package/Config.in
index 60020e2..af2f8fb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -761,6 +761,7 @@ menu "External python modules"
 	source "package/python-smbus-cffi/Config.in"
 	source "package/python-spidev/Config.in"
 	source "package/python-thrift/Config.in"
+	source "package/python-tomako/Config.in"
 	source "package/python-tornado/Config.in"
 	source "package/python-treq/Config.in"
 	source "package/python-twisted/Config.in"
diff --git a/package/python-tomako/Config.in b/package/python-tomako/Config.in
new file mode 100644
index 0000000..bd6d299
--- /dev/null
+++ b/package/python-tomako/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_TOMAKO
+	bool "python-tomako"
+	select BR2_PACKAGE_PYTHON_TORNADO # runtime
+	select BR2_PACKAGE_PYTHON_MAKO # runtime
+	help
+	  Tomako is the easiest way to use Mako as a template engine for
+	  Tornado.
+
+	  https://github.com/rcmachado/tomako
diff --git a/package/python-tomako/python-tomako.hash b/package/python-tomako/python-tomako.hash
new file mode 100644
index 0000000..678944a
--- /dev/null
+++ b/package/python-tomako/python-tomako.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/tomako/json
+md5	74597762d156f52b8716aced94d51f2a  tomako-0.1.0.tar.gz
+# sha256 calculated by scanpypi
+sha256	e541e6bad009d3f61956b135757d491bf42c97cb441e7c11ef7a0ef6e9460a9f  tomako-0.1.0.tar.gz
diff --git a/package/python-tomako/python-tomako.mk b/package/python-tomako/python-tomako.mk
new file mode 100644
index 0000000..a9eef64
--- /dev/null
+++ b/package/python-tomako/python-tomako.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-tomako
+#
+################################################################################
+
+PYTHON_TOMAKO_VERSION = 0.1.0
+PYTHON_TOMAKO_SOURCE = tomako-$(PYTHON_TOMAKO_VERSION).tar.gz
+PYTHON_TOMAKO_SITE = https://pypi.python.org/packages/66/6f/de5449d401ca6953691c765d7465941e772cf99a3547646edc58cdca452d
+PYTHON_TOMAKO_SETUP_TYPE = setuptools
+PYTHON_TOMAKO_LICENSE = MIT
+
+$(eval $(python-package))
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] python-tomako: new package
  2016-06-30  7:55 [Buildroot] [PATCH] python-tomako: new package yegorslists at googlemail.com
@ 2016-07-01 13:30 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-07-01 13:30 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 30 Jun 2016 09:55:04 +0200, yegorslists at googlemail.com wrote:

> +PYTHON_TOMAKO_VERSION = 0.1.0
> +PYTHON_TOMAKO_SOURCE = tomako-$(PYTHON_TOMAKO_VERSION).tar.gz
> +PYTHON_TOMAKO_SITE = https://pypi.python.org/packages/66/6f/de5449d401ca6953691c765d7465941e772cf99a3547646edc58cdca452d
> +PYTHON_TOMAKO_SETUP_TYPE = setuptools
> +PYTHON_TOMAKO_LICENSE = MIT

It would be good to ask upstream to add a license file.

Applied nonetheless, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-01 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30  7:55 [Buildroot] [PATCH] python-tomako: new package yegorslists at googlemail.com
2016-07-01 13:30 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.