[PATCH] Add jinja2-cli

DoneSubmitted by Ellis Kenyő.
Details
2 participants
  • Ludovic Courtès
  • Ellis Kenyő
Owner
unassigned
Severity
normal
E
E
Ellis Kenyő wrote on 17 Feb 20:45 +0100
(address . guix-patches@gnu.org)(name . Ellis Kenyő)(address . me@elken.dev)
20210217194535.21983-1-me@elken.dev
Add jinja2 templating CLI. Mostly used as a dep for yadm
--- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
Toggle diff (42 lines)diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scmindex 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
L
L
Ludovic Courtès wrote on 2 Mar 20:46 +0100
(name . Ellis Kenyő)(address . me@elken.dev)(address . 46597-done@debbugs.gnu.org)
87zgzltk2u.fsf@gnu.org
Hi,
Ellis Kenyő <me@elken.dev> skribis:
Toggle quote (6 lines)> 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) andwith a commit log that follows our conventions.
Thanks!
Ludo’.
Toggle diff (18 lines)diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scmindex 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)))
Closed
?