summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 14:02:01 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:55:11 +0000
commit32fbb4e8abce36844047e07aa8da98c59e1cf42d (patch)
treefe0f9d658a516e856fecb89a8fbb467562232a0d /gnu/packages/python-web.scm
parent273f5fe9e27184a4069cdbc542b475f5d0e10530 (diff)
gnu: python-betamax-matchers: Switch to pyproject.
* gnu/packages/python-web.scm (python-betamax-matchers): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: Ie63eab8123ebe2089efa0e86a39d8e6dc545bbe4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7b9af41b575..008db68c7ef 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7724,14 +7724,16 @@ during future tests. It is designed to work with python-requests.")
(version "0.4.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "betamax-matchers" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sigmavirus24/betamax_matchers")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-betamax python-requests-toolbelt))
+ (base32 "0lyg3r91hwfvavyi5k6sddcla37igigycfv1mx40c32byqwl6pq5"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
+ (propagated-inputs (list python-betamax python-requests-toolbelt))
(home-page "https://github.com/sigmavirus24/betamax_matchers")
(synopsis "VCR imitation for python-requests")
(description "@code{betamax-matchers} provides a set of Matchers for