From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3FF3F158087 for ; Tue, 1 Feb 2022 18:43:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68C4F2BC042; Tue, 1 Feb 2022 18:43:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 471852BC04A for ; Tue, 1 Feb 2022 18:43:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F6D2343171 for ; Tue, 1 Feb 2022 18:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA1742AF for ; Tue, 1 Feb 2022 18:43:27 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1643740997.9cd9122b917025bf51694d5ed45e6bead8747be6.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyamg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyamg/pyamg-4.2.1.ebuild X-VCS-Directories: dev-python/pyamg/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 9cd9122b917025bf51694d5ed45e6bead8747be6 X-VCS-Branch: master Date: Tue, 1 Feb 2022 18:43:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eb012c39-a6b5-497c-97d7-8326bde6f8a0 X-Archives-Hash: 715cd51145c04958be967bb9816599ab commit: 9cd9122b917025bf51694d5ed45e6bead8747be6 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Feb 1 18:16:46 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Feb 1 18:43:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd9122b dev-python/pyamg: fix test calls Use better way to handle pytest C errors Fixes: 31f75efcb11aefe2502f36facf2f1c329b022233 Signed-off-by: Arthur Zamarin gentoo.org> 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 }