summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-19 08:43:25 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-22 23:21:50 +0100
commitf777c53cd1a17f8489a71b19cdd41167168c40ff (patch)
treedcc6334528375c97632e46b57d24aa0ebb105faf /gnu/packages/python-check.scm
parent0a33d54d56c0f376107d98b359c15f9c9925b7e9 (diff)
gnu: python-pytest-vcr: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-vcr): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: I80e0b9fea63ecc7b480c18baee3eaf5dabe24928 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm34
1 files changed, 12 insertions, 22 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 0c3e1746499..e651f825887 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3395,31 +3395,21 @@ friendly library for concurrency and async I/O in Python.")
(name "python-pytest-vcr")
(version (git-version "1.0.2" revision commit))
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ktosiek/pytest-vcr")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1yk988zi0la6zpcm3fff0mxf942di2jiymrfqas19nyngj5ygaqs"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "tests/"))))))
- (native-inputs
- (list python-urllib3))
- (propagated-inputs
- (list python-pytest python-vcrpy))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ktosiek/pytest-vcr")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1yk988zi0la6zpcm3fff0mxf942di2jiymrfqas19nyngj5ygaqs"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-urllib3 python-setuptools python-wheel))
+ (propagated-inputs (list python-pytest python-vcrpy))
(home-page "https://github.com/ktosiek/pytest-vcr")
(synopsis "Plugin for managing VCR.py cassettes")
(description
- "Plugin for managing VCR.py cassettes.")
+ "This package is a pytest plugin for managing VCR.py cassettes.")
(license license:expat))))
(define-public python-pytest-virtualenv