summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-09-09 22:53:17 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-09-09 22:55:02 +0300
commit7b5ff4d5050a74a3079837d40fe2037d9cb00ecd (patch)
tree90911c1c34e7452b1d8a5b3cac16b492f60d211d /dev-python/mpmath
parentnet-wireless/iwd: fix ell dep (build time fail) (diff)
downloadgentoo-7b5ff4d5050a74a3079837d40fe2037d9cb00ecd.tar.gz
gentoo-7b5ff4d5050a74a3079837d40fe2037d9cb00ecd.tar.bz2
gentoo-7b5ff4d5050a74a3079837d40fe2037d9cb00ecd.zip
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@gentoo.org>
Diffstat (limited to 'dev-python/mpmath')
-rw-r--r--dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild10
1 files 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})
+ )
)
"