gnu: python-gast: Enable tests.

* gnu/packages/python-xyz.scm (python-gast)[arguments]: Override check phase.
[native-inputs]: Add PYTHON-PYTEST.
This commit is contained in:
Marius Bakke 2022-09-11 16:55:16 +02:00
parent 29f5fb9202
commit 9a6c3b7b6a
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -23553,6 +23553,14 @@ (define-public python-gast
(sha256
(base32 "1sidaczriw54pfkj3523y9j9q2harrczc1qqgnfaylz641ca5gng"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs
(list python-pytest))
(propagated-inputs
(list python-astunparse))
(home-page "https://github.com/serge-sans-paille/gast/")