commit:     09740bd9cb0fbe913e05ecb94ff67ec700ab1f6c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 08:16:54 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 07:50:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09740bd9

dev-python/pyqtgraph: Enable pytest-xvfb explicitly

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild 
b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
index c7a36040467f..5d15ae1e159f 100644
--- a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
+++ b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
@@ -10,13 +10,18 @@ inherit distutils-r1 multiprocessing
 
 TEST_DATA_TAG=test-data-8
 DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy"
-HOMEPAGE="https://www.pyqtgraph.org/ https://pypi.org/project/pyqtgraph/";
+HOMEPAGE="
+       https://www.pyqtgraph.org/
+       https://github.com/pyqtgraph/pyqtgraph/
+       https://pypi.org/project/pyqtgraph/
+"
 SRC_URI="
        https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz
        test? (
                
https://github.com/pyqtgraph/test-data/archive/${TEST_DATA_TAG}.tar.gz
                        -> ${PN}-${TEST_DATA_TAG}.tar.gz
-       )"
+       )
+"
 S=${WORKDIR}/${PN}-${P}
 
 LICENSE="MIT"
@@ -68,7 +73,7 @@ python_test() {
                'pyqtgraph/examples/test_examples.py::testExamples[ 
designerExample.py - PySide2 ]'
        )
 
-       epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+       epytest -p xvfb -n "$(makeopts_jobs)"
 }
 
 src_test() {

Reply via email to