Subject: Re: [bug#65916] [PATCH] gnu: python-hicmatrix: Fix "'build': uncaught exception".
From: Ricardo Wurmus <[email-masked]>
To: Mădălin Ionel Patrașcu<[email-masked]>
Cc: [email-masked]
Date: Wed, 13 Sep 2023 22:21:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi, thanks for the patch.

> * 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\""))))

I simplified this to remove the “.0”, renamed the phase because it isn’t
about fixing references, and removed the gexp.

-- 
Ricardo