guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e03ecde37f1a68505169fa91a8ed40a035682b68
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 14 01:10:05 2025 +0200

    gnu: python-executor: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-executor):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-mock, python-pytest, python-setuptools.
    [decription]: Improve style.
    
    Change-Id: Iaa0008971f89d92158170a066a742f883e9e1017
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 833acf91b6..fc4ee1e03c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12707,13 +12707,17 @@ currently doing, particularly the AST node being 
executed.")
     (version "23.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "executor" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/xolox/python-executor";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0g83yr54j0vcwhy6h7n0jsd7q0q630kwa6v9kqzlzrm9xj6c3ip1"))))
-    (build-system python-build-system)
+        (base32 "1mr0662c5l5zx0wjapcprp8p2xawfd0im3616df5sgv79fqzwfqs"))))
+    (build-system pyproject-build-system)
     (arguments
-    `(#:tests? #f)) ; TODO: tests require root/sudo
+     (list #:tests? #f)) ;TODO: tests require root/sudo
+    (native-inputs (list python-mock python-pytest python-setuptools))
     (propagated-inputs
      (list python-six
            python-property-manager
@@ -12721,11 +12725,12 @@ currently doing, particularly the AST node being 
executed.")
            python-virtualenv))
     (home-page "https://github.com/xolox/python-executor";)
     (synopsis "Programmer friendly subprocess wrapper")
-    (description "The @code{executor} package is a simple wrapper for Python’s
-subprocess module that makes it very easy to handle subprocesses on UNIX
-systems with proper escaping of arguments and error checking currently doing,
-particularly the AST node being executed.")
-    (license license:expat))) ; MIT license
+    (description
+     "The @code{executor} package is a simple wrapper for Python’s subprocess
+module that makes it very easy to handle subprocesses on UNIX systems with
+proper escaping of arguments and error checking currently doing, particularly
+the AST node being executed.")
+    (license license:expat)))
 
 (define-public python-roifile
   (package

Reply via email to