gnu: python-pillow: Fix test failures on i686-linux and armhf-linux.
authorKei Kebreau <kkebreau@posteo.net>
Sun, 24 Dec 2017 21:23:50 +0000 (16:23 -0500)
committerKei Kebreau <kkebreau@posteo.net>
Wed, 27 Dec 2017 16:51:15 +0000 (11:51 -0500)
* gnu/packages/patches/python-pillow-fix-failing-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pillow)[source]: Use it.

gnu/local.mk
gnu/packages/patches/python-pillow-fix-failing-tests.patch [new file with mode: 0644]
gnu/packages/python.scm

index 586f023..2c4305d 100644 (file)
@@ -1016,6 +1016,7 @@ dist_patch_DATA =                                         \
   %D%/packages/patches/python-networkx2-reproducible-build.patch       \
   %D%/packages/patches/python-nose-timer-drop-ordereddict.patch \
   %D%/packages/patches/python-parse-too-many-fields.patch      \
+  %D%/packages/patches/python-pillow-fix-failing-tests.patch   \
   %D%/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \
   %D%/packages/patches/python-statsmodels-fix-tests.patch      \
   %D%/packages/patches/python-scikit-learn-fix-test-non-determinism.patch      \
diff --git a/gnu/packages/patches/python-pillow-fix-failing-tests.patch b/gnu/packages/patches/python-pillow-fix-failing-tests.patch
new file mode 100644 (file)
index 0000000..2575d6f
Binary files /dev/null and b/gnu/packages/patches/python-pillow-fix-failing-tests.patch differ
index 7ff1e78..ce3aa29 100644 (file)
@@ -3739,7 +3739,9 @@ the OleFileIO module from PIL, the Python Image Library.")
        (uri (pypi-uri "Pillow" version))
        (sha256
         (base32
-         "09xmn7rl6840sli2iz1k3fgxfgmri2nqz6vkinmb9mgg8ifp2z59"))))
+         "09xmn7rl6840sli2iz1k3fgxfgmri2nqz6vkinmb9mgg8ifp2z59"))
+       (patch-flags '("-p1" "--binary"))
+       (patches (search-patches "python-pillow-fix-failing-tests.patch"))))
     (build-system python-build-system)
     (native-inputs
      `(("python-nose"       ,python-nose)))