gnu: pari-gp: Address TeX errors.

* gnu/packages/algebra.scm (pari-gp)[native-inputs]: Replace texlive-tiny with
texlive-union of texlive-fonts-amsfonts and texlive-latex-amsfonts.
[arguments]: Use INVOKE in configure phase.
master
Ricardo Wurmus 2019-01-24 13:36:56 +01:00
parent fe2bfabe8b
commit 67f39dd514
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 34 additions and 31 deletions

View File

@ -3,7 +3,7 @@
;;; Copyright © 2013, 2015, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017, 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2014, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
@ -149,7 +149,10 @@ solve the shortest vector problem.")
(base32
"1jfax92jpydjd02fwl30r6b8kfzqqd6sm4yx94gidyz9lqjb7a94"))))
(build-system gnu-build-system)
(native-inputs `(("texlive" ,texlive-tiny)))
(native-inputs
`(("texlive" ,(texlive-union
(list texlive-fonts-amsfonts
texlive-latex-amsfonts)))))
(inputs `(("gmp" ,gmp)
("libx11" ,libx11)
("perl" ,perl)
@ -157,13 +160,13 @@ solve the shortest vector problem.")
(arguments
'(#:make-flags '("all")
#:test-target "dobench"
#:phases (modify-phases %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)))))))))
(invoke "./Configure"
(string-append "--prefix="
(assoc-ref outputs "out"))))))))
(synopsis "PARI/GP, a computer algebra system for number theory")
(description
"PARI/GP is a widely used computer algebra system designed for fast