* [PATCH v2] gnu: Add python2-cheetah
@ 2017-01-11 16:00 Danny Milosavljevic
2017-01-11 18:10 ` Leo Famulari
0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2017-01-11 16:00 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python2-cheetah): New variable.
---
gnu/packages/python.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c15a12f9b..234b51004 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12331,3 +12331,46 @@ 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 "Text-base 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:
+@enumerate
+@item Generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX, or any other
+ text-based format.
+@item Cleanly separates content, graphic design, and program code.
+@item Blends the power and flexibility of Python with a simple template language
+ that non-programmers can understand.
+@item Gives template writers full access to any Python data structure, module,
+ function, object, or method in their templates.
+@item 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.
+@item Provides a simple, yet powerful, caching mechanism that can dramatically
+ improve the performance of a dynamic website.
+@item Compiles templates into optimized, yet readable, Python code.
+@end enumerate")
+ (license (license:x11-style "file://LICENSE"))))
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] gnu: Add python2-cheetah
2017-01-11 16:00 [PATCH v2] gnu: Add python2-cheetah Danny Milosavljevic
@ 2017-01-11 18:10 ` Leo Famulari
0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2017-01-11 18:10 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: guix-devel
On Wed, Jan 11, 2017 at 05:00:57PM +0100, Danny Milosavljevic wrote:
> * gnu/packages/python.scm (python2-cheetah): New variable.
Thanks!
> + (description "Text-base template engine and Python code generator.
I made this into a complete sentence and pushed!
"Cheetah is a text-based template engine and Python code generator"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-11 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-11 16:00 [PATCH v2] gnu: Add python2-cheetah Danny Milosavljevic
2017-01-11 18:10 ` Leo Famulari
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).