Subject: [PATCH] gnu: python-hicmatrix: Fix "'build': uncaught exception".
From: Mădălin Ionel Patrașcu<[email-masked]>
To: <[email-masked]>
Date: Wed, 13 Sep 2023 15:39:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/bioinformatics.scm (python-hicmatrix): Add new phase
'fix-references that remove the * character from the name of the
requirements.
---
 gnu/packages/bioinformatics.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index e24d70e569..06ff34e877 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -16228,7 +16228,11 @@ (define-public python-hicmatrix
     (arguments
      (list
       #:phases
-      '(modify-phases %standard-phases
+      #~(modify-phases %standard-phases
+         (add-after 'unpack 'fix-references
+           (lambda _
+              (substitute* "setup.py"
+                ((".\\*\"") ".0\""))))
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?

base-commit: 9996896dc252a02ba3b17473a685ce8957237546
-- 
2.41.0