summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-08-31 21:00:57 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-09-14 10:09:24 +0300
commit2dec1060e56b2d5bf9a472a048cf79fa3d7f4ec3 (patch)
tree310f9a09bc717129ad5b12ca32d8a7cfe2626697 /media-libs/vigra
parentapp-text/cpdf: drop 2.3.1 (diff)
downloadgentoo-2dec1060e56b2d5bf9a472a048cf79fa3d7f4ec3.tar.gz
gentoo-2dec1060e56b2d5bf9a472a048cf79fa3d7f4ec3.tar.bz2
gentoo-2dec1060e56b2d5bf9a472a048cf79fa3d7f4ec3.zip
media-libs/vigra: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/vigra')
-rw-r--r--media-libs/vigra/files/vigra-1.11.2-python3.12-remove-imp.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/media-libs/vigra/files/vigra-1.11.2-python3.12-remove-imp.patch b/media-libs/vigra/files/vigra-1.11.2-python3.12-remove-imp.patch
deleted file mode 100644
index a8094c6e7e7d..000000000000
--- a/media-libs/vigra/files/vigra-1.11.2-python3.12-remove-imp.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 4f81ef7ed5128453c049958e496f9638d28bdf76 Mon Sep 17 00:00:00 2001
-From: David Runge <dave@sleepmap.de>
-Date: Wed, 13 Mar 2024 16:24:02 +0100
-Subject: [PATCH] Use importlib.reload instead of imp.reload
-
-The imp module has been deprecated since Python 3.4 and is removed in
-Python 3.12.
-Replace its use with its replacement in the importlib module.
-
-Signed-off-by: David Runge <dave@sleepmap.de>
----
- vigranumpy/lib/axistags.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/vigranumpy/lib/axistags.py b/vigranumpy/lib/axistags.py
-index 5c564ea9..cb5dd193 100644
---- a/vigranumpy/lib/axistags.py
-+++ b/vigranumpy/lib/axistags.py
-@@ -241,7 +241,7 @@ def benchmark(expression):
- when getitem returns a value, the slowdown is about 3 (due to Python calls)
- '''
- import timeit, axistags
-- from imp import reload
-+ from importlib import reload
- reload(axistags)
- repetitions = 100000
- t1 = timeit.Timer(expression,
---
-2.44.0
-