guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python-binaryornot: Fix build.


From: guix-commits
Subject: 01/01: gnu: python-binaryornot: Fix build.
Date: Wed, 9 Oct 2019 10:01:26 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit 86723f98ab272b1a2621fb54ff88eab5e8e80fed
Author: Danny Milosavljevic <address@hidden>
Date:   Wed Oct 9 15:59:52 2019 +0200

    gnu: python-binaryornot: Fix build.
    
    Fixes <https://bugs.gnu.org/37678>.
    
    * gnu/packages/python-xyz.scm 
(python-binaryornot)[arguments]<#:phases>[patch-tests]:
    New phase.
---
 gnu/packages/python-xyz.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c305322..068b17f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10972,6 +10972,16 @@ hardware-accelerated multitouch applications.")
                (base32
                 "0qc006986rb6bcbmiymwgcl1mns2jphr1j7sr7nk41nlr7gh359m"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-test
+           (lambda _
+             ;; TypeError: binary() got an unexpected keyword argument
+             ;; 'average_size'.
+             (substitute* "tests/test_check.py"
+              (("average_size=512") ""))
+             #t)))))
     (propagated-inputs
      `(("python-chardet" ,python-chardet)
        ("python-hypothesis" ,python-hypothesis)))



reply via email to

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