aboutsummaryrefslogtreecommitdiff
path: root/package/python-cheetah
diff options
context:
space:
mode:
authorGravatar Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>2014-12-21 16:26:55 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-21 21:58:48 +0100
commit9ef15fd63ef041dd28f7421db45463217e9429cb (patch)
treeb87db486550aeb29478f3a77601e5601c1d2ceaa /package/python-cheetah
parentc1b0554172dd2d493ae39d9a4ed3467abc6740bb (diff)
downloadbuildroot-9ef15fd63ef041dd28f7421db45463217e9429cb.tar.gz
buildroot-9ef15fd63ef041dd28f7421db45463217e9429cb.tar.bz2
python-cheetah: new package
[Thomas: - Remove dependency on host-python-markdown, apparently not needed (it builds fine in a minimal chroot, which doesn't have python-markdown installed) - Remove runtime dependency on markdown, I can run Cheetah basic examples without python-markdown installed. - Add dependency on Python 2 only, since it doesn't build for Python 3.] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-cheetah')
-rw-r--r--package/python-cheetah/Config.in12
-rw-r--r--package/python-cheetah/python-cheetah.mk13
2 files changed, 25 insertions, 0 deletions
diff --git a/package/python-cheetah/Config.in b/package/python-cheetah/Config.in
new file mode 100644
index 0000000000..e98dc39249
--- /dev/null
+++ b/package/python-cheetah/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PYTHON_CHEETAH
+ bool "python-cheetah"
+ depends on BR2_PACKAGE_PYTHON
+ help
+ Cheetah is an open source template engine and code generation tool.
+
+ It can be used standalone or combined with other tools and frameworks.
+ Web development is its principle use, but Cheetah is very flexible
+ and is also being used to generate C++ game code, Java, sql, form
+ emails and even Python code.
+
+ https://pypi.python.org/pypi/Cheetah/
diff --git a/package/python-cheetah/python-cheetah.mk b/package/python-cheetah/python-cheetah.mk
new file mode 100644
index 0000000000..08076b563d
--- /dev/null
+++ b/package/python-cheetah/python-cheetah.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-cheetah
+#
+################################################################################
+
+PYTHON_CHEETAH_VERSION = 2.4.4
+PYTHON_CHEETAH_SOURCE = Cheetah-$(PYTHON_CHEETAH_VERSION).tar.gz
+PYTHON_CHEETAH_SITE = http://pypi.python.org/packages/source/C/Cheetah
+PYTHON_CHEETAH_LICENSE = MIT
+PYTHON_CHEETAH_SETUP_TYPE = setuptools
+
+$(eval $(python-package))