gnu: Add python-pytest-exploratory.

* gnu/packages/python-check.scm (python-pytest-exploratory): New variable.
This commit is contained in:
Maxim Cournoyer 2021-10-01 09:54:02 -04:00
parent 8579304e8f
commit 1aa7f017e8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -418,6 +418,35 @@ (define-public python-pytest-doctestplus
advanced doctest support and enables the testing of reStructuredText files.")
(license license:bsd-3)))
(define-public python-pytest-exploratory
(package
(name "python-pytest-exploratory")
(version "0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest_exploratory" version))
(sha256
(base32 "159rcqv6wrdqdlag1gz39n6fk58232hbxshan043ljgpp1qfs6xk"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "tests")))))))
(propagated-inputs
`(("python-ipython" ,python-ipython)
("python-py" ,python-py)
("python-pytest" ,python-pytest)))
(native-inputs `(("python-pytest" ,python-pytest)))
(home-page "https://github.com/nokia/pytest-exploratory")
(synopsis "Interactive console for Pytest")
(description "This Pytest plugin provides an IPython extension that allows
for interactively selecting and running Pytest tests.")
(license license:expat)))
(define-public python-pytest-filter-subpackage
(package
(name "python-pytest-filter-subpackage")