diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-14 00:30:38 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 18:34:55 +0000 |
| commit | bbbcb017e7897d5c41be4677f3fe12f4137a83d1 (patch) | |
| tree | b7bc32ff4f7cf5aa56176f2746a37aac21a84efc /gnu | |
| parent | 9909c6f8bf06d90e25a7023c9b299f3cf858da87 (diff) | |
gnu: Add python-pyramid-tm.
* gnu/packages/python-web.scm (python-pyramid-tm): New variable.
Change-Id: Ica443a666e2188d98c78596ff9d69b5ff9f8aca8
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 610097b13e4..8fcf2115375 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -10364,6 +10364,40 @@ and can retry them a configurable number of times under certain \"retryable\" error conditions before indicating a failure to the client.") (license license:expat))) +(define-public python-pyramid-tm + (package + (name "python-pyramid-tm") + (version "2.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyramid_tm" version)) + (sha256 + (base32 "173hg16hldfh5n3mn482xx64nldk308dzri31jd0qa4528cx4j41")))) + (build-system pyproject-build-system) + (arguments + (list + #: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-pyramid + python-transaction)) + (home-page "https://github.com/Pylons/pyramid_tm") + (synopsis "Centralized transaction management for Pyramid") + (description + "@code{pyramid_tm} is a package which allows Pyramid requests to join the +active @url{https://pypi.org/project/transaction/, transaction} as provided by +the Python transaction package.") + (license license:repoze))) + (define-public python-random-user-agent (package (name "python-random-user-agent") |
