diff options
author | 2025-01-03 16:40:25 +0100 | |
---|---|---|
committer | 2025-01-04 23:47:11 +0100 | |
commit | dbabc7543e00f2e0f820c335008533eff7515b8a (patch) | |
tree | 319f9304fdff527f1468199ce47fb49866879a8d /x11-misc | |
parent | x11-misc/grsync: remove unused patch(es) (diff) | |
download | gentoo-dbabc7543e00f2e0f820c335008533eff7515b8a.tar.gz gentoo-dbabc7543e00f2e0f820c335008533eff7515b8a.tar.bz2 gentoo-dbabc7543e00f2e0f820c335008533eff7515b8a.zip |
x11-misc/safeeyes: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/39961
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/safeeyes/files/safeeyes-2.1.6-py312.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/x11-misc/safeeyes/files/safeeyes-2.1.6-py312.patch b/x11-misc/safeeyes/files/safeeyes-2.1.6-py312.patch deleted file mode 100644 index 93430da89b88..000000000000 --- a/x11-misc/safeeyes/files/safeeyes-2.1.6-py312.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 043d9c5018431b3b41cc2bcfacdaaa7f0db1563c Mon Sep 17 00:00:00 2001 -From: Alyssa Rosenzweig <alyssa@rosenzweig.io> -Date: Thu, 9 Nov 2023 12:14:13 -0400 -Subject: [PATCH] Fix with python3.12 - -imp is deprecated in 3.4 and removed in 3.12. this caused safe eyes to -break on upgrading to fedora 39 - -Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> ---- - safeeyes/utility.py | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/safeeyes/utility.py b/safeeyes/utility.py -index e145d4d..3976140 100644 ---- a/safeeyes/utility.py -+++ b/safeeyes/utility.py -@@ -21,7 +21,6 @@ - """ - - import errno --import imp - import inspect - import importlib - import json -@@ -355,7 +354,7 @@ def module_exist(module): - Check wther the given Python module exists or not. - """ - try: -- imp.find_module(module) -+ importlib.util.find_spec(module) - return True - except ImportError: - return False |