Commit 9ef15fd6 authored by Gwenhael Goavec-Merou's avatar Gwenhael Goavec-Merou Committed by Thomas Petazzoni
Browse files

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: default avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent c1b05541
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -489,6 +489,7 @@ menu "external python modules"
	source "package/python-bottle/Config.in"
	source "package/python-certifi/Config.in"
	source "package/python-cffi/Config.in"
	source "package/python-cheetah/Config.in"
	source "package/python-configobj/Config.in"
	source "package/python-configshell-fb/Config.in"
	source "package/python-crc16/Config.in"
+12 −0
Original line number Diff line number Diff line
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/
+13 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))