Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyamg/
Date: Tue, 01 Feb 2022 18:43:31
Message-Id: 1643740997.9cd9122b917025bf51694d5ed45e6bead8747be6.arthurzam@gentoo
1 commit: 9cd9122b917025bf51694d5ed45e6bead8747be6
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 18:16:46 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 18:43:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd9122b
7
8 dev-python/pyamg: fix test calls
9
10 Use better way to handle pytest C errors
11
12 Fixes: 31f75efcb11aefe2502f36facf2f1c329b022233
13 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
14
15 dev-python/pyamg/pyamg-4.2.1.ebuild | 7 +++----
16 1 file changed, 3 insertions(+), 4 deletions(-)
17
18 diff --git a/dev-python/pyamg/pyamg-4.2.1.ebuild b/dev-python/pyamg/pyamg-4.2.1.ebuild
19 index cdcc0310a2cb..971ced744f5c 100644
20 --- a/dev-python/pyamg/pyamg-4.2.1.ebuild
21 +++ b/dev-python/pyamg/pyamg-4.2.1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=8
28 @@ -32,7 +32,6 @@ distutils_enable_tests pytest
29 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
30
31 python_test() {
32 - cp -r -l -n pyamg "${BUILD_DIR}/lib" || die
33 - cd "${BUILD_DIR}/lib" || die
34 - epytest
35 + cd "${T}" || die
36 + epytest --pyargs pyamg
37 }