aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2024-04-23 05:57:49 +0000
committerKai Knoblich <kai@FreeBSD.org>2024-04-23 05:59:21 +0000
commit3171214f8856737b617c8bf1679d1b2adf0d3f56 (patch)
tree1428f8b3faa26260b5259cc3fea57d40c3ed8c4e
parent9ebd0f61688d8192c14543d3c2358d8e6d640ccd (diff)
downloadports-3171214f8856737b617c8bf1679d1b2adf0d3f56.tar.gz
ports-3171214f8856737b617c8bf1679d1b2adf0d3f56.zip
games/anki: Update to 24.04.1
* Remove the no longer required workaround for the "pip_system_certs" Python module, which was merged by upstream. Changelog: https://github.com/ankitects/anki/releases/tag/24.04.1 MFH: 2024Q2
-rw-r--r--games/anki/Makefile8
-rw-r--r--games/anki/distinfo18
-rw-r--r--games/anki/files/patch-qt_aqt_____init____.py29
3 files changed, 13 insertions, 42 deletions
diff --git a/games/anki/Makefile b/games/anki/Makefile
index d334eaa0a48f..cf51d407314a 100644
--- a/games/anki/Makefile
+++ b/games/anki/Makefile
@@ -1,5 +1,5 @@
PORTNAME= anki
-DISTVERSION= 24.04
+DISTVERSION= 24.04.1
# Don't forget to update ${_MY_BUILDHASH} if DISTVERSION changes
CATEGORIES= games education python
MASTER_SITES= LOCAL/kai/:yarncache
@@ -44,8 +44,8 @@ USES= cargo desktop-file-utils ninja nodejs:build pyqt:6 python:3.9+ \
USE_GITHUB= yes
GH_ACCOUNT= ankitects
# Translation files
-GH_TUPLE= ankitects:anki-core-i18n:c74c15b:ftlrslib \
- ankitects:anki-desktop-ftl:06ad12d:ftlextra
+GH_TUPLE= ankitects:anki-core-i18n:e3af3c9:ftlrslib \
+ ankitects:anki-desktop-ftl:4515531:ftlextra
USE_PYQT= pyqt6 sip:build webengine
@@ -84,7 +84,7 @@ MPV_RUN_DEPENDS= mpv:multimedia/mpv
# Should contain the most recent commit that reflects ${DISTVERSION} and must
# be exactly 8 digits otherwise the check for newer versions won't work as
# expected.
-_MY_BUILDHASH= 429bc9e1
+_MY_BUILDHASH= ccd9ca1a
# Remove ${CARGO_BUILD_TARGET} from ${CARGO_ENV} to avoid problems with
# hardcoded paths as the "runner" build system expects its components
# in ${WRKSRC}/out/rust/debug
diff --git a/games/anki/distinfo b/games/anki/distinfo
index 596b3bac44a0..d0124ab5b810 100644
--- a/games/anki/distinfo
+++ b/games/anki/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1711874457
-SHA256 (anki-yarn-cache-24.04.tar.gz) = 44f1de419cee0e36a06556438e7b52b59968964d6dbe28716f5fbd6b2a3a2ec7
-SIZE (anki-yarn-cache-24.04.tar.gz) = 328999684
+TIMESTAMP = 1713786119
+SHA256 (anki-yarn-cache-24.04.1.tar.gz) = b4dcd73ce528d41ab4ddcfafe397e46facbbe6955b0dbe6886aa4ecd63a6965f
+SIZE (anki-yarn-cache-24.04.1.tar.gz) = 328998462
SHA256 (rust/crates/addr2line-0.21.0.crate) = 8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb
SIZE (rust/crates/addr2line-0.21.0.crate) = 40807
SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
@@ -1319,9 +1319,9 @@ SHA256 (ankitects-rust-url-bb930b8d089f4d30d7d19c12e54e66191de47b88_GH0.tar.gz)
SIZE (ankitects-rust-url-bb930b8d089f4d30d7d19c12e54e66191de47b88_GH0.tar.gz) = 394844
SHA256 (ankitects-linkcheck-184b2ca50ed39ca43da13f0b830a463861adb9ca_GH0.tar.gz) = 58ac773ba2e7c76a9ec3f59ee9571576d76e74d58c4974a1d606d6976e1be70e
SIZE (ankitects-linkcheck-184b2ca50ed39ca43da13f0b830a463861adb9ca_GH0.tar.gz) = 19408
-SHA256 (ankitects-anki-24.04_GH0.tar.gz) = 65cbaf6d3f5ad27cfba65de9a6d24af6782490acd10e7dfc9e2e49ab6ca26a96
-SIZE (ankitects-anki-24.04_GH0.tar.gz) = 2394512
-SHA256 (ankitects-anki-core-i18n-c74c15b_GH0.tar.gz) = bac0fb7e7607a7c7a0f7d94c2e8d496ce30de74f6a190466cc69fb29c3ff4151
-SIZE (ankitects-anki-core-i18n-c74c15b_GH0.tar.gz) = 1286716
-SHA256 (ankitects-anki-desktop-ftl-06ad12d_GH0.tar.gz) = 884195634313b0dd924d5bf17a4720da9851744e7c5d087cfc935fae19b8c61b
-SIZE (ankitects-anki-desktop-ftl-06ad12d_GH0.tar.gz) = 218490
+SHA256 (ankitects-anki-24.04.1_GH0.tar.gz) = 7cebd7745830392f9b6ec62c2300f3c45c934969b47f25275ecee0ee53f9aa68
+SIZE (ankitects-anki-24.04.1_GH0.tar.gz) = 2394990
+SHA256 (ankitects-anki-core-i18n-e3af3c9_GH0.tar.gz) = cc200bd648b33242445972ebe4d793839abb8cef53901cd116dea2ed4e542344
+SIZE (ankitects-anki-core-i18n-e3af3c9_GH0.tar.gz) = 1295301
+SHA256 (ankitects-anki-desktop-ftl-4515531_GH0.tar.gz) = 53e7b96e2d82a40be859d3dfa0ce1ea62d8f706d58baddcb8e183f7d7a8e6e12
+SIZE (ankitects-anki-desktop-ftl-4515531_GH0.tar.gz) = 218559
diff --git a/games/anki/files/patch-qt_aqt_____init____.py b/games/anki/files/patch-qt_aqt_____init____.py
deleted file mode 100644
index 1cb1324f27e3..000000000000
--- a/games/anki/files/patch-qt_aqt_____init____.py
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Escape0707 <tothesong@gmail.com>
-Date: Fri, 5 Apr 2024 21:12:06 +0900
-Subject: [PATCH] Ignore exception raised by pip_system_certs not found (#3114)
-
-This dependency usually doesn't benefit Linux distros with requests library
-configured to use system certificate already. And is not packaged by most
-distros. Making it optional will make most Linux users' installation much
-easier.
-
-Obtained from:
-
-https://github.com/ankitects/anki/commit/97efd49cd8db15a84d2ae2701d21b8283e37bc8c
-
---- qt/aqt/__init__.py.orig 2024-03-31 06:57:06 UTC
-+++ qt/aqt/__init__.py
-@@ -6,7 +6,12 @@ import sys
- import logging
- import sys
-
--import pip_system_certs.wrapt_requests
-+try:
-+ import pip_system_certs.wrapt_requests
-+except ModuleNotFoundError:
-+ print(
-+ "Python module pip_system_certs is not installed. System certificate store and custom SSL certificates may not work. See: https://github.com/ankitects/anki/issues/3016"
-+ )
-
- if sys.version_info[0] < 3 or sys.version_info[1] < 9:
- raise Exception("Anki requires Python 3.9+")