[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: python-clint: Fix tests.
From: |
Marius Bakke |
Subject: |
01/02: gnu: python-clint: Fix tests. |
Date: |
Wed, 14 Dec 2016 21:27:24 +0000 (UTC) |
mbakke pushed a commit to branch python-tests
in repository guix.
commit 6145b604629c071fba8b55b7e0e3a45ed68fa3cc
Author: Marius Bakke <address@hidden>
Date: Wed Dec 14 22:07:38 2016 +0100
gnu: python-clint: Fix tests.
* gnu/packages/python.scm (python-clint, python2-clint)[native-inputs]: Add
python-pytest.
[arguments]: Replace 'check' phase with custom command.
---
gnu/packages/python.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d6ea07d..1746903 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8125,6 +8125,14 @@ Blog, News or Announcements section to a Sphinx
website.")
(base32
"1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "py.test" "-v")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
(propagated-inputs
`(("python-args" ,python-args)))
(home-page "https://github.com/kennethreitz/clint")