Skip to content
Snippets Groups Projects
Unverified Commit 07c3c3ba authored by Nicolas Goaziou's avatar Nicolas Goaziou
Browse files

gnu: giac: Update to 1.6.0-23.

* gnu/packages/algebra.scm (giac): Update to 1.6.0-23.
[arguments]: Fix more hard-coded /bin/cp in Make files.
[native-inputs]: Add python-wrapper.
parent 7806e568
No related branches found
No related tags found
No related merge requests found
...@@ -354,7 +354,7 @@ (define-public cmh ...@@ -354,7 +354,7 @@ (define-public cmh
(define-public giac (define-public giac
(package (package
(name "giac") (name "giac")
(version "1.6.0-7") (version "1.6.0-23")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
...@@ -366,7 +366,7 @@ (define-public giac ...@@ -366,7 +366,7 @@ (define-public giac
"~parisse/debian/dists/stable/main/source/" "~parisse/debian/dists/stable/main/source/"
"giac_" version ".tar.gz")) "giac_" version ".tar.gz"))
(sha256 (sha256
(base32 "1pvgp137zcl0rbhdn1j41xxfml7fp771a7x4ph8qrhhlx0hxzn3p")))) (base32 "0bgc3jw9r0f2bkqv0m4hla7r7mxi3fzscnkjfc5cvffp3nk2gwvf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:modules ((ice-9 ftw) `(#:modules ((ice-9 ftw)
...@@ -377,7 +377,8 @@ (define-public giac ...@@ -377,7 +377,8 @@ (define-public giac
(add-after 'unpack 'patch-bin-cp (add-after 'unpack 'patch-bin-cp
;; Some Makefiles contain hard-coded "/bin/cp". ;; Some Makefiles contain hard-coded "/bin/cp".
(lambda _ (lambda _
(substitute* (find-files "doc" "^Makefile") (substitute* (cons "micropython-1.12/xcas/Makefile"
(find-files "doc" "^Makefile"))
(("/bin/cp") (which "cp"))) (("/bin/cp") (which "cp")))
#t)) #t))
(add-after 'unpack 'disable-failing-test (add-after 'unpack 'disable-failing-test
...@@ -406,7 +407,7 @@ (define-public giac ...@@ -406,7 +407,7 @@ (define-public giac
(delete-file (string-append out "/bin/xcasnew")) (delete-file (string-append out "/bin/xcasnew"))
#t)))))) #t))))))
(inputs (inputs
;;; TODO: Add libnauty. ;; TODO: Add libnauty, unbundle "libmicropython.a".
`(("fltk" ,fltk) `(("fltk" ,fltk)
("glpk" ,glpk) ("glpk" ,glpk)
("gmp" ,gmp) ("gmp" ,gmp)
...@@ -430,6 +431,7 @@ (define-public giac ...@@ -430,6 +431,7 @@ (define-public giac
(native-inputs (native-inputs
`(("bison" ,bison) `(("bison" ,bison)
("flex" ,flex) ("flex" ,flex)
("python" ,python-wrapper)
("readline" ,readline) ("readline" ,readline)
("texlive" ,texlive-tiny))) ("texlive" ,texlive-tiny)))
(home-page "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html") (home-page "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment