summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-10-09 15:59:52 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2019-10-09 15:59:52 +0200
commit86723f98ab272b1a2621fb54ff88eab5e8e80fed (patch)
tree6aaec51268a240d724a1127c885c2fc702683af3
parent3cb2d1a556e97b203f6a8c0a7618dc0ff0e6f109 (diff)
gnu: python-binaryornot: Fix build.
Fixes <https://bugs.gnu.org/37678>. * gnu/packages/python-xyz.scm (python-binaryornot)[arguments]<#:phases>[patch-tests]: New phase.
-rw-r--r--gnu/packages/python-xyz.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c30532266c..068b17fdab 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)))