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/dask/
Date: Fri, 21 Aug 2020 13:35:14
Message-Id: 1598016902.0fe085d7abd16f4ff3ae38ae02c71098904cb845.mgorny@gentoo
1 commit: 0fe085d7abd16f4ff3ae38ae02c71098904cb845
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 21 13:32:16 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 21 13:35:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe085d7
7
8 dev-python/dask: Respect MAKEOPTS for parallel tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/dask/dask-2.23.0.ebuild | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-python/dask/dask-2.23.0.ebuild b/dev-python/dask/dask-2.23.0.ebuild
16 index b4855c7b782..1930b91f340 100644
17 --- a/dev-python/dask/dask-2.23.0.ebuild
18 +++ b/dev-python/dask/dask-2.23.0.ebuild
19 @@ -4,7 +4,7 @@
20 EAPI=7
21 PYTHON_COMPAT=( python3_{6..9} )
22
23 -inherit distutils-r1
24 +inherit distutils-r1 multiprocessing
25
26 DESCRIPTION="Task scheduling and blocked algorithms for parallel processing"
27 HOMEPAGE="https://dask.org/"
28 @@ -48,6 +48,7 @@ src_prepare() {
29 }
30
31 python_test() {
32 - pytest -vv -m "not network" -n auto ||
33 + pytest -vv -m "not network" \
34 + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
35 die "Tests failed with ${EPYTHON}"
36 }