gnu: pari-gp: Syntactic changes.

* gnu/packages/algebra.scm (pari-gp)[arguments]: Use modify-phases syntax.
This commit is contained in:
Andreas Enge 2016-03-24 14:44:08 +01:00
parent f2ab925028
commit 08595262db

View file

@ -133,17 +133,14 @@ (define-public pari-gp
("readline" ,readline)))
(arguments
'(#:make-flags '("all")
;; FIXME: building the documentation requires tex; once this is
;; available, replace "gp" by "all"
#:test-target "dobench"
#:phases
(alist-replace
'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(zero?
(system* "./Configure" (string-append "--prefix=" out)))))
%standard-phases)))
#:phases (modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(zero?
(system* "./Configure"
(string-append "--prefix=" out)))))))))
(synopsis "PARI/GP, a computer algebra system for number theory")
(description
"PARI/GP is a widely used computer algebra system designed for fast