From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 28/31] gnu: Add python-jinja2. Date: Fri, 5 Sep 2014 11:18:34 -0400 Message-ID: <1409930317-13220-28-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIP-0001oR-VV for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvII-0003oj-QM for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:29 -0400 Received: from na3sys009aog103.obsmtp.com ([74.125.149.71]:40744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvII-0003oG-H9 for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:22 -0400 Received: by mail-yk0-f171.google.com with SMTP id 9so7115395ykp.2 for ; Fri, 05 Sep 2014 08:19:21 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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