commit: 65f11b0e26e676a2dd1a96cc9c540518fec3215c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 11:51:11 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 00:23:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f11b0e
dev-python/fonttools: Run a single Xvfb
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/fonttools/fonttools-4.29.0.ebuild | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-python/fonttools/fonttools-4.29.0.ebuild
b/dev-python/fonttools/fonttools-4.29.0.ebuild
index e91a05a05cd3..61180d63050f 100644
--- a/dev-python/fonttools/fonttools-4.29.0.ebuild
+++ b/dev-python/fonttools/fonttools-4.29.0.ebuild
@@ -48,7 +48,11 @@ src_configure() {
export FONTTOOLS_WITH_CYTHON=1
}
-python_test() {
+src_test() {
# virtualx used when matplotlib is installed causing plot module tests
to run
- virtx epytest Tests fontTools
+ virtx distutils-r1_src_test
+}
+
+python_test() {
+ epytest Tests fontTools || die "Tests failed with ${EPYTHON}"
}