aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2024-05-10 00:54:07 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:18:56 +0000
commitfc2b16fa9d6a0adfc3d0ded4cbaa1bfb49114128 (patch)
tree26c00f9f7b0a1298d28f4be8879a29315409323a /gnu/packages
parentd401e309483f1150b8e9275b499af0b687e5c7c5 (diff)
downloadguix-fc2b16fa9d6a0adfc3d0ded4cbaa1bfb49114128.tar.gz
guix-fc2b16fa9d6a0adfc3d0ded4cbaa1bfb49114128.zip
gnu: python-uqbar: Improve package style.
* gnu/packages/graphviz.scm (python-uqbar): Improve package style. [build-system]: Move to pyproject-build-system. [arguments]: Convert 'check phase replacement to <#:test-flags>. Change-Id: I536e60438e3f2d5592ab9cd34fe66104cfd117e2 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/graphviz.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index b438c86b5c..f0bbe772c9 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -213,15 +213,9 @@ structure and layout algorithms.")
(base32
"0c573nzpm51qgz2g296f8pw8ys0i3r6daynxk06zagk5l5fgw9ar"))
(patches (search-patches "python-uqbar-python3.10.patch"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "pytest" "tests"))
- #t)))))
+ (list #:test-flags '(list "tests")))
(native-inputs
(list graphviz
python-flake8