commit:     c127558551879f38767ccb67063c57c60fc6f151
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 06:39:31 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 06:46:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1275585

www-client/qutebrowser: force pyqt5 for tests

Doing this now so don't forget, will be needed when PyQt6 is
in the tree and technically ensures pyside2 is not used too.

Version 3.0.0_pre will be able to "pyqt$(usex qt6 6 5)" for
tests, this already works with local Qt6 ebuilds.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 www-client/qutebrowser/qutebrowser-2.5.2.ebuild | 2 ++
 www-client/qutebrowser/qutebrowser-9999.ebuild  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/www-client/qutebrowser/qutebrowser-2.5.2.ebuild 
b/www-client/qutebrowser/qutebrowser-2.5.2.ebuild
index cb9e18e62ecc..a803b50c57ca 100644
--- a/www-client/qutebrowser/qutebrowser-2.5.2.ebuild
+++ b/www-client/qutebrowser/qutebrowser-2.5.2.ebuild
@@ -79,6 +79,8 @@ src_prepare() {
 }
 
 python_test() {
+       local -x PYTEST_QT_API=pyqt5
+
        local EPYTEST_DESELECT=(
                # end2end and other IPC tests are broken with "Name error" if
                # socket path is over 104 characters (=124 in /var/tmp/portage)

diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild 
b/www-client/qutebrowser/qutebrowser-9999.ebuild
index 5fbedd8a8bf8..db080c13371e 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -79,6 +79,8 @@ src_prepare() {
 }
 
 python_test() {
+       local -x PYTEST_QT_API=pyqt5
+
        local EPYTEST_DESELECT=(
                # end2end and other IPC tests are broken with "Name error" if
                # socket path is over 104 characters (=124 in /var/tmp/portage)

Reply via email to