guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit 4ece2f5f1acd99b2601d419383c65464b6bb29e4
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Oct 13 18:23:53 2025 +0100

    gnu: Add python-pyramid-jinja2.
    
    * gnu/packages/python-web.scm (python-pyramid-jinja2): New variable.
    
    Change-Id: I211f1825932f2a43893a850365444741e3848092
---
 gnu/packages/python-web.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1ffb44067a..a4d69533f4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9686,6 +9686,43 @@ request/response web apps to larger, grown 
applications.")
  for the Pyramid web framework.")
       (license license:repoze))))
 
+(define-public python-pyramid-jinja2
+  (package
+    (name "python-pyramid-jinja2")
+    (version "2.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyramid_jinja2" version))
+       (sha256
+        (base32 "0xqnqbqhx9bkrg2ic3blflsk8xc8kh7i2dm2kha9apqkbjrqql4c"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; Two tests failed with assertion not equal.
+      #~(list "-k" "not test_it_relative_to_package and not test_options")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "setup.cfg"
+                ((" --cov") "")))))))
+    (native-inputs
+     (list python-pytest
+           python-setuptools
+           python-webtest))
+    (propagated-inputs
+     (list python-jinja2
+           python-markupsafe
+           python-pyramid
+           python-zope-deprecation))
+    (home-page "https://github.com/Pylons/pyramid_jinja2";)
+    (synopsis "Jinja2 template bindings for the Pyramid web framework")
+    (description "This package provides Jinja2 template bindings for the
+Pyramid web framework.")
+    (license license:repoze)))
+
 (define-public python-pyramid-mako
   ;; 1.1.0 was released in 2019, there a lot of compatability changes on
   ;; master, us the latest commit for now.

Reply via email to