[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: gnu: python-imgviz: Adjust for newer python.
From: |
guix-commits |
Subject: |
05/10: gnu: python-imgviz: Adjust for newer python. |
Date: |
Tue, 5 Dec 2023 08:11:41 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 7e795eae155a0fea0739584020fb0945c4d1a1d0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 5 13:40:04 2023 +0200
gnu: python-imgviz: Adjust for newer python.
* gnu/packages/image-processing.scm (python-imgviz)[source]: Add snippet
to adjust python module imports.
Change-Id: I50b39fa5acfc766eb9f18658dbfc3053473e0287
---
gnu/packages/image-processing.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index 36fee7e276..306da962cc 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1690,7 +1690,13 @@ purposes.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1bm0wdv5p26i8nl4kx3145cz553v401sgbpgc96sddzjfmfiydcw"))))
+ (base32 "1bm0wdv5p26i8nl4kx3145cz553v401sgbpgc96sddzjfmfiydcw"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "imgviz/draw.py"
+ (("collections\\.Iterable") "collections.abc.Iterable"))
+ (substitute* "imgviz/tile.py"
+ (("collections\\.Sequence") "collections.abc.Sequence"))))))
(build-system python-build-system)
(arguments
`(#:phases
- branch master updated (6ab6c02aff -> c15a1cd88f), guix-commits, 2023/12/05
- 02/10: gnu: python-grako: Adjust for newer python., guix-commits, 2023/12/05
- 01/10: gnu: python-trezor-agent: Fix inputs., guix-commits, 2023/12/05
- 03/10: gnu: python-alchemy-mock: Adjust for newer python., guix-commits, 2023/12/05
- 04/10: gnu: python-internetarchive: Adjust for newer python., guix-commits, 2023/12/05
- 05/10: gnu: python-imgviz: Adjust for newer python.,
guix-commits <=
- 06/10: gnu: python-gpy: Adjust for newer python., guix-commits, 2023/12/05
- 07/10: gnu: python-osc: Adjust for newer python., guix-commits, 2023/12/05
- 09/10: gnu: python-schedule: Adjust for newer python., guix-commits, 2023/12/05
- 08/10: gnu: python-pyscss: Adjust for newer python., guix-commits, 2023/12/05
- 10/10: gnu: python-setuptools-lint: Add missing input., guix-commits, 2023/12/05