diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-03-21 22:19:07 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-03-21 22:23:09 -0400 |
commit | 89949e527754f03fed66122a4302e5ac5b409d6d (patch) | |
tree | 86cca48d5067ce46577dcf617a2d71c61dc78912 /www-client | |
parent | x11-base/xwayland: Move IUSE (diff) | |
download | gentoo-89949e527754f03fed66122a4302e5ac5b409d6d.tar.gz gentoo-89949e527754f03fed66122a4302e5ac5b409d6d.tar.bz2 gentoo-89949e527754f03fed66122a4302e5ac5b409d6d.zip |
www-client/qutebrowser: fix tests qith upcoming Qt6.6.3+6.7.0
Thought this was 6.7.0-only at first, but seems it was backported
to 6.6.3 which should release very soon.
Not touching live given upstream is likely to look more closely at
6.7.0 issues soon.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch | 12 | ||||
-rw-r--r-- | www-client/qutebrowser/qutebrowser-3.1.0.ebuild | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch b/www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch new file mode 100644 index 000000000000..e262623ab1c7 --- /dev/null +++ b/www-client/qutebrowser/files/qutebrowser-3.1.0-qt663-tests.patch @@ -0,0 +1,12 @@ +6.6.3 and 6.7.0-rc start to emit a new warning that causes: +test_browsertab.py:13: Failure: Qt messages with level WARNING or above emitted + +It still seems(?) to be able to find qutebrowser's installed dictionaries +fine and spellchecking works. Let's just ignore this warning for now. +--- a/pytest.ini ++++ b/pytest.ini +@@ -63,2 +63,4 @@ + Error in contacting registry: "org\.freedesktop\.DBus\.Error\.Disconnected" "Not connected to D-Bus server" ++ # Qt 6.6.3 and 6.7.0, not looked into but spellchecking still functions ++ ^Path override failed for key base::DIR_APP_DICTIONARIES and path .* + xfail_strict = true diff --git a/www-client/qutebrowser/qutebrowser-3.1.0.ebuild b/www-client/qutebrowser/qutebrowser-3.1.0.ebuild index 8bf80f2e1370..b71080584826 100644 --- a/www-client/qutebrowser/qutebrowser-3.1.0.ebuild +++ b/www-client/qutebrowser/qutebrowser-3.1.0.ebuild @@ -81,6 +81,10 @@ fi distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${P}-qt663-tests.patch +) + src_prepare() { distutils-r1_src_prepare |