1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Efraim Flashner
2023-12-05 13:40:04 +02:00
parent 9d1055c409
commit 7e795eae15

View File

@@ -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