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:
Maxim Cournoyer 2021-01-22 16:46:23 -05:00
parent 44db90b39f
commit fcaec1c756
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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