diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-03-06 13:22:51 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-03-06 13:22:51 +0100 |
commit | c0446791bde9117cdf7badbd033403454cec4f19 (patch) | |
tree | d0401c0856473941bba9189676bc6c716b35eb39 /gnu/packages/python.scm | |
parent | d701f8bdb247121753289d2d0b7059530cd9442d (diff) | |
download | guix-c0446791bde9117cdf7badbd033403454cec4f19.tar guix-c0446791bde9117cdf7badbd033403454cec4f19.tar.gz |
gnu: python2-backports-shutil-get-terminal-size: Enable tests.
* gnu/packages/python.scm
(python2-backports-shutil-get-terminal-size)[arguments]: Replace 'check' phase
with custom command.
[native-inputs]: Add PYTHON2-PYTEST.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r-- | gnu/packages/python.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e94aa812b1..82cae875d8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6129,7 +6129,14 @@ connection to each user.") "107cmn7g3jnbkp826zlj8rrj19fam301qvaqf0f3905f5217lgki")))) (build-system python-build-system) (arguments - `(#:python ,python-2)) + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "py.test" "-v"))))))) + (native-inputs + `(("python2-pytest" ,python2-pytest))) (home-page "https://github.com/chrippa/backports.shutil_get_terminal_size") (synopsis "Backport of Python 3.3's @code{shutil.get_terminal_size}") (description |