From 9cd9122b917025bf51694d5ed45e6bead8747be6 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Tue, 1 Feb 2022 20:16:46 +0200 Subject: dev-python/pyamg: fix test calls Use better way to handle pytest C errors Fixes: 31f75efcb11aefe2502f36facf2f1c329b022233 Signed-off-by: Arthur Zamarin --- dev-python/pyamg/pyamg-4.2.1.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-python/pyamg/pyamg-4.2.1.ebuild b/dev-python/pyamg/pyamg-4.2.1.ebuild index cdcc0310a2cb..971ced744f5c 100644 --- a/dev-python/pyamg/pyamg-4.2.1.ebuild +++ b/dev-python/pyamg/pyamg-4.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -32,7 +32,6 @@ distutils_enable_tests pytest export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { - cp -r -l -n pyamg "${BUILD_DIR}/lib" || die - cd "${BUILD_DIR}/lib" || die - epytest + cd "${T}" || die + epytest --pyargs pyamg } -- cgit v1.2.3-65-gdbad