guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 148f6c11477ff6eb85adc0311fc563d1253f8cae
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Oct 22 23:55:10 2025 +0200

    gnu: python-editor: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-editor):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: Ifbe40deb7d6a67419b62d7de906d1cc5cb108750
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f9b8c4275c..30fd0f3186 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21492,24 +21492,26 @@ by providing an implementation of the PEP 3156 
event-loop.")
 
 (define-public python-editor
   (package
-  (name "python-editor")
-  (version "1.0.4")
-  (source
-    (origin
-      (method url-fetch)
-      (uri (pypi-uri "python-editor" version))
-      (sha256
-        (base32
-          "0yrjh8w72ivqxi4i7xsg5b1vz15x8fg51xra7c3bgfyxqnyadzai"))))
-  (build-system python-build-system)
-  (arguments
-   '(#:tests? #f))   ;XXX: needs a TTY and an editor
-  (home-page "https://github.com/fmoo/python-editor";)
-  (synopsis "Programmatically open an editor, capture the result")
-  (description
-    "python-editor is a library that provides the editor module for
-programmatically interfacing with your system's $EDITOR.")
-  (license license:asl2.0)))
+    (name "python-editor")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fmoo/python-editor";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0hm5gcz5117dsq39bqfxpwazk4khqd272ran0n12x0x84mnqvfxa"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ;XXX: needs a TTY and an editor
+    (native-inputs (list python-setuptools))
+    (home-page "https://github.com/fmoo/python-editor";)
+    (synopsis "Programmatically open an editor, capture the result")
+    (description
+     "This package provides the editor module for programmatically interfacing
+with your system's $EDITOR.")
+    (license license:asl2.0)))
 
 (define-public python-multiprocessing-logging
   (package

Reply via email to