summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-12-15 16:33:05 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-12-15 18:11:58 +0100
commitfa0684ea0ef948a16dd61d2f35060d010c00ae87 (patch)
treed1af01fa001c68261efbe5596fa6d5366dd2e01e /dev-python/QtPy
parentdev-python/pyglet: fix tests, enable py3.10 (diff)
downloadgentoo-fa0684ea0ef948a16dd61d2f35060d010c00ae87.tar.gz
gentoo-fa0684ea0ef948a16dd61d2f35060d010c00ae87.tar.bz2
gentoo-fa0684ea0ef948a16dd61d2f35060d010c00ae87.zip
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>
Diffstat (limited to 'dev-python/QtPy')
-rw-r--r--dev-python/QtPy/QtPy-1.11.3-r1.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-python/QtPy/QtPy-1.11.3-r1.ebuild b/dev-python/QtPy/QtPy-1.11.3-r1.ebuild
index 6ced63406d95..56716c7509d2 100644
--- a/dev-python/QtPy/QtPy-1.11.3-r1.ebuild
+++ b/dev-python/QtPy/QtPy-1.11.3-r1.ebuild
@@ -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
}