From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: [PATCH] gnu: Add python-cheetah. Date: Tue, 16 Aug 2016 14:15:25 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------25B15A4D4977667CF363EFD0" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZcLE-0007iH-W3 for guix-devel@gnu.org; Tue, 16 Aug 2016 07:15:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZcLA-0001rW-H7 for guix-devel@gnu.org; Tue, 16 Aug 2016 07:15:31 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:35787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZcLA-0001rS-9N for guix-devel@gnu.org; Tue, 16 Aug 2016 07:15:28 -0400 Received: by mail-wm0-x230.google.com with SMTP id f65so136519297wmi.0 for ; Tue, 16 Aug 2016 04:15:28 -0700 (PDT) Received: from [192.168.2.110] (athedsl-295231.home.otenet.gr. [85.73.200.221]) by smtp.gmail.com with ESMTPSA id m62sm21199453wmm.24.2016.08.16.04.15.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Aug 2016 04:15:26 -0700 (PDT) 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" To: guix-devel This is a multi-part message in MIME format. --------------25B15A4D4977667CF363EFD0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit This patch adds python2-cheetah. Manolis --------------25B15A4D4977667CF363EFD0 Content-Type: text/x-patch; name="0001-gnu-Add-python-cheetah.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-gnu-Add-python-cheetah.patch" >From 7899fa820ea826b71375d805185a99cf8de0fc8f Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Tue, 16 Aug 2016 14:06:03 +0300 Subject: [PATCH] gnu: Add python-cheetah. * gnu/packages/python.scm (python-cheetah, python2-cheetah): New variables. --- gnu/packages/python.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5cc54d0..a450a0c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2016 Sou Bunnbu ;;; Copyright © 2016 Troy Sankey ;;; Copyright © 2016 ng0 +;;; Copyright © 2016 Manolis Fragkiskos Ragkousis ;;; ;;; This file is part of GNU Guix. ;;; @@ -9886,3 +9887,40 @@ relays publish about themselves.") (define-public python2-stem (package-with-python2 python-stem)) + +(define-public python-cheetah + (package + (name "python-cheetah") + (version "2.4.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/" + "cd/b0/c2d700252fc251e91c08639ff41a8a5203b627f4e0a2ae18a6b662ab32ea/" + "Cheetah-" version ".tar.gz")) + (sha256 + (base32 + "0l5mm4lnysjkzpjr95q5ydm9xc8bv43fxmr79ypybrf1y0lq4c5y")))) + (build-system python-build-system) + (home-page "http://www.cheetahtemplate.org") + (synopsis + "Python-powered template engine and code generator") + (description + "Cheetah is an open source template engine and code generation tool. +It can be used standalone or combined with other tools and frameworks. Web +development is its principle use, but Cheetah is very flexible and is also +being used to generate C++ game code, Java, sql, form emails and even Python + code.") + (license (non-copyleft "file://LICENSE" + "See COPYING in the distribution.")))) + +(define-public python2-cheetah + (let ((base (package-with-python2 python-cheetah))) + (package + (inherit base) + (name "python2-cheetah") + (native-inputs + `(("python2-setuptools" ,python2-setuptools) + ("python2-markdown" ,python2-markdown) + ,@(package-native-inputs base)))))) -- 2.9.2 --------------25B15A4D4977667CF363EFD0--