[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python-radon: Please the sanity-check phase.
From: |
guix-commits |
Subject: |
02/02: gnu: python-radon: Please the sanity-check phase. |
Date: |
Wed, 3 Feb 2021 21:17:23 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 117a0de2406424a5fd85ae07f769a2aea8aab45e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Feb 3 21:15:56 2021 -0500
gnu: python-radon: Please the sanity-check phase.
* gnu/packages/python-xyz.scm (python-radon)
[phases]{relax-requirements}: New phase.
---
gnu/packages/python-xyz.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7768891..7a2b9ee 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"))))))