From c2f0e5a44b537632c2655f97a2539c3bf02c8a63 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 1 Feb 2018 10:59:25 +0100 Subject: gnu: python-rednose: Loosen six requirement. * gnu/packages/check.scm (python-rednose)[arguments]: Add phase to remove explicit six version requirement. --- gnu/packages/check.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 59e644b948..81fc1f6ffc 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -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))) -- cgit v1.2.3