gnu: python-clf: Use INVOKE.
* gnu/packages/web.scm (python-clf)[arguments]: Substitute INVOKE for SYSTEM*.
This commit is contained in:
parent
b8150fa091
commit
a145d7e9af
|
@ -5305,14 +5305,15 @@ (define-public python-clf
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'get-tests
|
(add-after 'unpack 'get-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")))
|
(copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
|
||||||
|
#t))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "nosetests"
|
(invoke "nosetests"
|
||||||
;; These tests require internet connection
|
;; These tests require an Internet connection.
|
||||||
"--exclude=test_browse"
|
"--exclude=test_browse"
|
||||||
"--exclude=test_command"
|
"--exclude=test_command"
|
||||||
"--exclude=test_search")))))))
|
"--exclude=test_search"))))))
|
||||||
(home-page "https://github.com/ncrocfer/clf")
|
(home-page "https://github.com/ncrocfer/clf")
|
||||||
(synopsis "Search code snippets on @url{https://commandlinefu.com}")
|
(synopsis "Search code snippets on @url{https://commandlinefu.com}")
|
||||||
(description "@code{clf} is a command line tool for searching code
|
(description "@code{clf} is a command line tool for searching code
|
||||||
|
|
Loading…
Reference in a new issue