guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4258e963f4c33b4706d12a2d87fc906ff5434683
Author: Vinicius Monego <[email protected]>
AuthorDate: Sat Jun 21 17:11:52 2025 -0300

    gnu: ranger: Update to 1.9.4.
    
    * gnu/packages/disk.scm (ranger): Update to 1.9.4.
    [build-system]: Use pyproject-build-system.
    [native-inputs]: Remove which. Add python-setuptools, python-wheel.
    [arguments]: Remove '#:test-target'. Do not override the 'check' phase.
    
    Change-Id: I96bdfebd8ffb7793835fdf33f6f68249fe59eaba
---
 gnu/packages/disk.scm | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 8363b21d18..51e2fd7928 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2023 Zheng Junjie <[email protected]>
 ;;; Copyright © 2024 Sharlatan Hellseher <[email protected]>
 ;;; Copyright © 2025 Ashish SHUKLA <[email protected]>
+;;; Copyright © 2025 Vinicius Monego <[email protected]>
 
 ;;;
 ;;; This file is part of GNU Guix.
@@ -978,25 +979,21 @@ Duperemove can also take input from the @command{fdupes} 
program.")
 (define-public ranger
   (package
     (name "ranger")
-    (version "1.9.3")
+    (version "1.9.4")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://ranger.github.io/";
                                   "ranger-" version ".tar.gz"))
               (sha256
                (base32
-                "0lfjrpv3z4h0knd3v94fijrw2zjba51mrp3mjqx2c98wr428l26f"))))
-    (build-system python-build-system)
+                "128ggxfhfmckl7x89flwxks7gxq0m02insdizcsp62193c6mxmvs"))))
+    (build-system pyproject-build-system)
     (inputs
      (list bash-minimal w3m))
     (native-inputs
-     (list which
-           ;; For tests.
-           python-pytest))
+     (list python-pytest python-setuptools python-wheel))
     (arguments
-     '( ;; The 'test' target runs developer tools like pylint, which fail.
-       #:test-target "test_pytest"
-       #:phases
+     '(#:phases
        (modify-phases %standard-phases
          (add-after 'install 'wrap-program
            ;; Tell 'ranger' where 'w3mimgdisplay' is.
@@ -1007,11 +1004,7 @@ Duperemove can also take input from the @command{fdupes} 
program.")
                     (w3mimgdisplay (string-append w3m
                                    "/libexec/w3m/w3mimgdisplay")))
                (wrap-program ranger
-                 `("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay))))))
-         (replace 'check
-           ;; The default check phase simply prints 'Ran 0 tests in 0.000s'.
-           (lambda* (#:key test-target #:allow-other-keys)
-             (invoke "make" test-target))))))
+                 `("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay)))))))))
     (home-page "https://ranger.github.io/";)
     (synopsis "Console file manager")
     (description "ranger is a console file manager with Vi key bindings.  It

Reply via email to