From bbbcb017e7897d5c41be4677f3fe12f4137a83d1 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 14 Oct 2025 00:30:38 +0100 Subject: [PATCH] gnu: Add python-pyramid-tm. * gnu/packages/python-web.scm (python-pyramid-tm): New variable. Change-Id: Ica443a666e2188d98c78596ff9d69b5ff9f8aca8 --- gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 610097b13e..8fcf211537 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")