From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49995) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK1NH-00055j-Oq for guix-patches@gnu.org; Mon, 14 Oct 2019 10:31:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK1NG-0002U3-Ec for guix-patches@gnu.org; Mon, 14 Oct 2019 10:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK1NG-0002Tz-B9 for guix-patches@gnu.org; Mon, 14 Oct 2019 10:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK1NG-00055s-5c for guix-patches@gnu.org; Mon, 14 Oct 2019 10:31:02 -0400 Subject: [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time. References: <20191003121316.irq3vdmu4ov6dygb@rafflesia> In-Reply-To: <20191003121316.irq3vdmu4ov6dygb@rafflesia> Resent-Message-ID: Date: Mon, 14 Oct 2019 16:30:55 +0200 From: Tanguy Le Carrour Message-ID: <20191014143055.ywvjssplxxeu63ut@rafflesia> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="iup5dsjg4n4ve36t" Content-Disposition: inline Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37598@debbugs.gnu.org --iup5dsjg4n4ve36t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --iup5dsjg4n4ve36t Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit >From 46e1cf437a89a045f78b4d07c3d6865edbecea19 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 3 Oct 2019 09:05:26 +0200 Subject: [PATCH 1/4] gnu: Add python-jinja2-time. * gnu/packages/python-xyz.scm (python-jinja2-time): New public variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8137d665fd..2bcf352278 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -66,6 +66,7 @@ ;;; Copyright © 2019 Jacob MacDonald ;;; Copyright © 2019 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny +;;; Copyright © 2019 Tanguy Le Carrour ;;; ;;; This file is part of GNU Guix. ;;; @@ -2495,6 +2496,27 @@ written in pure Python.") (define-public python2-jinja2 (package-with-python2 python-jinja2)) +(define-public python-jinja2-time + (package + (name "python-jinja2-time") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jinja2-time" version)) + (sha256 + (base32 + "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni")))) + (build-system python-build-system) + (propagated-inputs + `(("python-arrow" ,python-arrow) + ("python-jinja2" ,python-jinja2))) + (home-page + "https://github.com/hackebrot/jinja2-time") + (synopsis "Jinja2 Extension for Dates and Times") + (description "Jinja2 Extension for Dates and Times.") + (license license:expat))) + (define-public python-pystache (package (name "python-pystache") -- 2.23.0 --iup5dsjg4n4ve36t--