From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH 1/18] gnu: Add python-mako. Date: Mon, 15 Feb 2016 15:23:45 -0800 Message-ID: <87povxsgla.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVSUg-0002Oo-Nm for guix-devel@gnu.org; Mon, 15 Feb 2016 18:23:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVSUd-00076P-FM for guix-devel@gnu.org; Mon, 15 Feb 2016 18:23:50 -0500 Received: from dustycloud.org ([50.116.34.160]:39392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVSUd-00076E-9x for guix-devel@gnu.org; Mon, 15 Feb 2016 18:23:47 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id B37A326676 for ; Mon, 15 Feb 2016 18:23:45 -0500 (EST) 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 --=-=-= Content-Type: text/plain First in a series of towards-MediaGoblin patches. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-python-mako.patch >From ad76816977e98e0230ccde7475598e6e85de4d29 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 12 Feb 2016 13:23:46 -0800 Subject: [PATCH 01/18] gnu: Add python-mako. * gnu/packages/python.scm (python-mako, python2-mako): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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))))) -- 2.6.3 --=-=-=--