From 07c89b58e2103d0ab87ff403e46b9d37dd0a560f Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Tue, 1 Feb 2022 20:08:44 +0200 Subject: [PATCH] dev-python/gssapi: fix test calls Use better way to handle pytest C errors Fixes: 38695c204978839a830c4800e9ab669dcbc391f0 Signed-off-by: Arthur Zamarin --- dev-python/gssapi/gssapi-1.7.2.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-python/gssapi/gssapi-1.7.2.ebuild b/dev-python/gssapi/gssapi-1.7.2.ebuild index 3879ab4da4061..4919663504100 100644 --- a/dev-python/gssapi/gssapi-1.7.2.ebuild +++ b/dev-python/gssapi/gssapi-1.7.2.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 @@ -31,7 +31,6 @@ BDEPEND=" distutils_enable_tests pytest python_test() { - cp -r -l -n gssapi "${BUILD_DIR}/lib" || die - cd "${BUILD_DIR}/lib" || die - epytest + cd "${T}" || die + epytest --pyargs gssapi }