~ruther/guix-local

4f9ff21ea0c5ddb29a368ef78b6b8493a01d1d74 — Ricardo Wurmus 10 years ago 5248d49
gnu: python-scipy: Add phase to fix tests.

* gnu/packages/python.scm (python-scipy)[arguments]: Add build phase
  "fix-tests".
1 files changed, 7 insertions(+), 1 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +7 -1
@@ 3330,7 3330,13 @@ atlas_libs = openblas
              (zero? (system* "python" "-c" "import scipy; scipy.test()"))))
          (alist-delete
           'check
           %standard-phases))))))
           (alist-cons-after
            'unpack 'fix-tests
            (lambda _
              (substitute* "scipy/integrate/tests/test_quadpack.py"
                (("libm.so") "libm.so.6"))
              #t)
            %standard-phases)))))))
    (home-page "http://www.scipy.org/")
    (synopsis "The Scipy library provides efficient numerical routines")
    (description "The SciPy library is one of the core packages that make up