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
|
||||
(package
|
||||
(name "maxima")
|
||||
(version "5.42.2")
|
||||
(version "5.43.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -2768,7 +2768,7 @@ to BMP, JPEG or PNG image formats.")
|
|||
version "-source/" name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0kdncy6137sg3rradirxzj10mkcvafxd892zlclwhr9sa7b12zhn"))
|
||||
"0xyahp4c6509haxh4n1swiqm3421gplkdisa0zypclh3252sbzfw"))
|
||||
(patches (search-patches "maxima-defsystem-mkdir.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
|
@ -2802,11 +2802,18 @@ to BMP, JPEG or PNG image formats.")
|
|||
(let* ((sed (string-append (assoc-ref inputs "sed") "/bin/sed"))
|
||||
(coreutils (assoc-ref inputs "coreutils"))
|
||||
(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"
|
||||
(("sed ") (string-append sed " "))
|
||||
(("dirname") dirname)
|
||||
(("head") head))
|
||||
(substitute* "doc/info/Makefile.in"
|
||||
(("/usr/bin/env perl") perl))
|
||||
(substitute* "doc/info/build_html.sh.in"
|
||||
(("python") python))
|
||||
#t)))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
|
@ -2837,9 +2844,6 @@ to BMP, JPEG or PNG image formats.")
|
|||
(with-directory-excursion out
|
||||
(mkdir-p "share/emacs")
|
||||
(mkdir-p "share/doc")
|
||||
(symlink
|
||||
(string-append datadir "/emacs/")
|
||||
(string-append out "/share/emacs/site-lisp"))
|
||||
(symlink
|
||||
(string-append datadir "/doc/")
|
||||
(string-append out "/share/doc/maxima"))
|
||||
|
|
Loading…
Reference in New Issue