~ruther/guix-local

9d1055c4095cf591db3be7353d1360f3d2da61e2 — Efraim Flashner 2 years ago f2c6710
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
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/web.scm
M gnu/packages/web.scm => gnu/packages/web.scm +4 -1
@@ 6697,7 6697,10 @@ command-line arguments or read from stdin.")
                         (("^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