Browse Source
gnu: python-internetarchive: Heed disabled test suite.
* gnu/packages/web.scm (python-internetarchive)[arguments]: Heed disable test
suite.
python-updates
Danny Milosavljevic
5 years ago
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with
10 additions and
5 deletions
-
gnu/packages/web.scm
|
|
@ -4716,11 +4716,16 @@ command-line arguments or read from stdin.") |
|
|
|
(modify-phases %standard-phases |
|
|
|
(delete 'check) |
|
|
|
(add-after 'install 'check |
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys) |
|
|
|
(add-installed-pythonpath inputs outputs) |
|
|
|
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin" |
|
|
|
":" (getenv "PATH"))) |
|
|
|
(zero? (system* "py.test"))))))) |
|
|
|
(lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys) |
|
|
|
(if tests? |
|
|
|
(begin |
|
|
|
(add-installed-pythonpath inputs outputs) |
|
|
|
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin" |
|
|
|
":" (getenv "PATH"))) |
|
|
|
(zero? (system* "py.test"))) |
|
|
|
(begin |
|
|
|
(format #t "test suite not run~%") |
|
|
|
#t))))))) |
|
|
|
(propagated-inputs |
|
|
|
`(("python-requests" ,python-requests) |
|
|
|
("python-jsonpatch" ,python-jsonpatch-0.4) |
|
|
|