summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-10-08 23:27:11 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-10-09 09:34:07 +0300
commit599c45a061bfe0d4aada5da435768814c0a70377 (patch)
tree074ac11cdafc54f78583b144aa949775dd43beef /dev-python/leather/files/leather-0.3.3-fix-py3.10.patch
parentdev-python/leather: add 0.3.4 (diff)
downloadgentoo-599c45a061bfe0d4aada5da435768814c0a70377.tar.gz
gentoo-599c45a061bfe0d4aada5da435768814c0a70377.tar.bz2
gentoo-599c45a061bfe0d4aada5da435768814c0a70377.zip
dev-python/leather: drop 0.3.3-r2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/leather/files/leather-0.3.3-fix-py3.10.patch')
-rw-r--r--dev-python/leather/files/leather-0.3.3-fix-py3.10.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch b/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch
deleted file mode 100644
index 8ec9e1767a4f..000000000000
--- a/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 5dd1d3cc82d426388c66db8e3761ca2bf99a3991 Mon Sep 17 00:00:00 2001
-From: Brian <brian@quantrocket.com>
-Date: Fri, 27 Mar 2020 17:08:50 -0400
-Subject: [PATCH] import from collections.abc to suppress python 3.7 warning
-
----
- leather/series/base.py | 5 ++++-
- leather/series/category.py | 5 ++++-
- 2 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/leather/series/base.py b/leather/series/base.py
-index c5790e5..959e827 100644
---- a/leather/series/base.py
-+++ b/leather/series/base.py
-@@ -1,6 +1,9 @@
- #!/usr/bin/env python
-
--from collections import Iterable, Sequence, Mapping
-+try:
-+ from collections.abc import Iterable, Sequence, Mapping
-+except ImportError:
-+ from collections import Iterable, Sequence, Mapping
- from functools import partial
-
- import six
-diff --git a/leather/series/category.py b/leather/series/category.py
-index c575308..3678377 100644
---- a/leather/series/category.py
-+++ b/leather/series/category.py
-@@ -1,6 +1,9 @@
- #!/usr/bin/env python
-
--from collections import Iterable, Sequence, Mapping
-+try:
-+ from collections.abc import Iterable, Sequence, Mapping
-+except ImportError:
-+ from collections import Iterable, Sequence, Mapping
- from functools import partial
-
- import six