diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-13 18:16:18 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 18:34:54 +0000 |
| commit | 4c3b50add244abea1b35d95e49de2bc66aee893a (patch) | |
| tree | 43004a521253a31507b5a7d570c89636a21295cf /gnu/packages | |
| parent | 0f2da75e6a29c0247f2938cab2f545fde5b26f44 (diff) | |
gnu: Add python-pyramid-mako.
* gnu/packages/python-web.scm (python-pyramid-mako): New variable.
Change-Id: I990dd1754cc9fd6d0d5a6e2b479b1fdc6d8f0c30
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-web.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4b77334b40e..16bd48418c9 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") |
