[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add python2-cheetah
From: |
Leo Famulari |
Subject: |
01/01: gnu: Add python2-cheetah |
Date: |
Wed, 11 Jan 2017 18:09:35 +0000 (UTC) |
lfam pushed a commit to branch master
in repository guix.
commit 8d67610bdc542b92c2b500e36e4e66c090dadede
Author: Danny Milosavljevic <address@hidden>
Date: Wed Jan 11 17:00:57 2017 +0100
gnu: Add python2-cheetah
* gnu/packages/python.scm (python2-cheetah): New variable.
Signed-off-by: Leo Famulari <address@hidden>
---
gnu/packages/python.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c15a12f..727e1bf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12331,3 +12331,47 @@ possible on all supported Python versions.")
(define-public python2-xopen
(package-with-python2 python-xopen))
+
+(define-public python2-cheetah
+ (package
+ (name "python2-cheetah")
+ (version "2.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Cheetah" version))
+ (sha256
+ (base32
+ "0l5mm4lnysjkzpjr95q5ydm9xc8bv43fxmr79ypybrf1y0lq4c5y"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (propagated-inputs
+ `(("python2-markdown" ,python2-markdown)))
+ (home-page "https://pythonhosted.org/Cheetah/")
+ (synopsis "Template engine")
+ (description "Cheetah is a text-based template engine and Python code
+generator.
+
+Cheetah can be used as a standalone templating utility or referenced as
+a library from other Python applications. It has many potential uses,
+but web developers looking for a viable alternative to ASP, JSP, PHP and
+PSP are expected to be its principle user group.
+
+Features:
address@hidden
address@hidden Generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX,
or any other
+ text-based format.
address@hidden Cleanly separates content, graphic design, and program code.
address@hidden Blends the power and flexibility of Python with a simple
template language
+ that non-programmers can understand.
address@hidden Gives template writers full access to any Python data structure,
module,
+ function, object, or method in their templates.
address@hidden Makes code reuse easy by providing an object-orientated
interface to
+ templates that is accessible from Python code or other Cheetah templates.
+ One template can subclass another and selectively reimplement sections of
it.
address@hidden Provides a simple, yet powerful, caching mechanism that can
dramatically
+ improve the performance of a dynamic website.
address@hidden Compiles templates into optimized, yet readable, Python code.
address@hidden enumerate")
+ (license (license:x11-style "file://LICENSE"))))