gnu: behave: Do not set PYTHONPATH.

* gnu/packages/check.scm (behave)[arguments]: Remove the '#:phases' argument.
[propagated-inputs]: Remove python-importlib-metadata and python-six.
This commit is contained in:
Maxim Cournoyer 2021-01-22 21:25:05 -05:00
parent 1ed567c872
commit 25c18d5385
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2290,20 +2290,10 @@ (define-public behave
("python-pyhamcrest" ,python-pyhamcrest) ("python-pyhamcrest" ,python-pyhamcrest)
("python-pytest" ,python-pytest))) ("python-pytest" ,python-pytest)))
(propagated-inputs (propagated-inputs
`(("python-importlib-metadata" ,python-importlib-metadata) `(("python-parse" ,python-parse)
("python-six" ,python-six)
("python-parse" ,python-parse)
("python-parse-type" ,python-parse-type))) ("python-parse-type" ,python-parse-type)))
(arguments (arguments
'(#:test-target "behave_test" '(#:test-target "behave_test"))
#:phases
(modify-phases %standard-phases
(add-before 'check 'fix-library-loading
(lambda _
;; Otherwise, tests fail with no module named 'path'
(setenv "PYTHONPATH" (string-append (getenv "PYTHONPATH") ":"
(getcwd) "/tasks/_vendor"))
#t)))))
(home-page "https://github.com/behave/behave") (home-page "https://github.com/behave/behave")
(synopsis "Python behavior-driven development") (synopsis "Python behavior-driven development")
(description (description