gnu: python-radon: Please the sanity-check phase.

* gnu/packages/python-xyz.scm (python-radon)
[phases]{relax-requirements}: New phase.
This commit is contained in:
Maxim Cournoyer 2021-02-03 21:15:56 -05:00
parent 4b562d46a5
commit 117a0de240
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -16093,6 +16093,13 @@ (define-public python-radon
(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"))))))