commit: ef9afe012b1708dd6eec8b9c888b66b019d1fecf
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 23:45:16 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Sep 27 00:00:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef9afe01
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 <AT> gentoo.org>
.../qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch | 10 ++++++++++
www-client/qutebrowser/qutebrowser-3.0.0.ebuild | 4 ++++
2 files changed, 14 insertions(+)
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