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:
parent
1ed567c872
commit
25c18d5385
1 changed files with 2 additions and 12 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue