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/gssapi/
Date: Tue, 01 Feb 2022 18:43:32
Message-Id: 1643740997.07c89b58e2103d0ab87ff403e46b9d37dd0a560f.arthurzam@gentoo
1 commit: 07c89b58e2103d0ab87ff403e46b9d37dd0a560f
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 18:08:44 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=07c89b58
7
8 dev-python/gssapi: fix test calls
9
10 Use better way to handle pytest C errors
11
12 Fixes: 38695c204978839a830c4800e9ab669dcbc391f0
13 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
14
15 dev-python/gssapi/gssapi-1.7.2.ebuild | 7 +++----
16 1 file changed, 3 insertions(+), 4 deletions(-)
17
18 diff --git a/dev-python/gssapi/gssapi-1.7.2.ebuild b/dev-python/gssapi/gssapi-1.7.2.ebuild
19 index 3879ab4da406..491966350410 100644
20 --- a/dev-python/gssapi/gssapi-1.7.2.ebuild
21 +++ b/dev-python/gssapi/gssapi-1.7.2.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 @@ -31,7 +31,6 @@ BDEPEND="
29 distutils_enable_tests pytest
30
31 python_test() {
32 - cp -r -l -n gssapi "${BUILD_DIR}/lib" || die
33 - cd "${BUILD_DIR}/lib" || die
34 - epytest
35 + cd "${T}" || die
36 + epytest --pyargs gssapi
37 }