commit: 6412e6a5ea160d4ca14f965cacbc75470a766d25 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sat Nov 13 17:03:31 2021 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Mon Nov 15 21:55:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6412e6a5
dev-python/dbus-python: remove unused patch(es) Closes: https://github.com/gentoo/gentoo/pull/22937 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../files/dbus-python-1.2.16-py39.patch | 33 ---------------------- 1 file changed, 33 deletions(-) diff --git a/dev-python/dbus-python/files/dbus-python-1.2.16-py39.patch b/dev-python/dbus-python/files/dbus-python-1.2.16-py39.patch deleted file mode 100644 index 93db26cfcefc..000000000000 --- a/dev-python/dbus-python/files/dbus-python-1.2.16-py39.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6a899a9174c8008ba5fb576238ea4d7c970453c3 Mon Sep 17 00:00:00 2001 -From: Simon McVittie <[email protected]> -Date: Tue, 14 Jan 2020 15:29:43 +0000 -Subject: [PATCH] service: Adjust to deprecation of collections.Sequence - -Since Python 3.3 the recommended location is collections.abc.Sequence, -and the collections.Sequence alias will be removed in 3.9. - -Signed-off-by: Simon McVittie <[email protected]> ---- - dbus/service.py | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/dbus/service.py b/dbus/service.py -index fd57054..0c8695a 100644 ---- a/dbus/service.py -+++ b/dbus/service.py -@@ -32,7 +32,11 @@ import sys - import logging - import threading - import traceback --from collections import Sequence -+try: -+ from collections.abc import Sequence -+except ImportError: -+ # Python 2 (and 3.x < 3.3, but we don't support those) -+ from collections import Sequence - - import _dbus_bindings - from dbus import ( --- -2.26.2 -
