commit: 66e7b25d79ffd8ac927a939a6ce23a031cdb9897
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri May 21 16:08:45 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri May 21 16:08:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66e7b25d
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 <AT> gentoo.org>
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 b31189ce6bd..0aa58b9aaab 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}]