gnu: python-rednose: Loosen six requirement.

* gnu/packages/check.scm (python-rednose)[arguments]: Add phase to remove
explicit six version requirement.
master
Marius Bakke 2018-02-01 10:59:25 +01:00
parent 8b7009de75
commit c2f0e5a44b
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 0 deletions

View File

@ -1577,6 +1577,15 @@ JSON APIs with Behave.")
(base32
"11x5nx5b4wdq04s7vj1gcdl07jvvkfb37p0r5lg773gr5rr8mj6h"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-setup.py
(lambda _
;; Six is only required for tests and later versions
;; work fine.
(substitute* "setup.py"
(("six==1.10.0") "six"))
#t)))))
(propagated-inputs
`(("python-colorama" ,python-colorama)
("python-termstyle" ,python-termstyle)))