mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add python-pytest-repeat.
* gnu/packages/python-check.scm (python-pytest-repeat): New variable.
This commit is contained in:
parent
7b59508ca7
commit
e2c58b9150
1 changed files with 29 additions and 0 deletions
|
@ -553,6 +553,35 @@ (define-public python-pytest-remotedata
|
|||
internet.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-pytest-repeat
|
||||
(package
|
||||
(name "python-pytest-repeat")
|
||||
(version "0.9.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "pytest-repeat" version))
|
||||
(sha256
|
||||
(base32 "0nxdbghjz6v4xidl5ky9wlx6z4has3vygj5r7va5ccdb8nbjilsw"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest")))))))
|
||||
(propagated-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
(native-inputs
|
||||
`(("python-setuptools-scm" ,python-setuptools-scm)))
|
||||
(home-page "https://github.com/pytest-dev/pytest-repeat")
|
||||
(synopsis "Pytest plugin for repeating tests")
|
||||
(description "@code{pytest-repeat} is a plugin for Pytest that makes it
|
||||
enables repeating a single test, or multiple tests, a specific number of
|
||||
times.")
|
||||
(license license:mpl2.0)))
|
||||
|
||||
(define-public python-pytest-mpl
|
||||
(package
|
||||
(name "python-pytest-mpl")
|
||||
|
|
Loading…
Reference in a new issue