mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
0a33d54d56
commit
f777c53cd1
1 changed files with 12 additions and 22 deletions
|
@ -3395,31 +3395,21 @@ friendly library for concurrency and async I/O in Python.")
|
||||||
(name "python-pytest-vcr")
|
(name "python-pytest-vcr")
|
||||||
(version (git-version "1.0.2" revision commit))
|
(version (git-version "1.0.2" revision commit))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/ktosiek/pytest-vcr")
|
(url "https://github.com/ktosiek/pytest-vcr")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1yk988zi0la6zpcm3fff0mxf942di2jiymrfqas19nyngj5ygaqs"))))
|
||||||
"1yk988zi0la6zpcm3fff0mxf942di2jiymrfqas19nyngj5ygaqs"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(native-inputs (list python-urllib3 python-setuptools python-wheel))
|
||||||
(arguments
|
(propagated-inputs (list python-pytest python-vcrpy))
|
||||||
`(#: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))
|
|
||||||
(home-page "https://github.com/ktosiek/pytest-vcr")
|
(home-page "https://github.com/ktosiek/pytest-vcr")
|
||||||
(synopsis "Plugin for managing VCR.py cassettes")
|
(synopsis "Plugin for managing VCR.py cassettes")
|
||||||
(description
|
(description
|
||||||
"Plugin for managing VCR.py cassettes.")
|
"This package is a pytest plugin for managing VCR.py cassettes.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public python-pytest-virtualenv
|
(define-public python-pytest-virtualenv
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue