summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-19 01:03:09 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-20 15:01:50 +0000
commit64d67c2dfa0947aeaf6dd28d548ab9ff8a2c58be (patch)
tree80460ff72683a55051b6624b6d180bea38601a88 /gnu/packages/python-check.scm
parentd33edea8ed470167d53a3b691d01338414630435 (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>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm35
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
2757skipped if any of the dependencies did fail or has been skipped.") 2757skipped if any of the dependencies did fail or has been skipped.")
2758 (license license:asl2.0))) 2758 (license license:asl2.0)))
2759 2759
2760(define-public python-pytest-describe
2761 (package
2762 (name "python-pytest-describe")
2763 (version "3.1.0")
2764 (source
2765 (origin
2766 (method git-fetch)
2767 (uri (git-reference
2768 (url "https://github.com/pytest-dev/pytest-describe")
2769 (commit version)))
2770 (file-name (git-file-name name version))
2771 (sha256
2772 (base32 "1miz5wi43fp4zi0a2h1lsj5zhg6681zalws7gamxcfswvp0xj2na"))))
2773 (build-system pyproject-build-system)
2774 (arguments
2775 (list
2776 ;; XXX: Requires the unpackaged python-uv.
2777 #:build-backend "setuptools.build_meta"
2778 #:phases
2779 #~(modify-phases %standard-phases
2780 (add-after 'unpack 'fix-pyproject.toml
2781 (lambda _
2782 (substitute* "pyproject.toml"
2783 (("\"License :: OSI Approved :: MIT License\",")
2784 "")))))))
2785 (propagated-inputs (list python-pytest))
2786 (native-inputs (list python-setuptools))
2787 (home-page "https://github.com/pytest-dev/pytest-describe")
2788 (synopsis "Describe-style plugin for pytest")
2789 (description
2790 "@code{pytest-describe} is a plugin for @code{python-pytest} that allows
2791tests to be written in arbitrary nested describe-blocks, similar to
2792@code{ruby-rspec}.")
2793 (license license:expat)))
2794
2760(define-public python-pytest-docker-tools 2795(define-public python-pytest-docker-tools
2761 (package 2796 (package
2762 (name "python-pytest-docker-tools") 2797 (name "python-pytest-docker-tools")