Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyqtgraph/
Date: Wed, 07 Sep 2022 07:51:36
Message-Id: 1662537008.09740bd9cb0fbe913e05ecb94ff67ec700ab1f6c.mgorny@gentoo
1 commit: 09740bd9cb0fbe913e05ecb94ff67ec700ab1f6c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 4 08:16:54 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 7 07:50:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09740bd9
7
8 dev-python/pyqtgraph: Enable pytest-xvfb explicitly
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild | 11 ++++++++---
13 1 file changed, 8 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
16 index c7a36040467f..5d15ae1e159f 100644
17 --- a/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
18 +++ b/dev-python/pyqtgraph/pyqtgraph-0.12.4.ebuild
19 @@ -10,13 +10,18 @@ inherit distutils-r1 multiprocessing
20
21 TEST_DATA_TAG=test-data-8
22 DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy"
23 -HOMEPAGE="https://www.pyqtgraph.org/ https://pypi.org/project/pyqtgraph/"
24 +HOMEPAGE="
25 + https://www.pyqtgraph.org/
26 + https://github.com/pyqtgraph/pyqtgraph/
27 + https://pypi.org/project/pyqtgraph/
28 +"
29 SRC_URI="
30 https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz
31 test? (
32 https://github.com/pyqtgraph/test-data/archive/${TEST_DATA_TAG}.tar.gz
33 -> ${PN}-${TEST_DATA_TAG}.tar.gz
34 - )"
35 + )
36 +"
37 S=${WORKDIR}/${PN}-${P}
38
39 LICENSE="MIT"
40 @@ -68,7 +73,7 @@ python_test() {
41 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]'
42 )
43
44 - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
45 + epytest -p xvfb -n "$(makeopts_jobs)"
46 }
47
48 src_test() {