From 9a6c3b7b6a4163e72be25e8863d558137396ae58 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 11 Sep 2022 16:55:16 +0200 Subject: gnu: python-gast: Enable tests. * gnu/packages/python-xyz.scm (python-gast)[arguments]: Override check phase. [native-inputs]: Add PYTHON-PYTEST. --- gnu/packages/python-xyz.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 664d340892..9d7ebf32ef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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/") -- cgit v1.2.3