mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 11:09:41 -05: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:
parent
9d1055c409
commit
7e795eae15
1 changed files with 7 additions and 1 deletions
|
@ -1690,7 +1690,13 @@ (define-public python-imgviz
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue