summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-03 21:15:56 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-03 21:16:46 -0500
commit117a0de2406424a5fd85ae07f769a2aea8aab45e (patch)
treed01d507f4ce2cb09e71e21aed649a7674a4715d9 /gnu
parent4b562d46a530048ccc0c1d6bf33bd667a92c6780 (diff)
downloadguix-117a0de2406424a5fd85ae07f769a2aea8aab45e.tar.gz
gnu: python-radon: Please the sanity-check phase.
* gnu/packages/python-xyz.scm (python-radon)
[phases]{relax-requirements}: New phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7768891c6a..7a2b9eecc6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16093,6 +16093,13 @@ for more filetypes can be easily added by creating plugins for them.")
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'relax-requirements
+                    (lambda _
+                      (substitute* "setup.py"
+                        ((".*'future'.*")
+                         "")
+                        (("colorama==0.4.1")
+                         "colorama>=0.4.1"))))
                   (replace 'check
                     (lambda _
                       (invoke "python" "radon/tests/run.py"))))))