From 6d46268e997ed4df29a7db4d5b1931663e8b732b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 3 Jan 2026 08:03:06 +0100 Subject: dev-python/mpmath: Bump to 1.4.0_beta3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/mpmath/mpmath-1.4.0_beta3.ebuild | 57 +++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 dev-python/mpmath/mpmath-1.4.0_beta3.ebuild (limited to 'dev-python/mpmath/mpmath-1.4.0_beta3.ebuild') diff --git a/dev-python/mpmath/mpmath-1.4.0_beta3.ebuild b/dev-python/mpmath/mpmath-1.4.0_beta3.ebuild new file mode 100644 index 000000000000..a102e6824985 --- /dev/null +++ b/dev-python/mpmath/mpmath-1.4.0_beta3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_FULLY_TESTED=( pypy3_11 python3_{11..13} ) +PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" python3_14 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE=" + https://mpmath.org/ + https://github.com/mpmath/mpmath/ + https://pypi.org/project/mpmath/ +" + +LICENSE="BSD" +SLOT="0" +IUSE="test-full" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/gmpy2-2.3.0_alpha1[${PYTHON_USEDEP}] + ' 'python3*') + test-full? ( + $(python_gen_cond_dep ' + dev-python/matplotlib[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-timeout ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +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 +) + +pkg_postinst() { + optfeature "gmp support" dev-python/gmpy2 + optfeature "matplotlib support" dev-python/matplotlib +} -- cgit v1.2.3