From 7c59acba5699c9c58090a7a738669669a7307023 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Aug 2021 23:14:26 +0100 Subject: gentoo resync : 21.08.2021 --- .../slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch (limited to 'dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch') diff --git a/dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch b/dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch new file mode 100644 index 000000000000..0901090e4651 --- /dev/null +++ b/dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch @@ -0,0 +1,28 @@ +From 8b7648502b003d433a08333b041baf1d4960c9d4 Mon Sep 17 00:00:00 2001 +From: Nicolas Cedilnik +Date: Mon, 22 Feb 2021 13:07:15 +0100 +Subject: [PATCH] Fix deprecation warning + +--- + slixmpp/thirdparty/orderedset.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/slixmpp/thirdparty/orderedset.py b/slixmpp/thirdparty/orderedset.py +index f6642db3..43023af4 100644 +--- a/slixmpp/thirdparty/orderedset.py ++++ b/slixmpp/thirdparty/orderedset.py +@@ -20,9 +20,9 @@ + # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + # OTHER DEALINGS IN THE SOFTWARE. + +-import collections ++from collections.abc import MutableSet + +-class OrderedSet(collections.MutableSet): ++class OrderedSet(MutableSet): + + def __init__(self, iterable=None): + self.end = end = [] +-- +GitLab + -- cgit v1.2.3