GNU bug report logs - #46597
[PATCH] Add jinja2-cli

Previous Next

Package: guix-patches;

Reported by: Ellis Kenyő <me <at> elken.dev>

Date: Wed, 17 Feb 2021 19:46:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46597: closed ([PATCH] Add jinja2-cli)
Date: Tue, 02 Mar 2021 19:47:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 02 Mar 2021 20:46:33 +0100
with message-id <87zgzltk2u.fsf <at> gnu.org>
and subject line Re: bug#46597: [PATCH] Add jinja2-cli
has caused the debbugs.gnu.org bug report #46597,
regarding [PATCH] Add jinja2-cli
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46597: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46597
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ellis Kenyő <me <at> elken.dev>
To: guix-patches <at> gnu.org
Cc: Ellis Kenyő <me <at> elken.dev>
Subject: [PATCH] Add jinja2-cli
Date: Wed, 17 Feb 2021 19:45:36 +0000
Add jinja2 templating CLI. Mostly used as a dep for yadm

---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5b5514d4cd..e9bf122e0a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -95,6 +95,7 @@
 ;;; Copyright © 2019 Kristian Trandem <kristian <at> devup.no>
 ;;; Copyright © 2020, 2021 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith <at> outlook.com>
+;;; Copyright © 2021 Ellis Kenyő <me <at> elken.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23448,3 +23449,27 @@ Qt applications.")
       "Pivy provides python bindings for Coin, a 3D graphics library with an
 Application Programming Interface based on the Open Inventor 2.1 API.")
     (license license:isc)))
+
+(define-public python-jinja2-cli
+  (package
+    (name "python-jinja2-cli")
+    (version "0.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "jinja2-cli" version))
+        (sha256
+          (base32
+            "0vikx7v6fbvww6kfrv0k5a24jyv3ak7nindg60906pdd1m9qvkcw"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-jinja2" ,python-jinja2)))
+    (native-inputs
+      `(("python-flake8" ,python-flake8)
+        ("python-jinja2" ,python-jinja2)
+        ("python-pytest" ,python-pytest)))
+    (home-page
+      "https://github.com/mattrobenolt/jinja2-cli")
+    (synopsis "A CLI interface to Jinja2")
+    (description "A CLI interface to Jinja2")
+    (license license:bsd-3)))
-- 
2.30.0



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Ellis Kenyő <me <at> elken.dev>
Cc: 46597-done <at> debbugs.gnu.org
Subject: Re: bug#46597: [PATCH] Add jinja2-cli
Date: Tue, 02 Mar 2021 20:46:33 +0100
[Message part 4 (text/plain, inline)]
Hi,

Ellis Kenyő <me <at> elken.dev> skribis:

> Add jinja2 templating CLI. Mostly used as a dep for yadm
>
> ---
>  gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

Applied with the changes below (following our packaging guidelines) and
with a commit log that follows our conventions.

Thanks!

Ludo’.

[Message part 5 (text/x-patch, inline)]
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c875f38080..ae5e5bb649 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24007,8 +24007,9 @@ and frame grabber interface.")
       `(("python-flake8" ,python-flake8)
         ("python-jinja2" ,python-jinja2)
         ("python-pytest" ,python-pytest)))
-    (home-page
-      "https://github.com/mattrobenolt/jinja2-cli")
-    (synopsis "A CLI interface to Jinja2")
-    (description "A CLI interface to Jinja2")
+    (home-page "https://github.com/mattrobenolt/jinja2-cli")
+    (synopsis "Command-line interface to Jinja2")
+    (description
+     "This package provides a command-line interface (CLI) to the Jinja2
+template engine.")
     (license license:bsd-3)))

This bug report was last modified 4 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.