summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-31 02:09:10 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:22 +0100
commitdc0fad63c30eb48e8ba2f69b4a73fe0289b1a076 (patch)
tree0a92a3436ead62c74df62963b2aad40767c972e3 /gnu/packages/python-build.scm
parentec6b1c830c7df57cf5b016a9f05e534cb369192e (diff)
gnu: python-testpath: Move to (gnu packages python-build).
* gnu/packages/check.scm (python-testpath): Move from here… * gnu/packages/python-build.scm (python-testpath): …to here. [native-inputs]: Replace python-pytest by python-pytest-bootstrap. Change-Id: I3796f3cddc366d86c99fcef72b7b950791e99ef2 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 866560168d8..4e520d67c82 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -126,6 +126,32 @@ matching of file paths.")
stripped of Pytest specific details.")
(license license:expat)))
+(define-public python-testpath
+ (package
+ (name "python-testpath")
+ (version "0.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jupyter/testpath")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0pib1xsvjwwyyhv0sqzxvgg814k83dmv1ppwfkkq9llkhr8k7s9y"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-flit-core
+ python-pytest-bootstrap))
+ (home-page "https://github.com/jupyter/testpath")
+ (synopsis "Test utilities for code working with files and commands")
+ (description
+ "Testpath is a collection of utilities for Python code working with files
+and commands. It contains functions to check things on the file system, and
+tools for mocking system commands and recording calls to those.")
+ (license license:expat)))
+
(define-public python-toml
(package
(name "python-toml")