guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: gnu: python-rednose: Loosen six requirement.


From: Marius Bakke
Subject: 07/07: gnu: python-rednose: Loosen six requirement.
Date: Thu, 1 Feb 2018 05:09:43 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit c2f0e5a44b537632c2655f97a2539c3bf02c8a63
Author: Marius Bakke <address@hidden>
Date:   Thu Feb 1 10:59:25 2018 +0100

    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(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 59e644b..81fc1f6 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]