diff options
| author | Michał Górny <mgorny@gentoo.org> | 2026-02-17 08:02:54 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2026-02-17 09:39:27 +0100 |
| commit | 2dddba2c8232319e9cab87427e57721aa81aedf0 (patch) | |
| tree | 79205cfe8c1970e992b463bbe402d6f8298e77ca /dev-python | |
| parent | f9de4260241637d908cdcaee67ed66f32a62354a (diff) | |
| download | gentoo-2dddba2c8232319e9cab87427e57721aa81aedf0.tar.gz gentoo-2dddba2c8232319e9cab87427e57721aa81aedf0.tar.bz2 gentoo-2dddba2c8232319e9cab87427e57721aa81aedf0.zip | |
dev-python/mpmath: Bump to 1.4.0_beta4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/mpmath/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mpmath/mpmath-1.4.0_beta4.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 08f61f3114aaf..68e48f99c0db8 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1,3 +1,4 @@ DIST mpmath-1.4.0a7.tar.gz 2088255 BLAKE2B ae8578add85134d72401a1e47e687e35b2c40755f4121013c509bbb5d988b649c6bc7aaa803fe135fb34841ed2c12fd243900add9ba92909de66c32c3433063b SHA512 18be276fc51ae701853047e916c7710f27211a2b6a76f7fc7684794422fb9549cdd066daa3bb712123378787932756cf66bee4b718fb3bece99e886f215d2c27 DIST mpmath-1.4.0b2.tar.gz 2089406 BLAKE2B 677eb7d18dfe9902d644590dfa4f2b9f422adab9d2ac85cace10924aab16d98e6811db2ae077ea8d9ba09da0068d98b97e23dd216b7ecd37e4a6e146f5b58f6c SHA512 a6dd1598cf8358725e27dc8e80d9d796b993e31e303d91f78c7d20c415703010c72b393e0800ef9602a08cdceb13b44634d5b8b35e57098a881ee61ba12a9775 DIST mpmath-1.4.0b3.tar.gz 2089337 BLAKE2B a769e83c00bad7ef5637b4991443a07891e16fc97b49da5cccc6b064a91b15963382514932268fc0698d5de7ea7b60e0ea7d61c11f19979e5b12a54a942ceaaf SHA512 550df10ee488a5170af3c33ef2522a488da8f3eb19c97748792ed99063fc67f0376ecf083bce6e6ef4d54ef1d3277eb5e493b4287cf58f5d8522c6901cc0c089 +DIST mpmath-1.4.0b4.tar.gz 2089570 BLAKE2B b848713661a67fef69e5ad626033a46802234fc89223386a95b95c08cba1f405273159b066eb1c2b6c8052abedaa55d4c6181d6cd9a88e1be5f2e71ea83fac0c SHA512 51d69ad8955a988d8bdb251a6ab167186b35de4c1c5a32423fa9f587f418944b3f576506f165e2dc15b5c50b18ab6eff8ffa0fa3b61d5114e58ff3932cbc9c3f diff --git a/dev-python/mpmath/mpmath-1.4.0_beta4.ebuild b/dev-python/mpmath/mpmath-1.4.0_beta4.ebuild new file mode 100644 index 0000000000000..32c39d9d52c50 --- /dev/null +++ b/dev-python/mpmath/mpmath-1.4.0_beta4.ebuild @@ -0,0 +1,58 @@ +# 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" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +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[${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 +} |
