aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/disk.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-10-10 22:05:37 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-10-10 22:12:03 +0200
commit3d0fdb34a24dda76130aae3e60743e2191fe3e3d (patch)
treee74597a57573dc2e8d2783b6d3a396025353fc3d /gnu/packages/disk.scm
parent3820d51bec3997bb336d6f7c5eff7c97958b13ae (diff)
downloadguix-3d0fdb34a24dda76130aae3e60743e2191fe3e3d.tar
guix-3d0fdb34a24dda76130aae3e60743e2191fe3e3d.tar.gz
gnu: ranger: Update to 1.9.2.
* gnu/packages/disk.scm (ranger): Update to 1.9.2. [native-inputs]: Order alphabetically. [arguments]: Actually run tests and remove useless #:test-target.
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r--gnu/packages/disk.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 8b843a7417..d88dbc8921 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -517,25 +517,24 @@ Duperemove can also take input from the @command{fdupes} program.")
(define-public ranger
(package
(name "ranger")
- (version "1.9.1")
+ (version "1.9.2")
(source (origin
(method url-fetch)
(uri (string-append "https://ranger.github.io/"
"ranger-" version ".tar.gz"))
(sha256
(base32
- "1lnzkrxcnlwnyi3z0v8ybyp8d5rm26qm35rr68kbs2lbs06inha0"))))
+ "12kbsqakbxs09y0x8hy66mmaf72rk0p850x7ryk2ghkq7wfin78f"))))
(build-system python-build-system)
(inputs
`(("w3m" ,w3m)))
(native-inputs ;for tests
- `(("python-pytest" ,python-pytest)
+ `(("python-flake8" ,python-flake8)
("python-pylint" ,python-pylint)
- ("python-flake8" ,python-flake8)
+ ("python-pytest" ,python-pytest)
("which" ,which)))
(arguments
- '(#:test-target "test"
- #:phases
+ '(#:phases
(modify-phases %standard-phases
(add-after 'configure 'wrap-program
;; Tell 'ranger' where 'w3mimgdisplay' is.
@@ -547,7 +546,11 @@ Duperemove can also take input from the @command{fdupes} program.")
"/libexec/w3m/w3mimgdisplay")))
(wrap-program ranger
`("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay)))
- #t))))))
+ #t)))
+ (replace 'check
+ ;; Running 'make test' simply prints 'Ran 0 tests in 0.000s'.
+ (lambda _
+ (invoke "py.test" "tests"))))))
(home-page "https://ranger.github.io/")
(synopsis "Console file manager")
(description "ranger is a console file manager with Vi key bindings. It