[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: ranger: Update to 1.9.2.
From: |
Tobias Geerinckx-Rice |
Subject: |
05/05: gnu: ranger: Update to 1.9.2. |
Date: |
Wed, 10 Oct 2018 16:14:48 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 3d0fdb34a24dda76130aae3e60743e2191fe3e3d
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Wed Oct 10 22:05:37 2018 +0200
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.
---
gnu/packages/disk.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 8b843a7..d88dbc8 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