gnu: python-internetarchive: Use INVOKE.

* gnu/packages/web.scm (python-internetarchive)[arguments]: Substitute
INVOKE for SYSTEM*.
This commit is contained in:
Tobias Geerinckx-Rice 2018-04-01 07:47:52 +02:00
parent 16b5dafc4d
commit b8150fa091
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5239,12 +5239,12 @@ (define-public python-internetarchive
(add-installed-pythonpath inputs outputs)
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
":" (getenv "PATH")))
(zero? (system* "py.test" "-v" "-k"
(string-append
;; These tests attempt to make a connection to
;; an external web service.
"not test_get_item_with_kwargs"
" and not test_ia"))))))))
(invoke "py.test" "-v" "-k"
(string-append
;; These tests attempt to make a connection to
;; an external web service.
"not test_get_item_with_kwargs"
" and not test_ia")))))))
(propagated-inputs
`(("python-requests" ,python-requests)
("python-jsonpatch" ,python-jsonpatch-0.4)