summaryrefslogtreecommitdiff
path: root/dev-python/mpmath
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-09 19:00:20 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-09 19:00:20 +0000
commita38e29fa3d1d73aa80df8b62ff1dd7ddf8967a99 (patch)
tree401c101fc6ec81a5d9c74b0caa3b714dc767b39e /dev-python/mpmath
parentd040dfeee4aeee655599ab9091f1fb756b21c23d (diff)
downloadbaldeagleos-repo-a38e29fa3d1d73aa80df8b62ff1dd7ddf8967a99.tar.gz
baldeagleos-repo-a38e29fa3d1d73aa80df8b62ff1dd7ddf8967a99.tar.xz
baldeagleos-repo-a38e29fa3d1d73aa80df8b62ff1dd7ddf8967a99.zip
Adding metadata
Diffstat (limited to 'dev-python/mpmath')
-rw-r--r--dev-python/mpmath/mpmath-1.4.0_alpha5-r1.ebuild21
1 files changed, 13 insertions, 8 deletions
diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha5-r1.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha5-r1.ebuild
index 55c1384489af..fa543209a3b3 100644
--- a/dev-python/mpmath/mpmath-1.4.0_alpha5-r1.ebuild
+++ b/dev-python/mpmath/mpmath-1.4.0_alpha5-r1.ebuild
@@ -4,8 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
-
+PYTHON_FULLY_TESTED=( pypy3_11 python3_{11..13} )
+PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
@@ -33,7 +33,9 @@ BDEPEND="
dev-python/gmpy2[${PYTHON_USEDEP}]
' 'python3*')
test-full? (
- dev-python/matplotlib[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ ' "${PYTHON_FULLY_TESTED[@]}")
)
)
"
@@ -48,11 +50,14 @@ PATCHES=(
)
python_test() {
- local EPYTEST_DESELECT=()
-
- # CLI crashes otherwise, sigh (not a regression)
- # https://github.com/mpmath/mpmath/issues/907
- > "${HOME}/.python_history" || die
+ local EPYTEST_DESELECT=(
+ # Slow and often needs a re-run to pass
+ mpmath/tests/test_cli.py::test_bare_console_bare_division
+ mpmath/tests/test_cli.py::test_bare_console_no_bare_division
+ mpmath/tests/test_cli.py::test_bare_console_pretty
+ mpmath/tests/test_cli.py::test_bare_console_without_ipython
+ mpmath/tests/test_cli.py::test_bare_console_wrap_floats
+ )
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p rerunfailures --reruns=5 -p timeout