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 <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-05-21 18:08:45 +02:00
parent 4dca9d042d
commit 66e7b25d79

View File

@@ -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}]