all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <marius@gnu.org>
To: 48622@debbugs.gnu.org
Subject: [bug#48622] [PATCH core-updates 37/29] gnu: hypre: Update to 2020.0.
Date: Mon, 24 May 2021 22:09:23 +0200	[thread overview]
Message-ID: <20210524200923.28867-8-marius@gnu.org> (raw)
In-Reply-To: <20210524200923.28867-1-marius@gnu.org>

* gnu/packages/maths.scm (hypre): Update to 2020.0.
[source](modules, snippet): Remove.
[native-inputs]: Remove PERL, NETPBM and GHOSTSCRIPT.  Add PYTHON,
PYTHON-SPHINX and PYTHON-BREATHE.  Add TEXLIVE-ADJUSTBOX, TEXLIVE-AMSFONTS,
TEXLIVE-CAPTION, TEXLIVE-ETOOLBOX, TEXLIVE-JKNAPPEN, TEXLIVE-SECTSTY,
TEXLIVE-TEX-GYRE, TEXLIVE-WASY, TEXLIVE-XCOLOR, TEXLIVE-GENERIC-LISTOFITEMS,
TEXLIVE-GENERIC-ULEM, TEXLIVE-LATEX-CAPT-OF, TEXLIVE-LATEX-CMAP,
TEXLIVE-LATEX-COLORTBL, TEXLIVE-LATEX-ETOC, TEXLIVE-LATEX-FANCYHDR,
TEXLIVE-LATEX-FANCYVRB, TEXLIVE-LATEX-FLOAT, TEXLIVE-LATEX-FNCYCHAP,
TEXLIVE-LATEX-FRAMED, TEXLIVE-LATEX-GEOMETRY, TEXLIVE-LATEX-HANGING,
TEXLIVE-LATEX-MULTIROW, TEXLIVE-LATEX-NATBIB, TEXLIVE-LATEX-NEEDSPACE,
TEXLIVE-LATEX-NEWUNICODECHAR, TEXLIVE-LATEX-PARSKIP,
TEXLIVE-LATEX-STACKENGINE, TEXLIVE-LATEX-TABULARY, TEXLIVE-LATEX-TITLESEC,
TEXLIVE-LATEX-TOCLOFT, TEXLIVE-LATEX-UPQUOTE, TEXLIVE-LATEX-VARWIDTH,
TEXLIVE-LATEX-WASYSYM, and TEXLIVE-LATEX-WRAPFIG to TEXLIVE-UPDMAP.CFG.
[arguments]: Adjust doc build target and installation phase.  Remove trailing
 #t's.
---
 gnu/packages/maths.scm | 82 +++++++++++++++++++++++++++---------------
 1 file changed, 54 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index dff5180ae9..d7ba5fca0a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -26,7 +26,7 @@
 ;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
 ;;; Copyright © 2018 Nadya Voronova <voronovank@gmail.com>
 ;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
-;;; Copyright © 2018, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2018 Eric Brown <brown@fastmail.com>
 ;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
 ;;; Copyright © 2018 Amin Bandali <bandali@gnu.org>
@@ -135,6 +135,7 @@
   #:use-module (gnu packages tbb)
   #:use-module (gnu packages scheme)
   #:use-module (gnu packages shells)
+  #:use-module (gnu packages sphinx)
   #:use-module (gnu packages tcl)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tex)
@@ -4611,7 +4612,7 @@ set.")
 (define-public hypre
   (package
     (name "hypre")
-    (version "2.15.1")
+    (version "2.20.0")
     (source
      (origin
        (method git-fetch)
@@ -4620,28 +4621,55 @@ set.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1lvh4ybqkriyqfg2zmic6mrg1981qv1i9vry1fdgsabn81hb71g4"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           ;; Remove use of __DATE__ and __TIME__ for reproducibility;
-           ;; substitute the release date.
-           (substitute* "src/utilities/HYPRE_utilities.h"
-             (("Date Compiled: .*$")
-              "Date Compiled: Oct 19 2018 15:23:00 +0000\"\n"))
-           #t))))
+        (base32 "14iqjwg5sv1qjn7c2cfv0xxmn9rwamjrhh9hgs8fjbywcbvrkjdi"))))
     (build-system gnu-build-system)
-    (outputs '("out"                    ; 6.1 MiB of headers and libraries
-               "doc"))                  ; 4.8 MiB of documentation
+    (outputs '("out"                    ;5.3 MiB of headers and libraries
+               "doc"))                  ;12 MiB of documentation
     (native-inputs
      `(("doc++" ,doc++)
-       ("netpbm" ,netpbm)
-       ("perl" ,perl)                   ; needed to run 'ppmquant' during tests
-       ("texlive" ,(texlive-updmap.cfg (list texlive-xypic
-                                        texlive-cm
-                                        texlive-latex-hyperref
-                                        texlive-bibtex)))
-       ("ghostscript" ,ghostscript)))
+       ("doxygen" ,doxygen)
+       ("python" ,python)
+       ("python-breathe" ,python-breathe)
+       ("python-sphinx" ,python-sphinx)
+       ("texlive" ,(texlive-updmap.cfg (list texlive-adjustbox
+                                             texlive-amsfonts
+                                             texlive-bibtex
+                                             texlive-caption
+                                             texlive-cm
+                                             texlive-etoolbox
+                                             texlive-jknappen
+                                             texlive-sectsty
+                                             texlive-tex-gyre
+                                             texlive-wasy
+                                             texlive-xcolor
+                                             texlive-xypic
+                                             texlive-generic-listofitems
+                                             texlive-generic-ulem
+                                             texlive-latex-capt-of
+                                             texlive-latex-cmap
+                                             texlive-latex-colortbl
+                                             texlive-latex-etoc
+                                             texlive-latex-fancyhdr
+                                             texlive-latex-fancyvrb
+                                             texlive-latex-float
+                                             texlive-latex-fncychap
+                                             texlive-latex-framed
+                                             texlive-latex-geometry
+                                             texlive-latex-hanging
+                                             texlive-latex-hyperref
+                                             texlive-latex-multirow
+                                             texlive-latex-natbib
+                                             texlive-latex-needspace
+                                             texlive-latex-newunicodechar
+                                             texlive-latex-parskip
+                                             texlive-latex-stackengine
+                                             texlive-latex-tabulary
+                                             texlive-latex-titlesec
+                                             texlive-latex-tocloft
+                                             texlive-latex-upquote
+                                             texlive-latex-varwidth
+                                             texlive-latex-wasysym
+                                             texlive-latex-wrapfig)))))
     (inputs
      `(("blas" ,openblas)
        ("lapack" ,lapack)))
@@ -4671,7 +4699,7 @@ set.")
                                           configure-flags)))))))
          (add-after 'build 'build-docs
            (lambda _
-             (invoke "make" "-Cdocs" "pdf" "html")))
+             (invoke "make" "-C" "docs")))
          (replace 'check
            (lambda _
              (setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib"))
@@ -4682,8 +4710,7 @@ set.")
                            (when (positive? size)
                              (error (format #f "~a size ~d; error indication~%"
                                             filename size)))))
-                       (find-files "test" ".*\\.err$"))
-             #t))
+                       (find-files "test" ".*\\.err$"))))
          (add-after 'install 'install-docs
            (lambda* (#:key outputs #:allow-other-keys)
              ;; Custom install because docs/Makefile doesn't honor ${docdir}.
@@ -4692,10 +4719,9 @@ set.")
                (with-directory-excursion "docs"
                  (for-each (lambda (base)
                              (install-file (string-append base ".pdf") docdir)
-                             (copy-recursively base docdir)) ; html docs
-                           '("HYPRE_usr_manual"
-                             "HYPRE_ref_manual")))
-               #t))))))
+                             (copy-recursively (string-append base "-html")
+                                               (string-append docdir "/" base)))
+                           '("usr-manual" "ref-manual")))))))))
     (home-page "http://www.llnl.gov/casc/hypre/")
     (synopsis "Library of solvers and preconditioners for linear equations")
     (description
-- 
2.31.1





  parent reply	other threads:[~2021-05-24 20:10 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 14:40 [bug#48622] [PATCH core-updates 00/29] TeX Live 2020 Marius Bakke
2021-05-24 14:43 ` [bug#48622] [PATCH core-updates 01/29] gnu: TeX Live: Update to 2020.0 Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 02/29] gnu: Add texlive-latex-refcount Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 03/29] gnu: Add texlive-latex-bookmark Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 04/29] gnu: dblatex: Update to 0.3.12 Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 05/29] gnu: simple-texlive-package: Fix shebang patching Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 06/29] gnu: Add texlive-latex-atveryend Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 07/29] gnu: Add texlive-latex-auxhook Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 08/29] gnu: Add texlive-latex-epstopdf-pkg Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 09/29] gnu: Add texlive-latex-hycolor Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 10/29] gnu: Add texlive-generic-infwarerr Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 11/29] gnu: Add texlive-generic-ltxcmds Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 12/29] gnu: Add texlive-latex-pdftexcmds Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 13/29] gnu: Add texlive-latex-letltxmacro Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 14/29] gnu: Add texlive-generic-atbegshi Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 15/29] gnu: Add texlive-generic-intcalc Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 16/29] gnu: Add texlive-generic-bigintcalc Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 17/29] gnu: Add texlive-generic-bitset Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 18/29] gnu: Add texlive-generic-etexcmds Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 19/29] gnu: Add texlive-generic-gettitlestring Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 20/29] gnu: Add texlive-generic-kvdefinekeys Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 21/29] gnu: Add texlive-generic-kvsetkeys Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 22/29] gnu: Add texlive-latex-kvoptions Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 23/29] gnu: Add texlive-generic-pdfescape Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 24/29] gnu: Add texlive-generic-uniquecounter Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 25/29] gnu: Add texlive-latex-rerunfilecheck Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 26/29] gnu: texlive-base: Propagate texlive-kpathsea Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 27/29] gnu: texlive-hyperref: Don't propagate texlive-oberdiek Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 28/29] gnu: texlive-graphics-def: Propagate missing dependency Marius Bakke
2021-05-24 14:43   ` [bug#48622] [PATCH core-updates 29/29] gnu: dblatex: Remove unused TeX inputs Marius Bakke
2021-05-24 20:09   ` [bug#48622] [PATCH core-updates 30/29] gnu: Add texlive-tex-gyre Marius Bakke
2021-05-24 20:09     ` [bug#48622] [PATCH core-updates 31/29] gnu: Add texlive-latex-etoc Marius Bakke
2021-05-24 20:09     ` [bug#48622] [PATCH core-updates 32/29] gnu: Add texlive-latex-hanging Marius Bakke
2021-05-24 20:09     ` [bug#48622] [PATCH core-updates 33/29] gnu: Add texlive-latex-newunicodechar Marius Bakke
2021-05-24 20:09     ` [bug#48622] [PATCH core-updates 34/29] gnu: Add texlive-latex-stackengine Marius Bakke
2021-05-24 20:09     ` [bug#48622] [PATCH core-updates 35/29] gnu: Add texlive-latex-tocloft Marius Bakke
2021-05-24 20:09     ` [bug#48622] [PATCH core-updates 36/29] gnu: texlive-latex-tools: Provide array-2016-10-06.sty Marius Bakke
2021-05-24 20:09     ` Marius Bakke [this message]
2021-05-24 20:13 ` [bug#48622] [PATCH core-updates 00/29] TeX Live 2020 Marius Bakke
2021-06-05 22:26 ` bug#48622: " Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210524200923.28867-8-marius@gnu.org \
    --to=marius@gnu.org \
    --cc=48622@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.