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/pytest-regressions/
Date: Mon, 28 Feb 2022 10:13:23
Message-Id: 1646043196.94f918abd574c964255f73f51e17ef770db67a67.mgorny@gentoo
1 commit: 94f918abd574c964255f73f51e17ef770db67a67
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 28 09:31:34 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 28 10:13:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94f918ab
7
8 dev-python/pytest-regressions: Make numpy test-dep optional
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild
16 index 42f0a8168f29..1f4d0d4876b9 100644
17 --- a/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild
18 +++ b/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild
19 @@ -24,7 +24,6 @@ RDEPEND="
20
21 BDEPEND="
22 test? (
23 - dev-python/numpy[${PYTHON_USEDEP}]
24 dev-python/tox[${PYTHON_USEDEP}]
25 )"
26
27 @@ -39,6 +38,11 @@ python_test() {
28 tests/test_image_regression.py::test_image_regression
29 )
30 fi
31 + if ! has_version "dev-python/numpy[${PYTHON_USEDEP}]"; then
32 + EPYTEST_IGNORE+=(
33 + tests/test_ndarrays_regression.py
34 + )
35 + fi
36 if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
37 EPYTEST_DESELECT+=(
38 tests/test_filenames.py::test_foo