diff options
| author | Vinicius Monego <monego@posteo.net> | 2025-06-21 17:11:52 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2025-06-21 23:27:33 -0300 |
| commit | 4258e963f4c33b4706d12a2d87fc906ff5434683 (patch) | |
| tree | 44fe0289226e07b02e39bf540874121e66f7da94 /gnu | |
| parent | b6b6d5069811e8d117861ae7e67e229f432b8112 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/disk.scm | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 8363b21d180..51e2fd79282 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> | 31 | ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> |
| 32 | ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> | 32 | ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 33 | ;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> | 33 | ;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> |
| 34 | ;;; Copyright © 2025 Vinicius Monego <monego@posteo.net> | ||
| 34 | 35 | ||
| 35 | ;;; | 36 | ;;; |
| 36 | ;;; This file is part of GNU Guix. | 37 | ;;; This file is part of GNU Guix. |
| @@ -978,25 +979,21 @@ Duperemove can also take input from the @command{fdupes} program.") | |||
| 978 | (define-public ranger | 979 | (define-public ranger |
| 979 | (package | 980 | (package |
| 980 | (name "ranger") | 981 | (name "ranger") |
| 981 | (version "1.9.3") | 982 | (version "1.9.4") |
| 982 | (source (origin | 983 | (source (origin |
| 983 | (method url-fetch) | 984 | (method url-fetch) |
| 984 | (uri (string-append "https://ranger.github.io/" | 985 | (uri (string-append "https://ranger.github.io/" |
| 985 | "ranger-" version ".tar.gz")) | 986 | "ranger-" version ".tar.gz")) |
| 986 | (sha256 | 987 | (sha256 |
| 987 | (base32 | 988 | (base32 |
| 988 | "0lfjrpv3z4h0knd3v94fijrw2zjba51mrp3mjqx2c98wr428l26f")))) | 989 | "128ggxfhfmckl7x89flwxks7gxq0m02insdizcsp62193c6mxmvs")))) |
| 989 | (build-system python-build-system) | 990 | (build-system pyproject-build-system) |
| 990 | (inputs | 991 | (inputs |
| 991 | (list bash-minimal w3m)) | 992 | (list bash-minimal w3m)) |
| 992 | (native-inputs | 993 | (native-inputs |
| 993 | (list which | 994 | (list python-pytest python-setuptools python-wheel)) |
| 994 | ;; For tests. | ||
| 995 | python-pytest)) | ||
| 996 | (arguments | 995 | (arguments |
| 997 | '( ;; The 'test' target runs developer tools like pylint, which fail. | 996 | '(#:phases |
| 998 | #:test-target "test_pytest" | ||
| 999 | #:phases | ||
| 1000 | (modify-phases %standard-phases | 997 | (modify-phases %standard-phases |
| 1001 | (add-after 'install 'wrap-program | 998 | (add-after 'install 'wrap-program |
| 1002 | ;; Tell 'ranger' where 'w3mimgdisplay' is. | 999 | ;; Tell 'ranger' where 'w3mimgdisplay' is. |
| @@ -1007,11 +1004,7 @@ Duperemove can also take input from the @command{fdupes} program.") | |||
| 1007 | (w3mimgdisplay (string-append w3m | 1004 | (w3mimgdisplay (string-append w3m |
| 1008 | "/libexec/w3m/w3mimgdisplay"))) | 1005 | "/libexec/w3m/w3mimgdisplay"))) |
| 1009 | (wrap-program ranger | 1006 | (wrap-program ranger |
| 1010 | `("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay)))))) | 1007 | `("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay))))))))) |
| 1011 | (replace 'check | ||
| 1012 | ;; The default check phase simply prints 'Ran 0 tests in 0.000s'. | ||
| 1013 | (lambda* (#:key test-target #:allow-other-keys) | ||
| 1014 | (invoke "make" test-target)))))) | ||
| 1015 | (home-page "https://ranger.github.io/") | 1008 | (home-page "https://ranger.github.io/") |
| 1016 | (synopsis "Console file manager") | 1009 | (synopsis "Console file manager") |
| 1017 | (description "ranger is a console file manager with Vi key bindings. It | 1010 | (description "ranger is a console file manager with Vi key bindings. It |
