dev-python/mpmath: Bump to 1.4.0_alpha8

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-02 07:14:52 +02:00
parent 09ba554b94
commit 9ce2fd8367
2 changed files with 57 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ DIST mpmath-1.4.0a2.tar.gz 2079112 BLAKE2B 9d2d99dddd4e800b3860f38ef1955b7d803c9
DIST mpmath-1.4.0a5.tar.gz 2081385 BLAKE2B a6a2b0415f1401948cc8af1bb61449d2804d52a75464b29bbeb18bcda089838336a10c4e5c4cb6a83ac7d710ebbfa1f2ba6566369d5e6bf5ea84047d465570b7 SHA512 998f11ffb66054fab88f6f9aa00def5dc0deee22f59031c8049fb6cda7485ef13352b48e51ab6e490c09c477adcd283b5c8e1d080974488fec5cd9b9139a914d
DIST mpmath-1.4.0a6.tar.gz 2085764 BLAKE2B 0faddbcf68689807fae5c1a21b00e669a3fb5cf834321b2c903f298adf4ab74e2861706c4dc4ba2f10f91da02eee02b79f9720d8a1f58f5bff00c8febf75f13a SHA512 477f6af5e1f2bba5ec31f370549f1d91cff9f2985d579cab1392c3bdf4fa83d1417b015ab65655027a0dea36e41cc984b76f53b1cbe79bb057fe899baaa7fb48
DIST mpmath-1.4.0a7.tar.gz 2088255 BLAKE2B ae8578add85134d72401a1e47e687e35b2c40755f4121013c509bbb5d988b649c6bc7aaa803fe135fb34841ed2c12fd243900add9ba92909de66c32c3433063b SHA512 18be276fc51ae701853047e916c7710f27211a2b6a76f7fc7684794422fb9549cdd066daa3bb712123378787932756cf66bee4b718fb3bece99e886f215d2c27
DIST mpmath-1.4.0a8.tar.gz 2088916 BLAKE2B b70f95320b9b49d529b8b855a8a641a748bf076866aa08d5e9a616f6c19f5ce9ec840968c05878ed7c813133ac1cbb903cc98b111f194391dbb0b5a283dda8da SHA512 be256da32d6aeef287205677a78f509acf568ee13a154c16222a1bc62ea14405e29adbbb5bb87a50a1105aff8a48bf533a34b514ff7f6fc48b477f9d164f9b6e

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2025 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
}