Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/six/
Date: Wed, 05 May 2021 17:06:01
Message-Id: 1620234338.324f54f3e307064d2081387870a112eb16b7ab41.mgorny@gentoo
1 commit: 324f54f3e307064d2081387870a112eb16b7ab41
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 5 13:48:01 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 5 17:05:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324f54f3
7
8 dev-python/six: Deselect failing pypy3 test
9
10 Closes: https://bugs.gentoo.org/728778
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/six/six-1.15.0-r1.ebuild | 9 +++++++++
14 1 file changed, 9 insertions(+)
15
16 diff --git a/dev-python/six/six-1.15.0-r1.ebuild b/dev-python/six/six-1.15.0-r1.ebuild
17 index 75bae387ec4..830bec098c8 100644
18 --- a/dev-python/six/six-1.15.0-r1.ebuild
19 +++ b/dev-python/six/six-1.15.0-r1.ebuild
20 @@ -17,3 +17,12 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 s
21
22 distutils_enable_sphinx documentation --no-autodoc
23 distutils_enable_tests pytest
24 +
25 +python_test() {
26 + local deselect=()
27 + [[ ${EPYTHON} == pypy3 ]] && deselect+=(
28 + 'test_six.py::test_move_items[dbm_ndbm]'
29 + )
30 +
31 + epytest ${deselect[@]/#/--deselect }
32 +}