summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-12-15 13:17:29 +0100
committerMarius Bakke <mbakke@fastmail.com>2016-12-15 13:17:29 +0100
commit7917a1355456a924ca85992b4216cf6dc437873a (patch)
treea6fe488193c7bd3482d9913c5a5406b092ebf22c
parenta960e73fadda9e3d594775197a20f52177c96b43 (diff)
downloadguix-7917a1355456a924ca85992b4216cf6dc437873a.tar.gz
gnu: python-termstyle: Fix tests.
* gnu/packages/python.scm (python-termstyle)[arguments]: Replace 'check' phase
with custom command.
-rw-r--r--gnu/packages/python.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e640a777c4..47d7c6a7d9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11940,6 +11940,12 @@ asynchronous messaging environments.")
           (base32
             "17wzkkcqy5zc0g68xlad3kcv66iw14d2pwqc0h9420gak0vbhx7g"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (zero? (system* "python" "test3.py")))))))
     (home-page "http://github.com/gfxmonk/termstyle")
     (synopsis "Console text coloring for Python")
     (description "This package provides console text coloring for Python.")