summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-05-19 21:20:57 +0200
committerAaron Bauman <bman@gentoo.org>2020-06-02 00:27:59 -0400
commitbd86ec369211f44451d166694b1dfe43e31e7279 (patch)
tree45b4576c26634b72905f9693a0d0babf5a3e340c
parentdev-python/importlib_resources: remove unused patch(es) (diff)
downloadgentoo-bd86ec369211f44451d166694b1dfe43e31e7279.tar.gz
gentoo-bd86ec369211f44451d166694b1dfe43e31e7279.tar.bz2
gentoo-bd86ec369211f44451d166694b1dfe43e31e7279.zip
dev-python/jaraco-functools: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Aaron Bauman <bman@gentoo.org>
-rw-r--r--dev-python/jaraco-functools/files/jaraco-functools-2.0-fix-py37-tests.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-python/jaraco-functools/files/jaraco-functools-2.0-fix-py37-tests.patch b/dev-python/jaraco-functools/files/jaraco-functools-2.0-fix-py37-tests.patch
deleted file mode 100644
index dc296c4eb47c..000000000000
--- a/dev-python/jaraco-functools/files/jaraco-functools-2.0-fix-py37-tests.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From cc972095e5aa2ae80d1d69d7ca84ee94178e869a Mon Sep 17 00:00:00 2001
-From: "Jason R. Coombs" <jaraco@jaraco.com>
-Date: Sat, 20 Apr 2019 07:08:41 -0400
-Subject: [PATCH] Rewrite docstring on Python 3.7.3 to allow the test to pass.
- Fixes #12.
-
----
- conftest.py | 24 ++++++++++++++++++++++++
- 1 file changed, 24 insertions(+)
- create mode 100644 conftest.py
-
-diff --git a/conftest.py b/conftest.py
-new file mode 100644
-index 0000000..b6fad41
---- /dev/null
-+++ b/conftest.py
-@@ -0,0 +1,24 @@
-+import sys
-+import re
-+
-+import jaraco.functools
-+
-+
-+def pytest_configure():
-+ patch_for_issue_12()
-+
-+
-+def patch_for_issue_12():
-+ """
-+ Issue #12 revealed that Python 3.7.3 had a subtle
-+ change in the C implementation of functools that
-+ broke the assumptions around the method_cache (or
-+ any caller using possibly empty keyword arguments).
-+ This patch adjusts the docstring for that test so it
-+ can pass on that Python version.
-+ """
-+ affected_ver = 3, 7, 3
-+ if sys.version_info[:3] != affected_ver:
-+ return
-+ mc = jaraco.functools.method_cache
-+ mc.__doc__ = re.sub(r'^(\s+)75', r'\g<1>76', mc.__doc__, flags=re.M)