mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pytest-subtests: Update to 0.14.2.
* gnu/packages/python-check.scm (python-pytest-subtests): Update to 0.14.2. [build-system]: Use pyproject. [arguments] <phases>: Use default 'check. [propagated-inputs]: Add python-attrs. [native-inputs]: Remove python-pytest; add python-pytest-bootstrap, python-setuptools, and python-wheel. Change-Id: I26b878f3a540428b55ab626e1baa55206a6556c8
This commit is contained in:
parent
ab2370955f
commit
2458b08913
1 changed files with 11 additions and 13 deletions
|
@ -3177,23 +3177,21 @@ through Python's socket interface")
|
|||
(define-public python-pytest-subtests
|
||||
(package
|
||||
(name "python-pytest-subtests")
|
||||
(version "0.10.0")
|
||||
(version "0.14.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "pytest-subtests" version))
|
||||
(uri (pypi-uri "pytest_subtests" version))
|
||||
(sha256
|
||||
(base32 "05zvnxx0hdrd9w4z51qhchg3nkz5s47agryw68g8q7krq5kim5nr"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "python" "-m" "pytest")))))))
|
||||
(native-inputs (list python-pytest python-setuptools-scm))
|
||||
(base32 "1ph0z3a0lywzfw7illl3khydqffi8im2203dlxqfwa6mbxkahm3i"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-pytest-bootstrap
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-attrs))
|
||||
(home-page "https://github.com/pytest-dev/pytest-subtests")
|
||||
(synopsis "Unittest subTest() support and subtests fixture")
|
||||
(description "This Pytest plugin provides unittest @code{subTest()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue