From 66e7b25d79ffd8ac927a939a6ce23a031cdb9897 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Fri, 21 May 2021 18:08:45 +0200 Subject: [PATCH] dev-python/QtPy: drop webkit dep It is deprecated, and the tests will work either way because things which are not found are automatically skipped. Also require both pyqt5 and pyside2 to be set if we want to run tests, because it won't work if one of them is disabled. Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan --- dev-python/QtPy/QtPy-1.9.0-r4.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/QtPy/QtPy-1.9.0-r4.ebuild b/dev-python/QtPy/QtPy-1.9.0-r4.ebuild index b31189ce6bd2d..0aa58b9aaab06 100644 --- a/dev-python/QtPy/QtPy-1.9.0-r4.ebuild +++ b/dev-python/QtPy/QtPy-1.9.0-r4.ebuild @@ -23,7 +23,10 @@ _IUSE_QT_MODULES=" IUSE="+pyqt5 pyside2 ${_IUSE_QT_MODULES}" unset _IUSE_QT_MODULES -REQUIRED_USE="|| ( pyqt5 pyside2 )" +REQUIRED_USE=" + || ( pyqt5 pyside2 ) + test? ( pyqt5 pyside2 ) +" # These flags are currently *not* common to both the PySide2 and PyQt5 ebuild # Disable them for now, please check periodically if this is still up to date. @@ -89,7 +92,7 @@ BDEPEND=" dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location] dev-python/PyQt5[multimedia,network,networkauth,opengl,positioning] dev-python/PyQt5[printsupport,sensors,serialport,sql,svg,testlib] - dev-python/PyQt5[webchannel,webkit,websockets,widgets,x11extras,xml(+)] + dev-python/PyQt5[webchannel,websockets,widgets,x11extras,xml(+)] dev-python/PyQt5[xmlpatterns] dev-python/PyQtWebEngine[${PYTHON_USEDEP}] dev-python/pyside2[${PYTHON_USEDEP}]