summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:22:37 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:39:20 +0000
commit185cce06499fd650a3494d03829366ce02048e41 (patch)
tree10a7da1e741372a1b9c4299eab1fdc6621fda9a0 /gnu/packages
parent2a5619ac0dcef7476088d3e4437b349f83e6d94c (diff)
gnu: dot2tex: Switch to pyproject.
* gnu/packages/graphviz.scm (dot2tex): Update to 2.11.3. [build-system]: Switch to pyproject-build-system. [arguments] <test-flags>: Move options here. <phases>: Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: I969689cfcc57893c64ba39687b0b4b323d77b21a
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/graphviz.scm18
1 files changed, 7 insertions, 11 deletions
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 66c347540b2..be7784ac9e9 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -428,21 +428,17 @@ graphs in Graphviz's DOT language, written in pure Python.")
(sha256
(base32
"1kp77wiv7b5qib82i3y3sn9r49rym43aaqm5aw1bwnzfbbq2m6i9"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(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")))))))
+ ;; tests: 57 passed, 1 deselected
+ #:test-flags
+ ;; The test_semicolon test fails for unknown reason, see:
+ ;; <https://github.com/kjellmf/dot2tex/issues/94>.
+ #~(list "--deselect=tests/test_dot2tex.py::MultipleStatements::test_semicolon")))
(native-inputs
(list python-pytest
+ python-setuptools
(texlive-local-tree
(list texlive-pgf
texlive-preview