diff options
Diffstat (limited to 'dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch')
| -rw-r--r-- | dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch new file mode 100644 index 000000000000..fe905e9670b7 --- /dev/null +++ b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch @@ -0,0 +1,14 @@ +--- a/ffmpeg/_utils.py ++++ b/ffmpeg/_utils.py +@@ -3,6 +3,11 @@ from builtins import str + import hashlib + import sys + ++try: ++ from collections.abc import Iterable ++except ImportError: ++ from collections import Iterable ++ + + def with_metaclass(meta, *bases): + class metaclass(meta): |
