GNU bug report logs - #69453
[PATCH] gnu: Add python-jinja2-fragments.

Previous Next

Package: guix-patches;

Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>

Date: Wed, 28 Feb 2024 11:26:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 69453 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#69453; Package guix-patches. (Wed, 28 Feb 2024 11:26:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org. (Wed, 28 Feb 2024 11:26:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH] gnu: Add python-jinja2-fragments.
Date: Wed, 28 Feb 2024 12:20:40 +0100
Hi Guix,

This patch adds python-jinja2-fragments. I disabled tests because
they rely unconditionally on many web frameworks, some we don’t even have
packaged.

Regards.

* gnu/packages/python-xyz.scm (python-jinja2-fragments): New variable.

Change-Id: Iaa272050b8b54bb19a19fbf2e700eac8b9428063
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 348b3084b5..0f8429852d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6068,6 +6068,29 @@ (define-public python-jinja2-time
 templates.  A format string can be provided to control the output.")
     (license license:expat)))
 
+(define-public python-jinja2-fragments
+  (package
+    (name "python-jinja2-fragments")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jinja2_fragments" version))
+       (sha256
+        (base32 "0z98704fzz5xl54a95s3lii2wc8y5cz6zi3ajiij03wjxfshj877"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; Framework integration tests that depend on too many packages.
+      #:tests? #f))
+    (native-inputs (list python-setuptools python-wheel))
+    (propagated-inputs (list python-jinja2))
+    (home-page "https://github.com/sponsfreixes/jinja2-fragments")
+    (synopsis "Jinja2 extension for template fragments")
+    (description
+     "Render Jinja2 template block as HTML page fragments on Python web frameworks.")
+    (license license:expat)))  ;; MIT
+
 (define-public python-pysdl2
   (package
     (name "python-pysdl2")

base-commit: 03a03ed64a62e23b9d3da8758dbf7754b186982f
-- 
2.41.0





This bug report was last modified 264 days ago.

Previous Next


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