From 86f8e74255a368fb24dc36eef8cab71f990178dd Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 5 Oct 2025 19:25:18 +0200 Subject: [PATCH] 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 f67f0d4f604c9f02a24ed6f1a8c1c9b1f30a8ab6..1abc6935d8b4cd13ea2ec30b0e4e463fd356abe6 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