mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-internetarchive: Adjust for newer python.
* gnu/packages/web.scm (python-internetarchive)[source]: Adjust snippet for change in python module imports. Change-Id: I523d022f3a56b31b58f80c1ce1ffabaef1f9b0e7
This commit is contained in:
parent
f2c6710129
commit
9d1055c409
1 changed files with 4 additions and 1 deletions
|
@ -6697,7 +6697,10 @@ (define-public python-internetarchive
|
|||
(("^import re\n" line)
|
||||
(string-append line "re._pattern_type = re.Pattern\n"))))
|
||||
(find-files "." "\\.py$"))
|
||||
#t))))
|
||||
;; Mapping got moved to collections.abc
|
||||
(substitute* "internetarchive/utils.py"
|
||||
(("from collections import Mapping")
|
||||
"from collections.abc import Mapping"))))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
|
Loading…
Reference in a new issue