* [bug#65916] [PATCH] gnu: python-hicmatrix: Fix "'build': uncaught exception".
@ 2023-09-13 13:39 Mădălin Ionel Patrașcu
2023-09-13 20:21 ` bug#65916: " Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-09-13 13:39 UTC (permalink / raw)
To: 65916; +Cc: rekado
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#65916: [PATCH] gnu: python-hicmatrix: Fix "'build': uncaught exception".
2023-09-13 13:39 [bug#65916] [PATCH] gnu: python-hicmatrix: Fix "'build': uncaught exception" Mădălin Ionel Patrașcu
@ 2023-09-13 20:21 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2023-09-13 20:21 UTC (permalink / raw)
To: Mădălin Ionel Patrașcu; +Cc: 65916-done
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-13 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-13 13:39 [bug#65916] [PATCH] gnu: python-hicmatrix: Fix "'build': uncaught exception" Mădălin Ionel Patrașcu
2023-09-13 20:21 ` bug#65916: " Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).