guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 86f8e74255a368fb24dc36eef8cab71f990178dd
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Sun Oct 5 19:25:18 2025 +0200
gnu: python-asprin: Fix build.
* gnu/packages/potassco.scm (python-asprin): Fix build.
[arguments] <#:phases>: Replace 'check phase.
[native-inputs]: Remove python-wheel.
Change-Id: I1f5b6418e50812bef5ba565877e8cdf4cd04d632
---
gnu/packages/potassco.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm
index f67f0d4f60..1abc6935d8 100644
--- a/gnu/packages/potassco.scm
+++ b/gnu/packages/potassco.scm
@@ -607,10 +607,13 @@ bindings for Clingo.")
(("\"clingo\"")
(string-append "\""
(search-input-file inputs "bin/clingo")
- "\""))))))))
+ "\"")))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "build/lib/asprin/asprin.py" "--test")))))))
(native-inputs
- (list python-setuptools
- python-wheel))
+ (list python-setuptools))
(inputs
(list clingo))
(propagated-inputs