mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: python-pytest-vcr: Fix integration with pytest-5.
* gnu/packages/python-check.scm (python-pytest-vcr): Update to 1.0.2-1.4d6c7b3.
This commit is contained in:
parent
cd005bfea5
commit
d6fedf6bf7
1 changed files with 32 additions and 29 deletions
|
@ -126,35 +126,38 @@ (define-public python-vcrpy
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-pytest-vcr
|
(define-public python-pytest-vcr
|
||||||
(package
|
;; This commit fixes integration with pytest-5
|
||||||
(name "python-pytest-vcr")
|
(let ((commit "4d6c7b3e379a6a7cba0b8f9d20b704dc976e9f05")
|
||||||
(version "1.0.2")
|
(revision "1"))
|
||||||
(source
|
(package
|
||||||
(origin
|
(name "python-pytest-vcr")
|
||||||
(method git-fetch)
|
(version (git-version "1.0.2" revision commit))
|
||||||
(uri (git-reference
|
(source
|
||||||
(url "https://github.com/ktosiek/pytest-vcr")
|
(origin
|
||||||
(commit version)))
|
(method git-fetch)
|
||||||
(file-name (git-file-name name version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/ktosiek/pytest-vcr")
|
||||||
(base32
|
(commit commit)))
|
||||||
"1i6fin91mklvbi8jzfiswvwf1m91f43smpj36a17xrzk4gisfs6i"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system python-build-system)
|
(sha256
|
||||||
(arguments
|
(base32
|
||||||
`(#:phases
|
"1yk988zi0la6zpcm3fff0mxf942di2jiymrfqas19nyngj5ygaqs"))))
|
||||||
(modify-phases %standard-phases
|
(build-system python-build-system)
|
||||||
(replace 'check
|
(arguments
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
`(#:phases
|
||||||
(add-installed-pythonpath inputs outputs)
|
(modify-phases %standard-phases
|
||||||
(invoke "pytest" "tests/"))))))
|
(replace 'check
|
||||||
(propagated-inputs
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
`(("python-pytest" ,python-pytest)
|
(add-installed-pythonpath inputs outputs)
|
||||||
("python-vcrpy" ,python-vcrpy)))
|
(invoke "pytest" "tests/"))))))
|
||||||
(home-page "https://github.com/ktosiek/pytest-vcr")
|
(propagated-inputs
|
||||||
(synopsis "Plugin for managing VCR.py cassettes")
|
`(("python-pytest" ,python-pytest)
|
||||||
(description
|
("python-vcrpy" ,python-vcrpy)))
|
||||||
"Plugin for managing VCR.py cassettes.")
|
(home-page "https://github.com/ktosiek/pytest-vcr")
|
||||||
(license license:expat)))
|
(synopsis "Plugin for managing VCR.py cassettes")
|
||||||
|
(description
|
||||||
|
"Plugin for managing VCR.py cassettes.")
|
||||||
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public python-pytest-checkdocs
|
(define-public python-pytest-checkdocs
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue