summaryrefslogtreecommitdiff
path: root/games/anki/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/anki/files')
-rw-r--r--games/anki/files/patch-pylib_tools_hookslib.py6
-rw-r--r--games/anki/files/patch-qt_pyproject.toml14
2 files changed, 10 insertions, 10 deletions
diff --git a/games/anki/files/patch-pylib_tools_hookslib.py b/games/anki/files/patch-pylib_tools_hookslib.py
index 53a3f6d62d79..8abac8c7ba0e 100644
--- a/games/anki/files/patch-pylib_tools_hookslib.py
+++ b/games/anki/files/patch-pylib_tools_hookslib.py
@@ -1,5 +1,5 @@
-Skip code formatting with "ruff" on FreeBSD 15.0-CURRENT (observed with
-n278368-5c9b1c7e5f27) to prevent following error:
+Skip code formatting with "ruff" on !FreeBSD RELEASE builds to prevent
+following error (observed with FreeBSD 15.0-CURRENT n278368-5c9b1c7e5f27):
[...]
FAILED: /wrkdirs/usr/ports/games/anki/work/anki-25.07.2/out/qt/_aqt/hooks.py
@@ -32,5 +32,5 @@ Traceback (most recent call last):
file.write(code.encode("utf8"))
- subprocess.run([sys.executable, "-m", "ruff", "format", "-q", path], check=True)
+
-+ if not (platform.system() == 'FreeBSD' and platform.release() == '15.0-CURRENT'):
++ if platform.system() == 'FreeBSD' and platform.release().endswith('-RELEASE'):
+ subprocess.run([sys.executable, "-m", "ruff", "format", "-q", path], check=True)
diff --git a/games/anki/files/patch-qt_pyproject.toml b/games/anki/files/patch-qt_pyproject.toml
index 230d2f62b318..3d01e0db6a51 100644
--- a/games/anki/files/patch-qt_pyproject.toml
+++ b/games/anki/files/patch-qt_pyproject.toml
@@ -1,15 +1,15 @@
Relax version requirements for several PyQt6 components.
---- qt/pyproject.toml.orig 2025-07-05 14:16:12 UTC
+--- qt/pyproject.toml.orig 2025-07-18 17:56:16 UTC
+++ qt/pyproject.toml
-@@ -45,11 +45,11 @@ qt = [
+@@ -38,11 +38,11 @@ qt = [
"pyqt6_sip==13.10.2",
]
qt = [
-- "pyqt6==6.8.0",
-- "pyqt6-qt6==6.8.1",
+- "pyqt6==6.9.1",
+- "pyqt6-qt6==6.9.1",
- "pyqt6-webengine==6.8.0",
-- "pyqt6-webengine-qt6==6.8.1",
+- "pyqt6-webengine-qt6==6.8.2",
- "pyqt6_sip==13.10.2",
+ "pyqt6",
+ "pyqt6-qt6",
@@ -17,5 +17,5 @@ Relax version requirements for several PyQt6 components.
+ "pyqt6-webengine-qt6",
+ "pyqt6_sip",
]
-
- [tool.uv]
+ qt68 = [
+ "pyqt6==6.8.0",