* [PATCH] gnu: Add python2-cheetah. @ 2017-01-10 0:01 Danny Milosavljevic 2017-01-10 9:04 ` Hartmut Goebel 2017-01-10 19:51 ` Leo Famulari 0 siblings, 2 replies; 4+ messages in thread From: Danny Milosavljevic @ 2017-01-10 0:01 UTC (permalink / raw) To: guix-devel * gnu/packages/python.scm (python2-cheetah): New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1fd02f7a0..6004e361f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12331,3 +12331,24 @@ 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 "http://www.cheetahtemplate.org/") + (synopsis "Template engine") + (description "Cheetah is a template engine and code generation tool.") + (license license:expat))) ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add python2-cheetah. 2017-01-10 0:01 [PATCH] gnu: Add python2-cheetah Danny Milosavljevic @ 2017-01-10 9:04 ` Hartmut Goebel 2017-01-10 19:51 ` Leo Famulari 1 sibling, 0 replies; 4+ messages in thread From: Hartmut Goebel @ 2017-01-10 9:04 UTC (permalink / raw) To: guix-devel [-- Attachment #1: Type: text/plain, Size: 1598 bytes --] Am 10.01.2017 um 01:01 schrieb Danny Milosavljevic: > + (synopsis "Template engine") > + (description "Cheetah is a template engine and code generation tool.") I suggest being more verbose here. Maybe use the text from Debian: * **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: * Generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX, or any other text-based format. * Cleanly separates content, graphic design, and program code. * Blends the power and flexibility of Python with a simple template language that non-programmers can understand. * Gives template writers full access to any Python data structure, module, function, object, or method in their templates. * 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. * Provides a simple, yet powerful, caching mechanism that can dramatically improve the performance of a dynamic website. * Compiles templates into optimized, yet readable, Python code. Otherwise LGTM. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | [-- Attachment #2: 0xBF773B65.asc --] [-- Type: application/pgp-keys, Size: 14855 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add python2-cheetah. 2017-01-10 0:01 [PATCH] gnu: Add python2-cheetah Danny Milosavljevic 2017-01-10 9:04 ` Hartmut Goebel @ 2017-01-10 19:51 ` Leo Famulari 2017-01-11 15:23 ` Danny Milosavljevic 1 sibling, 1 reply; 4+ messages in thread From: Leo Famulari @ 2017-01-10 19:51 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: guix-devel On Tue, Jan 10, 2017 at 01:01:30AM +0100, Danny Milosavljevic wrote: > * gnu/packages/python.scm (python2-cheetah): New variable. Thanks! > + (arguments > + `(#:python ,python-2)) Is only Python 2 supported? > + (home-page "http://www.cheetahtemplate.org/") This site doesn't load for me. > + (synopsis "Template engine") > + (description "Cheetah is a template engine and code generation tool.") I agree with Hartmut's suggestion. > + (license license:expat))) This license appears to be a unique creation of the Cheetah authors. I recommend using 'x11-style'. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add python2-cheetah. 2017-01-10 19:51 ` Leo Famulari @ 2017-01-11 15:23 ` Danny Milosavljevic 0 siblings, 0 replies; 4+ messages in thread From: Danny Milosavljevic @ 2017-01-11 15:23 UTC (permalink / raw) To: Leo Famulari; +Cc: guix-devel Hi Leo, On Tue, 10 Jan 2017 14:51:09 -0500 Leo Famulari <leo@famulari.name> wrote: > On Tue, Jan 10, 2017 at 01:01:30AM +0100, Danny Milosavljevic wrote: > > * gnu/packages/python.scm (python2-cheetah): New variable. > > Thanks! > > > + (arguments > > + `(#:python ,python-2)) > > Is only Python 2 supported? Unfortunately yes. See also https://pythonhosted.org/Cheetah/roadmap.html . > > > + (home-page "http://www.cheetahtemplate.org/") > > This site doesn't load for me. Huh. Strange, it doesn't for me either. Maybe we should better use https://pythonhosted.org/Cheetah/ . ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-11 15:23 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-01-10 0:01 [PATCH] gnu: Add python2-cheetah Danny Milosavljevic 2017-01-10 9:04 ` Hartmut Goebel 2017-01-10 19:51 ` Leo Famulari 2017-01-11 15:23 ` Danny Milosavljevic
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git 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.