mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 13:09:23 -05:00
gnu: python-xmlschema: Do not set PYTHONPATH.
* gnu/packages/xml.scm (python-xmlschema): Remove trailing #t. [phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
parent
44db90b39f
commit
fcaec1c756
1 changed files with 7 additions and 12 deletions
|
@ -2465,19 +2465,14 @@ (define-public python-xmlschema
|
|||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key (tests? #t) #:allow-other-keys)
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(if tests?
|
||||
(begin
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append "./build/lib:"
|
||||
(getenv "PYTHONPATH")))
|
||||
;; Disable test_export_remote__issue_187, which is known to
|
||||
;; fail (see:
|
||||
;; https://github.com/sissaschool/xmlschema/issues/206).
|
||||
(invoke "python" "-m" "unittest" "-v"
|
||||
"-k" "not test_export_remote__issue_187"))
|
||||
(format #t "test suite not run~%"))
|
||||
#t)))))
|
||||
;; Disable test_export_remote__issue_187, which is known to
|
||||
;; fail (see:
|
||||
;; https://github.com/sissaschool/xmlschema/issues/206).
|
||||
(invoke "python" "-m" "unittest" "-v"
|
||||
"-k" "not test_export_remote__issue_187")
|
||||
(format #t "test suite not run~%")))))))
|
||||
(native-inputs
|
||||
`(("python-lxml" ,python-lxml))) ;for tests
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue