mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: pari-gp: Syntactic changes.
* gnu/packages/algebra.scm (pari-gp)[arguments]: Use modify-phases syntax.
This commit is contained in:
parent
f2ab925028
commit
08595262db
1 changed files with 7 additions and 10 deletions
|
@ -133,17 +133,14 @@ (define-public pari-gp
|
||||||
("readline" ,readline)))
|
("readline" ,readline)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags '("all")
|
'(#:make-flags '("all")
|
||||||
;; FIXME: building the documentation requires tex; once this is
|
|
||||||
;; available, replace "gp" by "all"
|
|
||||||
#:test-target "dobench"
|
#:test-target "dobench"
|
||||||
#:phases
|
#:phases (modify-phases %standard-phases
|
||||||
(alist-replace
|
(replace 'configure
|
||||||
'configure
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(zero?
|
(zero?
|
||||||
(system* "./Configure" (string-append "--prefix=" out)))))
|
(system* "./Configure"
|
||||||
%standard-phases)))
|
(string-append "--prefix=" out)))))))))
|
||||||
(synopsis "PARI/GP, a computer algebra system for number theory")
|
(synopsis "PARI/GP, a computer algebra system for number theory")
|
||||||
(description
|
(description
|
||||||
"PARI/GP is a widely used computer algebra system designed for fast
|
"PARI/GP is a widely used computer algebra system designed for fast
|
||||||
|
|
Loading…
Reference in a new issue