me
/
guix
Archived
1
0
Fork 0

gnu: python-typed-ast: Use new style.

* gnu/packages/python-xyz.scm (python-typed-ast) [arguments]: Use new style.

Change-Id: I6817270eca0c19bc786aa77460759f32d47a2948
jgart 2024-07-11 16:15:15 -05:00
parent b3784c6326
commit 2088c135d4
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35
1 changed files with 6 additions and 6 deletions

View File

@ -26314,12 +26314,12 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (list #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "pytest" "-vv"))))))) (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")