me
/
guix
Archived
1
0
Fork 0

gnu: python-importmagic: Fix test failure.

* gnu/packages/python-xyz.scm (python-importmagic)[arguments]: Replace check
phase.
[native-inputs]: Add PYTHON-PYTEST.
master
Marius Bakke 2022-02-08 09:19:55 +01:00
parent 32ccbc3a1e
commit 15168f2432
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 0 deletions

View File

@ -8243,6 +8243,15 @@ need to use the older and less efficient @code{pkg_resources} package.")
(base32 (base32
"1n7qxa1snj06aw45mcfz7bxc46zp7fxj687140g2k6jcnyjmfxrz")))) "1n7qxa1snj06aw45mcfz7bxc46zp7fxj687140g2k6jcnyjmfxrz"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-v")))))))
(native-inputs
(list python-pytest))
(home-page "https://github.com/alecthomas/importmagic") (home-page "https://github.com/alecthomas/importmagic")
(synopsis "Library for adding, removing and managing Python imports") (synopsis "Library for adding, removing and managing Python imports")
(description (description