diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-19 01:03:09 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-20 15:01:50 +0000 |
| commit | 64d67c2dfa0947aeaf6dd28d548ab9ff8a2c58be (patch) | |
| tree | 80460ff72683a55051b6624b6d180bea38601a88 | |
| parent | d33edea8ed470167d53a3b691d01338414630435 (diff) | |
gnu: Add python-pytest-describe.
* gnu/packages/python-check.scm (python-pytest-describe): New variable.
Change-Id: I8b0e239bddfe2a13e6b1b04063e5529b07c1cb45
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-check.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b544de336fa..7f5d9f26133 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2757,6 +2757,41 @@ to mark some tests as dependent from other tests. These tests will then be skipped if any of the dependencies did fail or has been skipped.") (license license:asl2.0))) +(define-public python-pytest-describe + (package + (name "python-pytest-describe") + (version "3.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pytest-dev/pytest-describe") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1miz5wi43fp4zi0a2h1lsj5zhg6681zalws7gamxcfswvp0xj2na")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: Requires the unpackaged python-uv. + #:build-backend "setuptools.build_meta" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-pyproject.toml + (lambda _ + (substitute* "pyproject.toml" + (("\"License :: OSI Approved :: MIT License\",") + ""))))))) + (propagated-inputs (list python-pytest)) + (native-inputs (list python-setuptools)) + (home-page "https://github.com/pytest-dev/pytest-describe") + (synopsis "Describe-style plugin for pytest") + (description + "@code{pytest-describe} is a plugin for @code{python-pytest} that allows +tests to be written in arbitrary nested describe-blocks, similar to +@code{ruby-rspec}.") + (license license:expat))) + (define-public python-pytest-docker-tools (package (name "python-pytest-docker-tools") |
