unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46597] [PATCH] Add jinja2-cli
@ 2021-02-17 19:45 Ellis Kenyő via Guix-patches via
  2021-03-02 19:46 ` bug#46597: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ellis Kenyő via Guix-patches via @ 2021-02-17 19:45 UTC (permalink / raw)
  To: 46597; +Cc: Ellis Kenyő

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@devup.no>
 ;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
+;;; Copyright © 2021 Ellis Kenyő <me@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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#46597: [PATCH] Add jinja2-cli
  2021-02-17 19:45 [bug#46597] [PATCH] Add jinja2-cli Ellis Kenyő via Guix-patches via
@ 2021-03-02 19:46 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-03-02 19:46 UTC (permalink / raw)
  To: Ellis Kenyő; +Cc: 46597-done

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

Hi,

Ellis Kenyő <me@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’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 774 bytes --]

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)))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-02 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 19:45 [bug#46597] [PATCH] Add jinja2-cli Ellis Kenyő via Guix-patches via
2021-03-02 19:46 ` bug#46597: " Ludovic Courtès

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).