unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tanguy Le Carrour <tanguy@bioneland.org>
To: 37598@debbugs.gnu.org
Subject: [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
Date: Mon, 14 Oct 2019 16:30:55 +0200	[thread overview]
Message-ID: <20191014143055.ywvjssplxxeu63ut@rafflesia> (raw)
In-Reply-To: <20191003121316.irq3vdmu4ov6dygb@rafflesia>

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1736 bytes --]

From 46e1cf437a89a045f78b4d07c3d6865edbecea19 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
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 <jaccarmac@gmail.com>
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; 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


  parent reply	other threads:[~2019-10-14 14:31 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
2019-10-03 12:16 ` [bug#37598] [PATCH 1/4] " Tanguy Le Carrour
2019-10-03 12:17 ` [bug#37598] [PATCH 2/4] " Tanguy Le Carrour
2019-10-03 12:18 ` [bug#37598] [PATCH 3/4] " Tanguy Le Carrour
2019-10-03 12:19 ` [bug#37598] [PATCH 4/4] " Tanguy Le Carrour
2019-10-04  7:00 ` [bug#37598] [PATCH 0/4] gnu: Add python-cookiecutter " Tanguy Le Carrour
2019-10-04  7:20 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
2019-10-04  7:50   ` Mathieu Othacehe
2019-10-13 22:02     ` Ludovic Courtès
2019-10-14  7:09       ` Tanguy Le Carrour
2019-10-14 20:25         ` Ludovic Courtès
2019-10-15 12:28         ` bug#37598: " Mathieu Othacehe
2019-10-15 13:14           ` [bug#37598] " Tanguy Le Carrour
2019-10-04  7:21 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
2019-10-04  7:23 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
2019-10-04  7:24 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
2019-10-14 14:29 ` [bug#37598] Updating patches Tanguy Le Carrour
2019-10-14 15:20   ` Mathieu Othacehe
2019-10-14 14:30 ` Tanguy Le Carrour [this message]
2019-10-14 14:31 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
2019-10-14 14:31 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
2019-10-14 14:32 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
2019-10-15  7:37 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
2019-10-15  7:38 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
2019-10-15  7:40 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
2019-10-15  7:41 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191014143055.ywvjssplxxeu63ut@rafflesia \
    --to=tanguy@bioneland.org \
    --cc=37598@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).