commit:     7b5ff4d5050a74a3079837d40fe2037d9cb00ecd
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  9 19:53:17 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 19:55:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5ff4d5

dev-python/mpmath: set optional test deps on mips

Both dev-python/matplotlib and dev-python/ipython are not yet
keyworded on mips, so for now, to simplify the deptree, let's make
them optional. Upstream code already does skip test when the import
fails.

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild 
b/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild
index 6404b6fadcbc..ecc2eea4819e 100644
--- a/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild
+++ b/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild
@@ -22,16 +22,18 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~
 BDEPEND="
        dev-python/setuptools-scm[${PYTHON_USEDEP}]
        test? (
-               dev-python/matplotlib[${PYTHON_USEDEP}]
                dev-python/numpy[${PYTHON_USEDEP}]
                dev-python/pexpect[${PYTHON_USEDEP}]
                dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
                $(python_gen_cond_dep '
                        dev-python/gmpy[${PYTHON_USEDEP}]
                ' 'python3*')
-               $(python_gen_cond_dep '
-                       dev-python/ipython[${PYTHON_USEDEP}]
-               ' 3.{10..12})
+               !mips? (
+                       dev-python/matplotlib[${PYTHON_USEDEP}]
+                       $(python_gen_cond_dep '
+                               dev-python/ipython[${PYTHON_USEDEP}]
+                       ' 3.{10..12})
+               )
        )
 "
 

Reply via email to