summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-12-11 13:11:39 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-12-11 13:14:06 -0500
commit9c374f2d54c4bd5730da0c38f32a879fb92a3b24 (patch)
tree48fd84197a2a36e24c551380548321925629acbe /www-client/qutebrowser
parentdev-libs/openssl: Stabilize 1.1.1s sparc, #885117 (diff)
downloadgentoo-9c374f2d54c4bd5730da0c38f32a879fb92a3b24.tar.gz
gentoo-9c374f2d54c4bd5730da0c38f32a879fb92a3b24.tar.bz2
gentoo-9c374f2d54c4bd5730da0c38f32a879fb92a3b24.zip
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>
Diffstat (limited to 'www-client/qutebrowser')
-rw-r--r--www-client/qutebrowser/files/qutebrowser-2.5.2-dictcli.patch17
-rw-r--r--www-client/qutebrowser/qutebrowser-2.5.2-r1.ebuild (renamed from www-client/qutebrowser/qutebrowser-2.5.2.ebuild)4
2 files changed, 21 insertions, 0 deletions
diff --git a/www-client/qutebrowser/files/qutebrowser-2.5.2-dictcli.patch b/www-client/qutebrowser/files/qutebrowser-2.5.2-dictcli.patch
new file mode 100644
index 000000000000..cd179a5d0236
--- /dev/null
+++ b/www-client/qutebrowser/files/qutebrowser-2.5.2-dictcli.patch
@@ -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):
diff --git a/www-client/qutebrowser/qutebrowser-2.5.2.ebuild b/www-client/qutebrowser/qutebrowser-2.5.2-r1.ebuild
index d3151e4cf8de..459d498416d1 100644
--- a/www-client/qutebrowser/qutebrowser-2.5.2.ebuild
+++ b/www-client/qutebrowser/qutebrowser-2.5.2-r1.ebuild
@@ -57,6 +57,10 @@ BDEPEND="
distutils_enable_tests pytest
+PATCHES=(
+ "${FILESDIR}"/${P}-dictcli.patch
+)
+
src_prepare() {
distutils-r1_src_prepare