gnu: dot2tex: Update to 2.11.3.
* gnu/packages/graphviz.scm (dot2tex): Update to 2.11.3. [arguments]: Remove python argument. [phases]: New argument. [native-inputs]: New field. [inputs]: Move texlive-latex-preview to... [propagated-inputs]: ... here. Replace python2-pyparsing with python-parsing. Add texlive-bin, texlive-amsmath, texlive-latex-geometry, texlive-latex-graphics, texlive-latex-base, texlive-latex-xkeyval, texlive-pgf, texlive-pstricks and texlive-xcolor.
parent
98b0ac0a77
commit
454987fcb2
|
@ -415,11 +415,33 @@ graphs in Graphviz's DOT language, written in pure Python.")
|
||||||
"1kp77wiv7b5qib82i3y3sn9r49rym43aaqm5aw1bwnzfbbq2m6i9"))))
|
"1kp77wiv7b5qib82i3y3sn9r49rym43aaqm5aw1bwnzfbbq2m6i9"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2))
|
(list
|
||||||
(inputs
|
#:phases
|
||||||
(list texlive-latex-preview graphviz))
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv" "tests"
|
||||||
|
;; The test_semicolon test fails for unknown reason
|
||||||
|
;; (see:
|
||||||
|
;; https://github.com/kjellmf/dot2tex/issues/94).
|
||||||
|
"-k" "not test_semicolon")))))))
|
||||||
|
(native-inputs (list python-pytest))
|
||||||
|
(inputs (list graphviz))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python2-pyparsing))
|
(list python-pyparsing
|
||||||
|
;; These TeX dependencies are propagated to make it easier to build
|
||||||
|
;; the resulting generated TeX files, which \usepackage them.
|
||||||
|
texlive-bin
|
||||||
|
texlive-amsmath
|
||||||
|
texlive-latex-geometry
|
||||||
|
texlive-latex-graphics
|
||||||
|
texlive-latex-base
|
||||||
|
texlive-latex-preview
|
||||||
|
texlive-latex-xkeyval
|
||||||
|
texlive-pgf
|
||||||
|
texlive-pstricks
|
||||||
|
texlive-xcolor))
|
||||||
(home-page "https://github.com/kjellmf/dot2tex")
|
(home-page "https://github.com/kjellmf/dot2tex")
|
||||||
(synopsis "Graphviz to LaTeX converter")
|
(synopsis "Graphviz to LaTeX converter")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue