From 6145b604629c071fba8b55b7e0e3a45ed68fa3cc Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 14 Dec 2016 22:07:38 +0100 Subject: 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(+) (limited to 'gnu') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d6ea07de34..17469036a3 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8125,6 +8125,14 @@ (define-public python-clint (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") -- cgit v1.2.3