gnu: vigra: Fix FTBFS with Numpy >= 1.15.

* gnu/packages/image.scm (vigra)[arguments]: Disable one more test.
This commit is contained in:
Marius Bakke 2018-09-04 13:31:41 +02:00
parent 6bbbdb1a34
commit 436969904c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -832,11 +832,15 @@ (define-public vigra
`(#:test-target "check" `(#:test-target "check"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; See https://github.com/ukoethe/vigra/issues/432 (add-after 'unpack 'disable-broken-tests
(add-after 'unpack 'disable-broken-test
(lambda _ (lambda _
;; See https://github.com/ukoethe/vigra/issues/432
(substitute* "test/fourier/CMakeLists.txt" (substitute* "test/fourier/CMakeLists.txt"
(("VIGRA_ADD_TEST.*") "")) (("VIGRA_ADD_TEST.*") ""))
;; This test fails with Numpy 1.15:
;; <https://github.com/ukoethe/vigra/issues/436>.
(substitute* "vigranumpy/test/CMakeLists.txt"
(("test1\\.py") ""))
#t))) #t)))
#:configure-flags #:configure-flags
(list "-Wno-dev" ; suppress developer mode with lots of warnings (list "-Wno-dev" ; suppress developer mode with lots of warnings