summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-video/subliminal/files/subliminal-2.1.0-fix-pytest-warning.patch11
-rw-r--r--media-video/subliminal/files/subliminal-2.1.0-rarfile-4.0-compat.patch25
2 files changed, 0 insertions, 36 deletions
diff --git a/media-video/subliminal/files/subliminal-2.1.0-fix-pytest-warning.patch b/media-video/subliminal/files/subliminal-2.1.0-fix-pytest-warning.patch
deleted file mode 100644
index b3d6cd019fda..000000000000
--- a/media-video/subliminal/files/subliminal-2.1.0-fix-pytest-warning.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/pytest.ini b/pytest.ini
-index cfa3e35..e85c34b 100644
---- a/pytest.ini
-+++ b/pytest.ini
-@@ -9,3 +9,6 @@ flakes-ignore =
- docs/conf.py ALL
- subliminal/__init__.py UnusedImport
- doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
-+markers =
-+ integration
-+ converter
diff --git a/media-video/subliminal/files/subliminal-2.1.0-rarfile-4.0-compat.patch b/media-video/subliminal/files/subliminal-2.1.0-rarfile-4.0-compat.patch
deleted file mode 100644
index 55b8b9484808..000000000000
--- a/media-video/subliminal/files/subliminal-2.1.0-rarfile-4.0-compat.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/Diaoul/subliminal/pull/1045
-
-From e9ed47e61a63ad0e0cdb036375ffa5a144953f1e Mon Sep 17 00:00:00 2001
-From: Eduardo Soares <eduardosoares.pt@gmail.com>
-Date: Fri, 24 Dec 2021 17:08:04 +0000
-Subject: [PATCH] Fix removal of custom check from rarfile dependency
-
----
- subliminal/providers/legendastv.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/subliminal/providers/legendastv.py b/subliminal/providers/legendastv.py
-index 9d696ca24..bf57a22dc 100644
---- a/subliminal/providers/legendastv.py
-+++ b/subliminal/providers/legendastv.py
-@@ -161,7 +161,7 @@ def __init__(self, username=None, password=None):
-
- # Provider needs UNRAR installed. If not available raise ConfigurationError
- try:
-- rarfile.custom_check([rarfile.UNRAR_TOOL], True)
-+ rarfile.tool_setup(True, False, False, True)
- except rarfile.RarExecError:
- raise ConfigurationError('UNRAR tool not available')
-
-