guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4c3b50add244abea1b35d95e49de2bc66aee893a
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 4b77334b40..16bd48418c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10222,6 +10222,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")