guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9195f51772a80a3cbc7465dc511009d9a3e44771
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Sep 19 02:14:41 2026 +0100

    gnu: Add python-runs.
    
    * gnu/packages/python-xyz.scm (python-runs): New variable.
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 26d97e980ae..e9337a91ae5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3434,6 +3434,36 @@ renderables.")
 well-formed Roman numerals.")
     (license license:expat)))
 
+(define-public python-runs
+  (package
+    (name "python-runs")
+    (version "1.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/rec/runs";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0grzfnamxgnpvf3m0c139sknyj31vsvcplvcng6maq60xvnqrbw1"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; Expecting ".git".
+      #~(list "--deselect=test/test_runs.py::TestRunsActual::test_many")))
+    (native-inputs (list python-pytest python-tdir python-uv-build))
+    (propagated-inputs (list python-xmod))
+    (home-page "https://github.com/rec/runs";)
+    (synopsis "Run a block of text as a subprocess")
+    (description
+     "@code{runs} has improved versions of @code{call()}, @code{check_call()},
+@code{check_output()}, and @code{run()} from Python's subprocess module that
+handle multiple commands and blocks of text, fix some defects, and add some
+features.")
+    (license license:expat)))
+
 (define-public python-rush
   (package
     (name "python-rush")

Reply via email to