gnu: gsl: Update to 2.7.

* gnu/packages/maths.scm (gsl): Update to 2.7.
[arguments]: Remove trailing #t's.
This commit is contained in:
Marius Bakke 2021-06-20 16:11:14 +02:00
parent f94a0ce61f
commit b51bb5bcdc
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -479,14 +479,14 @@ (define-public dsfmt
(define-public gsl (define-public gsl
(package (package
(name "gsl") (name "gsl")
(version "2.6") (version "2.7")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/gsl/gsl-" (uri (string-append "mirror://gnu/gsl/gsl-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1a460zj9xmbgvcymkdhqh313c4l29mn9cffbi5vf33x3qygk70mp")))) "0av04cpblphvvs3kl5rwphniarml503501vrpqw31rd0bmwg7fzg"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(let ((system (%current-system))) (let ((system (%current-system)))
@ -501,8 +501,7 @@ (define-public gsl
'((add-before 'check 'disable-failing-tests '((add-before 'check 'disable-failing-tests
(lambda _ (lambda _
(substitute* "spmatrix/test.c" (substitute* "spmatrix/test.c"
((".*test_complex.*") "\n")) ((".*test_complex.*") "\n"))))))
#t))))
((string-prefix? "i686" system) ((string-prefix? "i686" system)
;; There are rounding issues with these tests on i686: ;; There are rounding issues with these tests on i686:
@ -518,8 +517,7 @@ (define-public gsl
(substitute* "spmatrix/test.c" (substitute* "spmatrix/test.c"
((".*test_all.*") "\n") ((".*test_all.*") "\n")
((".*test_float.*") "\n") ((".*test_float.*") "\n")
((".*test_complex.*") "\n")) ((".*test_complex.*") "\n"))))))
#t))))
(else '())))))) (else '()))))))
(home-page "https://www.gnu.org/software/gsl/") (home-page "https://www.gnu.org/software/gsl/")