guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 77faad4aa2461bb3c8ae811288b0a852788d20e5
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 31 23:36:28 2025 +0200

    gnu: python-pyte: Switch to pyproject.
    
    * gnu/packages/terminals.scm (python-pyte):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Remove them.
    [native-inputs]: Add python-setuptools, python-wheel.  Remove
    python-pytest-runner.
    
    Change-Id: I6467cc03b9d71de5a5b70f39def7f409a64bdfce
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/terminals.scm | 27 +++++++++------------------
 1 file changed, 9 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 4d14c334ae..b771e4505d 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1074,25 +1074,16 @@ usable with any list--including files, command history, 
processes and more.")
     (version "0.8.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "pyte" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/selectel/pyte";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1c4pn2qijk6q8q25klfq365gbvlkrh8c0lz5lrr7b7kmh6vx3gxr"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'remove-failing-test
-           ;; TODO: Reenable when the `captured` files required by this test
-           ;; are included in the archive.
-           (lambda _
-             (delete-file "tests/test_input_output.py")
-             #t)))))
-    (propagated-inputs
-     (list python-wcwidth))
-    (native-inputs
-     (list python-pytest-runner python-pytest))
+        (base32 "0wvg16y79az9ingfdkrvr649bggsaxvyjlrcyjmb3s9fi9dyrfw0"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-wcwidth))
+    (native-inputs (list python-pytest python-setuptools python-wheel))
     (home-page "https://pyte.readthedocs.io/";)
     (synopsis "Simple VTXXX-compatible terminal emulator")
     (description "@code{pyte} is an in-memory VTxxx-compatible terminal

Reply via email to