www-client/qutebrowser: backport trivial dictcli.py fix

Not super important, but still be a while before a 3.0.0,
and unsure when/if 2.5.3 is happening.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-12-11 13:11:39 -05:00
parent afd37c5982
commit 9c374f2d54
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
https://github.com/qutebrowser/qutebrowser/commit/f277876ce0817f7d05ca94b05beb644482027f85
From: Florian Bruhin <me@the-compiler.org>
Date: Sat, 19 Nov 2022 16:00:15 +0100
Subject: [PATCH] dictcli: Switch from master to main
Fixes #7481
--- a/scripts/dictcli.py
+++ b/scripts/dictcli.py
@@ -40,7 +40,7 @@
from qutebrowser.utils import standarddir
-API_URL = 'https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git/+/master/'
+API_URL = 'https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git/+/main/'
class InvalidLanguageError(Exception):

View File

@@ -57,6 +57,10 @@ BDEPEND="
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${P}-dictcli.patch
)
src_prepare() {
distutils-r1_src_prepare