[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: Add python-mako.
From: |
Christopher Allan Webber |
Subject: |
01/05: gnu: Add python-mako. |
Date: |
Sun, 14 Feb 2016 02:11:59 +0000 |
cwebber pushed a commit to branch mediagoblin-deps
in repository guix.
commit 405301fcff4f23d66fcf211705977a8ac040ad0f
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 | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2924237..b705d41 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7532,3 +7532,33 @@ 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
+ "A super-fast templating language that borrows the best ideas from the
existing templating languages.")
+ (description
+ "A super-fast templating language that borrows the best ideas from the
existing templating languages.")
+ (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)))))