diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-17 22:06:55 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-17 22:06:55 +0000 |
| commit | 9975fab92df0a33f9350e366d99da941448a8cd3 (patch) | |
| tree | afc356f0b20ca724a67f702bd46a30c9368ceee1 /dev-python/mpmath/mpmath-1.4.0_beta4.ebuild | |
| parent | 15db2eae1898fcc096a21bc5cd1e750439070b75 (diff) | |
| download | baldeagleos-repo-9975fab92df0a33f9350e366d99da941448a8cd3.tar.gz baldeagleos-repo-9975fab92df0a33f9350e366d99da941448a8cd3.tar.xz baldeagleos-repo-9975fab92df0a33f9350e366d99da941448a8cd3.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mpmath/mpmath-1.4.0_beta4.ebuild')
| -rw-r--r-- | dev-python/mpmath/mpmath-1.4.0_beta4.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
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 000000000000..796fa1070447 --- /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[@]}" ) + +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 +} |
