summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-02-08 09:19:55 +0100
committerMarius Bakke <marius@gnu.org>2022-02-10 00:21:46 +0100
commit15168f2432302cec8e5eba7dc170bee1fa9fd9ea (patch)
tree9d697044743538e733f15e3ecd165faa29d99ded /gnu/packages/python-xyz.scm
parent32ccbc3a1ebf62d90f618ababb206df57f7e767b (diff)
gnu: python-importmagic: Fix test failure.
* gnu/packages/python-xyz.scm (python-importmagic)[arguments]: Replace check phase. [native-inputs]: Add PYTHON-PYTEST.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 537a2eef351..41b60325d2c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8243,6 +8243,15 @@ need to use the older and less efficient @code{pkg_resources} package.")
8243 (base32 8243 (base32
8244 "1n7qxa1snj06aw45mcfz7bxc46zp7fxj687140g2k6jcnyjmfxrz")))) 8244 "1n7qxa1snj06aw45mcfz7bxc46zp7fxj687140g2k6jcnyjmfxrz"))))
8245 (build-system python-build-system) 8245 (build-system python-build-system)
8246 (arguments
8247 (list #:phases
8248 #~(modify-phases %standard-phases
8249 (replace 'check
8250 (lambda* (#:key tests? #:allow-other-keys)
8251 (when tests?
8252 (invoke "pytest" "-v")))))))
8253 (native-inputs
8254 (list python-pytest))
8246 (home-page "https://github.com/alecthomas/importmagic") 8255 (home-page "https://github.com/alecthomas/importmagic")
8247 (synopsis "Library for adding, removing and managing Python imports") 8256 (synopsis "Library for adding, removing and managing Python imports")
8248 (description 8257 (description