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

commit 0d8499eef224aa5bba4914f631b8d8630a88ce39
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Oct 13 18:16:18 2025 +0100

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 39dd3999f1..1ffb44067a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9686,6 +9686,45 @@ request/response web apps to larger, grown 
applications.")
  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.
+  (let ((commit "1a6f4c00c7134530d2975f34d904b64a41b28b21")
+        (revision "0"))
+    (package
+      (name "python-pyramid-mako")
+      (version (git-version "1.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://github.com/Pylons/pyramid_mako";)
+                (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0v0571z2gby4apsalkdk83gs0d5mw79d56518h3bwwxzbq32kkns"))))
+      (build-system pyproject-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'fix-pytest-config
+              (lambda _
+                (substitute* "pyproject.toml"
+                  ((" --cov --cov-report=term-missing") "")))))))
+      (native-inputs
+       (list python-pytest
+             python-setuptools))
+      (propagated-inputs
+       (list python-mako
+             python-pyramid))
+      (home-page "https://github.com/Pylons/pyramid_mako";)
+      (synopsis "Mako template bindings for the Pyramid web framework")
+      (description
+       "This package provides Mako template bindings for the Pyramid web
+framework.")
+      (license license:repoze))))
+
 (define-public python-random-user-agent
   (package
     (name "python-random-user-agent")

Reply via email to