mirror of
https://codeberg.org/guix/guix.git
synced 2026-05-13 06:53:44 +00:00
gnu: python-seaborn: 'check' phase honors #:tests?.
* gnu/packages/python-xyz.scm (python-seaborn)[arguments]: Change 'check' phase to honor #:tests?.
This commit is contained in:
@@ -8819,7 +8819,10 @@ SVG, EPS, PNG and terminal output.")
|
||||
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
|
||||
(setenv "DISPLAY" ":1")
|
||||
#t)))
|
||||
(replace 'check (lambda _ (invoke "pytest" "seaborn") #t)))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "seaborn")))))))
|
||||
(propagated-inputs
|
||||
`(("python-pandas" ,python-pandas)
|
||||
("python-matplotlib" ,python-matplotlib)
|
||||
|
||||
Reference in New Issue
Block a user