commit:     9c374f2d54c4bd5730da0c38f32a879fb92a3b24
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 18:11:39 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 18:14:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c374f2d

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 <AT> gentoo.org>

 .../qutebrowser/files/qutebrowser-2.5.2-dictcli.patch   | 17 +++++++++++++++++
 ...browser-2.5.2.ebuild => qutebrowser-2.5.2-r1.ebuild} |  4 ++++
 2 files changed, 21 insertions(+)

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 <[email protected]>
+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
similarity index 98%
rename from www-client/qutebrowser/qutebrowser-2.5.2.ebuild
rename to 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
 

Reply via email to