gnu: maxima: Update to 5.43.0.
* gnu/packages/maths.scm (maxima): Update to 5.43.0. [arguments]: Adjust "patch-paths" and "post-install" phases.
This commit is contained in:
parent
f83e10e427
commit
ccc963d528
|
@ -2760,7 +2760,7 @@ to BMP, JPEG or PNG image formats.")
|
||||||
(define-public maxima
|
(define-public maxima
|
||||||
(package
|
(package
|
||||||
(name "maxima")
|
(name "maxima")
|
||||||
(version "5.42.2")
|
(version "5.43.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -2768,7 +2768,7 @@ to BMP, JPEG or PNG image formats.")
|
||||||
version "-source/" name "-" version ".tar.gz"))
|
version "-source/" name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kdncy6137sg3rradirxzj10mkcvafxd892zlclwhr9sa7b12zhn"))
|
"0xyahp4c6509haxh4n1swiqm3421gplkdisa0zypclh3252sbzfw"))
|
||||||
(patches (search-patches "maxima-defsystem-mkdir.patch"))))
|
(patches (search-patches "maxima-defsystem-mkdir.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
|
@ -2802,11 +2802,18 @@ to BMP, JPEG or PNG image formats.")
|
||||||
(let* ((sed (string-append (assoc-ref inputs "sed") "/bin/sed"))
|
(let* ((sed (string-append (assoc-ref inputs "sed") "/bin/sed"))
|
||||||
(coreutils (assoc-ref inputs "coreutils"))
|
(coreutils (assoc-ref inputs "coreutils"))
|
||||||
(dirname (string-append coreutils "/bin/dirname"))
|
(dirname (string-append coreutils "/bin/dirname"))
|
||||||
(head (string-append coreutils "/bin/head")))
|
(head (string-append coreutils "/bin/head"))
|
||||||
|
(perl (string-append (assoc-ref inputs "perl") "/bin/perl"))
|
||||||
|
(python (string-append (assoc-ref inputs "python")
|
||||||
|
"/bin/python3")))
|
||||||
(substitute* "src/maxima.in"
|
(substitute* "src/maxima.in"
|
||||||
(("sed ") (string-append sed " "))
|
(("sed ") (string-append sed " "))
|
||||||
(("dirname") dirname)
|
(("dirname") dirname)
|
||||||
(("head") head))
|
(("head") head))
|
||||||
|
(substitute* "doc/info/Makefile.in"
|
||||||
|
(("/usr/bin/env perl") perl))
|
||||||
|
(substitute* "doc/info/build_html.sh.in"
|
||||||
|
(("python") python))
|
||||||
#t)))
|
#t)))
|
||||||
(add-before 'check 'pre-check
|
(add-before 'check 'pre-check
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -2837,9 +2844,6 @@ to BMP, JPEG or PNG image formats.")
|
||||||
(with-directory-excursion out
|
(with-directory-excursion out
|
||||||
(mkdir-p "share/emacs")
|
(mkdir-p "share/emacs")
|
||||||
(mkdir-p "share/doc")
|
(mkdir-p "share/doc")
|
||||||
(symlink
|
|
||||||
(string-append datadir "/emacs/")
|
|
||||||
(string-append out "/share/emacs/site-lisp"))
|
|
||||||
(symlink
|
(symlink
|
||||||
(string-append datadir "/doc/")
|
(string-append datadir "/doc/")
|
||||||
(string-append out "/share/doc/maxima"))
|
(string-append out "/share/doc/maxima"))
|
||||||
|
|
Loading…
Reference in New Issue