[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 28/31] gnu: Add python-jinja2.
From: |
David Thompson |
Subject: |
[PATCH 28/31] gnu: Add python-jinja2. |
Date: |
Fri, 5 Sep 2014 11:18:34 -0400 |
* gnu/packages/python.scm (python-jinja2, python2-jinja2): New variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e2b3fa9..6f7d474 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1786,3 +1786,30 @@ for Python.")
(define-public python2-markupsafe
(package-with-python2 python-markupsafe))
+(define-public python-jinja2
+ (package
+ (name "python-jinja2")
+ (version "2.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/J/Jinja2/Jinja2-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1nwg9yfqgy421lncnm63k1zf9xkd1klc0jm0fr4p3dad01fsq91f"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-markupsafe" ,python-markupsafe)))
+ (home-page "http://jinja.pocoo.org/")
+ (synopsis "Python template engine")
+ (description
+ "Jinja2 is a small but fast and easy to use stand-alone template engine
+written in pure Python.")
+ (license bsd-3)))
+
+(define-public python2-jinja2
+ (package-with-python2 python-jinja2))
+
--
2.0.1
- [PATCH 24/31] gnu: Add python-itsdangerous., (continued)
- [PATCH 24/31] gnu: Add python-itsdangerous., David Thompson, 2014/09/05
- [PATCH 25/31] gnu: Add python-virtualenv., David Thompson, 2014/09/05
- [PATCH 26/31] gnu: Add python-pip., David Thompson, 2014/09/05
- [PATCH 12/31] gnu: Add python-pytest., David Thompson, 2014/09/05
- [PATCH 28/31] gnu: Add python-jinja2.,
David Thompson <=
- [PATCH 27/31] gnu: Add python-markupsafe., David Thompson, 2014/09/05
- [PATCH 29/31] gnu: Add python-docutils., David Thompson, 2014/09/05
- [PATCH 20/31] gnu: Add python-discover., David Thompson, 2014/09/05
- [PATCH 30/31] gnu: Add python-pygments., David Thompson, 2014/09/05
- [PATCH 31/31] gnu: Add python-sphinx., David Thompson, 2014/09/05