mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: giac: Update to 2.0.0-10.
* gnu/packages/algebra.scm (giac): Update to 2.0.0-10. [inputs]: Remove glpk-4; add glpk. [native-inputs]: Add autoconf, automake, and libtool. [arguments]<#:phases>: Run all tests. Also prevent a build failure by regenerating a file at bootstrap. Change-Id: Idf9eda21eabc02dde2256ba841bc914787de4cbb
This commit is contained in:
parent
cb47639a80
commit
c07d417152
1 changed files with 13 additions and 10 deletions
|
@ -401,7 +401,7 @@ precision.")
|
||||||
(define-public giac
|
(define-public giac
|
||||||
(package
|
(package
|
||||||
(name "giac")
|
(name "giac")
|
||||||
(version "1.9.0-998")
|
(version "2.0.0-10")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -413,7 +413,7 @@ precision.")
|
||||||
"https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/"
|
"https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/"
|
||||||
"stable/main/source/giac_" version ".tar.gz"))
|
"stable/main/source/giac_" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1r71kl21xxf3872r0q25r2b9wpg03zrp08rsnpyqrhajmxb0ljbz"))))
|
(base32 "1lzb0jjmkg5ml1qfl0m00qqng4sxgfqwrbq10gpkp4b301k2ckv1"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -428,12 +428,12 @@ precision.")
|
||||||
(substitute* (cons "micropython-1.12/xcas/Makefile"
|
(substitute* (cons "micropython-1.12/xcas/Makefile"
|
||||||
(find-files "doc" "^Makefile"))
|
(find-files "doc" "^Makefile"))
|
||||||
(("/bin/cp") (which "cp")))))
|
(("/bin/cp") (which "cp")))))
|
||||||
(add-after 'unpack 'disable-failing-test
|
(replace 'bootstrap
|
||||||
;; FIXME: Tests failing. Not sure why.
|
(lambda _
|
||||||
(lambda _
|
;; XXX: Regenerate "src/mkjs" to avoid a build error because
|
||||||
(substitute* "check/Makefile.in"
|
;; the default file is bogus in a Guix environment.
|
||||||
(("chk_fhan(4|11)") "")
|
(delete-file "src/mkjs")
|
||||||
(("chk_fhan(14|21)") "")))) ;fail specifically on i686
|
(invoke "autoreconf" "-vfi")))
|
||||||
(add-after 'install 'fix-doc
|
(add-after 'install 'fix-doc
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Most French documentation has a non-commercial license, so we
|
;; Most French documentation has a non-commercial license, so we
|
||||||
|
@ -454,7 +454,7 @@ precision.")
|
||||||
;; TODO: Unbundle "libmicropython.a".
|
;; TODO: Unbundle "libmicropython.a".
|
||||||
(list ao
|
(list ao
|
||||||
fltk-1.3
|
fltk-1.3
|
||||||
glpk-4
|
glpk
|
||||||
gmp
|
gmp
|
||||||
gsl
|
gsl
|
||||||
libjpeg-turbo
|
libjpeg-turbo
|
||||||
|
@ -474,9 +474,12 @@ precision.")
|
||||||
perl
|
perl
|
||||||
tcsh))
|
tcsh))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bison
|
(list autoconf
|
||||||
|
automake
|
||||||
|
bison
|
||||||
flex
|
flex
|
||||||
hevea
|
hevea
|
||||||
|
libtool
|
||||||
python-wrapper
|
python-wrapper
|
||||||
readline
|
readline
|
||||||
(texlive-local-tree)))
|
(texlive-local-tree)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue