guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: dot2tex: Fix failing tests.


From: guix-commits
Subject: 04/04: gnu: dot2tex: Fix failing tests.
Date: Sat, 1 Jul 2023 16:40:59 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 9f0d87657a5b86c6dc5de2a07c388dae9be6a919
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Jul 1 22:37:49 2023 +0200

    gnu: dot2tex: Fix failing tests.
    
    TeX Live packages needed to build tests are moved to native inputs because
    propagating them may not be a good thing.  Use might already be using
    monolithic TeX Live, or would may have their TeX Live installation on 
another system.
    
    * gnu/packages/graphviz.scm (dot2tex)[native-inputs]: Add TeX Live packages
    necessary to build documents generated during tests.
    [propagated-inputs]: Remove them.
---
 gnu/packages/graphviz.scm | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 61e4ec7a9f..08dd73b24f 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -379,21 +379,17 @@ graphs in Graphviz's DOT language, written in pure 
Python.")
                         ;; (see:
                         ;; https://github.com/kjellmf/dot2tex/issues/94).
                         "-k" "not test_semicolon")))))))
-    (native-inputs (list python-pytest))
+    (native-inputs
+     (list python-pytest
+           (texlive-updmap.cfg
+            (list texlive-geometry
+                  texlive-pgf
+                  texlive-preview
+                  texlive-pstricks
+                  texlive-xcolor
+                  texlive-xkeyval))))
     (inputs (list graphviz))
-    (propagated-inputs
-     (list python-pyparsing
-           ;; These TeX dependencies are propagated to make it easier to build
-           ;; the resulting generated TeX files, which \usepackage them.
-           texlive-amsmath
-           texlive-bin
-           texlive-geometry
-           texlive-latex-bin
-           texlive-pgf
-           texlive-pstricks
-           texlive-preview
-           texlive-xcolor
-           texlive-xkeyval))
+    (propagated-inputs (list python-pyparsing))
     (home-page "https://github.com/kjellmf/dot2tex";)
     (synopsis "Graphviz to LaTeX converter")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]