mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/QtPy: move virtx so failure is not ignored
Closes: https://bugs.gentoo.org/829145 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -122,16 +122,12 @@ src_prepare() {
|
||||
sed -i -e "s/from PySide.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx python_foreach_impl python_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if use pyqt5; then
|
||||
QT_API="pyqt5" epytest
|
||||
virtx QT_API="pyqt5" epytest
|
||||
fi
|
||||
if use pyside2; then
|
||||
QT_API="pyside2" epytest
|
||||
virtx QT_API="pyside2" epytest
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user