summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-09-26 19:45:16 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-09-26 20:00:13 -0400
commitef9afe012b1708dd6eec8b9c888b66b019d1fecf (patch)
tree8345e5889ec92028ad8a63b850f3e241fb890a6b /www-client
parentnet-dns/bind-tools: Stabilize 9.16.42 arm64, #914082 (diff)
downloadgentoo-ef9afe012b1708dd6eec8b9c888b66b019d1fecf.tar.gz
gentoo-ef9afe012b1708dd6eec8b9c888b66b019d1fecf.tar.bz2
gentoo-ef9afe012b1708dd6eec8b9c888b66b019d1fecf.zip
Revert "www-client/qutebrowser: drop 6.5.3 tests workaround"
This reverts commit 33ef6a9d4df3ea6a0c688b0bb3bde2f7fa5e481d. Actually still cause problems with 6.6.0-rc, going to keep this around for a bit longer and see how it goes. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch10
-rw-r--r--www-client/qutebrowser/qutebrowser-3.0.0.ebuild4
2 files changed, 14 insertions, 0 deletions
diff --git a/www-client/qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch b/www-client/qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch
new file mode 100644
index 000000000000..e6d1185202cd
--- /dev/null
+++ b/www-client/qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch
@@ -0,0 +1,10 @@
+Qt6.5.3+ emits new warnings and causes tests to be aborted even if did
+not really fail. May(?) indicate that something needs to be done better
+in PyQt6 or qutebrowser, but let's just ignore it here for now.
+--- a/pytest.ini
++++ b/pytest.ini
+@@ -61,2 +61,4 @@
+ ^QBackingStore::endPaint\(\) called with active painter; did you forget to destroy it or call QPainter::end\(\) on it\?$
++ # ...and Qt 6.5.3
++ ^QItemSelectionModel: Selecting when no model has been set will result in a no-op\.
+ xfail_strict = true
diff --git a/www-client/qutebrowser/qutebrowser-3.0.0.ebuild b/www-client/qutebrowser/qutebrowser-3.0.0.ebuild
index f2467c8a47d8..189d01f0bdf8 100644
--- a/www-client/qutebrowser/qutebrowser-3.0.0.ebuild
+++ b/www-client/qutebrowser/qutebrowser-3.0.0.ebuild
@@ -81,6 +81,10 @@ fi
distutils_enable_tests pytest
+PATCHES=(
+ "${FILESDIR}"/${P}-tests-qt653.patch
+)
+
src_prepare() {
distutils-r1_src_prepare