From: Manolis Ragkousis <manolis837@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH] gnu: Add python-cheetah.
Date: Tue, 16 Aug 2016 14:15:25 +0300 [thread overview]
Message-ID: <d42c42dd-9d19-3b35-6487-6c4d9c7d125e@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 42 bytes --]
This patch adds python2-cheetah.
Manolis
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-cheetah.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-python-cheetah.patch", Size: 2383 bytes --]
From 7899fa820ea826b71375d805185a99cf8de0fc8f Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
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 <iyzsong@gmail.com>
;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;;
;;; 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
next reply other threads:[~2016-08-16 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-16 11:15 Manolis Ragkousis [this message]
2016-08-18 20:51 ` [PATCH] gnu: Add python-cheetah Leo Famulari
2016-08-21 14:31 ` Manolis Ragkousis
2016-08-21 18:24 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d42c42dd-9d19-3b35-6487-6c4d9c7d125e@gmail.com \
--to=manolis837@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.