guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/19: gnu: Add python-mako.


From: Christopher Allan Webber
Subject: 01/19: gnu: Add python-mako.
Date: Mon, 15 Feb 2016 23:01:56 +0000

cwebber pushed a commit to branch wip-mediagoblin
in repository guix.

commit ad76816977e98e0230ccde7475598e6e85de4d29
Author: Christopher Allan Webber <address@hidden>
Date:   Fri Feb 12 13:23:46 2016 -0800

    gnu: Add python-mako.
    
    * gnu/packages/python.scm (python-mako, python2-mako): New variables.
---
 gnu/packages/python.scm |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 805c4a2..5b7e4ac 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7532,3 +7532,34 @@ available in Django, but is a standalone package.")
     (inherit (package-with-python2
               (strip-python2-variant python-wtforms)))
     (inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python-mako
+  (package
+    (name "python-mako")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Mako" version))
+       (sha256
+        (base32
+         "136kcjbs0s98qkx8a418b05dfblqp0kiiqyx8vhx4rarwc7bqi3n"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-markupsafe" ,python-markupsafe)
+       ("python-mock" ,python-mock)
+       ("python-nose" ,python-nose)))
+    (home-page "http://www.makotemplates.org/";)
+    (synopsis
+     "Fast templating language")
+    (description
+     "Mako is a Python string templating library.  Used frequently for
+generating HTML.")
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-mako))))))
+
+(define-public python2-mako
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-mako)))
+    (inputs `(("python2-setuptools" ,python2-setuptools)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]