[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:42:05 +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)))))
- branch wip-mediagoblin created (now bd90e38), Christopher Allan Webber, 2016/02/15
- 01/19: gnu: Add python-mako.,
Christopher Allan Webber <=
- 02/19: gnu: Add python-alembic., Christopher Allan Webber, 2016/02/15
- 03/19: gnu: Add python2-apipkg., Christopher Allan Webber, 2016/02/15
- 04/19: gnu: Add python2-execnet., Christopher Allan Webber, 2016/02/15
- 05/19: gnu: Add python-pytest-xdist., Christopher Allan Webber, 2016/02/15
- 06/19: gnu: Add python-beautifulsoup4, Christopher Allan Webber, 2016/02/15
- 07/19: gnu: Add python-waitress., Christopher Allan Webber, 2016/02/15
- 08/19: gnu: Add python-wsgiproxy2., Christopher Allan Webber, 2016/02/15
- 09/19: gnu: Add python-pastedeploy., Christopher Allan Webber, 2016/02/15
- 10/19: gnu: Add python-pyquery., Christopher Allan Webber, 2016/02/15
- 11/19: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/15