gnu: python-imgviz: Adjust for newer python.
* gnu/packages/image-processing.scm (python-imgviz)[source]: Add snippet to adjust python module imports. Change-Id: I50b39fa5acfc766eb9f18658dbfc3053473e0287master
parent
9d1055c409
commit
7e795eae15
|
@ -1690,7 +1690,13 @@ purposes.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(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)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
|
Reference in New Issue