mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-typed-ast: Make the 'check' phase respect #:tests?.
* gnu/packages/python-xyz.scm (python-typed-ast) [arguments]: Make the 'check' phase respect #:tests?. Change-Id: I6817270eca0c19bc786aa77460759f32d47a2948
This commit is contained in:
parent
7e9a6836cd
commit
b3784c6326
1 changed files with 3 additions and 2 deletions
|
@ -26317,8 +26317,9 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "pytest"))))))
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv")))))))
|
||||||
(native-inputs (list python-pytest))
|
(native-inputs (list python-pytest))
|
||||||
(home-page "https://github.com/python/typed_ast")
|
(home-page "https://github.com/python/typed_ast")
|
||||||
(synopsis "Fork of Python @code{ast} modules with type comment support")
|
(synopsis "Fork of Python @code{ast} modules with type comment support")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue