* [gentoo-commits] repo/gentoo:master commit in: media-video/subliminal/files/
@ 2025-06-03 2:25 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-06-03 2:25 UTC (permalink / raw
To: gentoo-commits
commit: 4d62c6561c17c20bc50b4fb9cac6d68f0e3cf9c3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 3 01:36:27 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 3 02:24:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d62c656
media-video/subliminal: drop old patch
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/subliminal-2.3.0-win32-tests.patch | 52 ----------------------
1 file changed, 52 deletions(-)
diff --git a/media-video/subliminal/files/subliminal-2.3.0-win32-tests.patch b/media-video/subliminal/files/subliminal-2.3.0-win32-tests.patch
deleted file mode 100644
index 377b518c1ad5..000000000000
--- a/media-video/subliminal/files/subliminal-2.3.0-win32-tests.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-https://github.com/Diaoul/subliminal/commit/8f410a261a490cea5f10b60afe281490859b0977
-
-From 8f410a261a490cea5f10b60afe281490859b0977 Mon Sep 17 00:00:00 2001
-From: getzze <getzze@gmail.com>
-Date: Mon, 5 May 2025 23:10:49 +0100
-Subject: [PATCH] Make win32-setctime an optional tests dependency, only for
- win32 platform (#1278)
-
----
- pyproject.toml | 2 +-
- tests/test_video.py | 7 ++++++-
- 2 files changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index bbe8f7c99..52054d5ec 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -73,7 +73,7 @@ tests = [
- "sympy",
- "colorama", # used in scripts/
- "vcrpy>=5", # keep synchronized with docs dependencies
-- "win32-setctime",
-+ "win32-setctime; sys_platform=='win32'",
- "importlib_metadata>=4.6; python_version<'3.10'",
- ]
- types = [
-diff --git a/tests/test_video.py b/tests/test_video.py
-index c8625b5d3..06c737596 100644
---- a/tests/test_video.py
-+++ b/tests/test_video.py
-@@ -7,7 +7,6 @@
- from unittest.mock import Mock
-
- import pytest
--from win32_setctime import SUPPORTED, setctime
-
- from subliminal.utils import sanitize, timestamp
- from subliminal.video import Episode, Movie, Video
-@@ -40,6 +39,12 @@ def test_video_exists_age_no_use_ctime(
-
-
- def test_video_exists_age(movies: dict[str, Movie], tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
-+ try:
-+ from win32_setctime import SUPPORTED, setctime
-+ except (ImportError, ModuleNotFoundError):
-+ SUPPORTED = False
-+ setctime = None
-+
- monkeypatch.chdir(tmp_path)
- video = movies['man_of_steel']
- video_path = tmp_path / video.name
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/subliminal/files/
@ 2025-06-22 12:10 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-06-22 12:10 UTC (permalink / raw
To: gentoo-commits
commit: 5e6f27a01af81d25e9d397fd55e93bcae34c8393
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 22 12:09:23 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 12:09:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6f27a0
media-video/subliminal/files: drop old patches
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../subliminal-2.1.0-fix-pytest-warning.patch | 11 ----------
.../subliminal-2.1.0-rarfile-4.0-compat.patch | 25 ----------------------
2 files changed, 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')
-
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-22 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-03 2:25 [gentoo-commits] repo/gentoo:master commit in: media-video/subliminal/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2025-06-22 12:10 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox