diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-15 07:09:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-15 07:09:16 +0000 |
| commit | c35c5391a819000e87c6accb64cc9abb848c810d (patch) | |
| tree | 113095a193cb522ca85f26dc856f46ff38eb254f /dev-python/mpmath | |
| parent | 8ba8d3c5f996904e8536e956504e295521ca65ae (diff) | |
| download | baldeagleos-repo-c35c5391a819000e87c6accb64cc9abb848c810d.tar.gz baldeagleos-repo-c35c5391a819000e87c6accb64cc9abb848c810d.tar.xz baldeagleos-repo-c35c5391a819000e87c6accb64cc9abb848c810d.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mpmath')
| -rw-r--r-- | dev-python/mpmath/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mpmath/mpmath-1.4.1.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 89e8346a2daa..fd9ded2c91cd 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1,3 +1,4 @@ DIST mpmath-1.4.0.tar.gz 2092745 BLAKE2B 40f6356e54667b950cdfe12bde6e1a6be9137cb74730de44f84fee53d71ae89e2e80c7614f98858f22bb5da6b740275b8551fec8937366a798a6aba699986ed2 SHA512 fa0d2e1a92c4693dcff6fce03d6bacd1156fec131c2af87c805cff62e0a232c230a8bab78987b43d58904a486577931592d12731990117fcab2b766c3c7f47f6 DIST mpmath-1.4.0a7.tar.gz 2088255 BLAKE2B ae8578add85134d72401a1e47e687e35b2c40755f4121013c509bbb5d988b649c6bc7aaa803fe135fb34841ed2c12fd243900add9ba92909de66c32c3433063b SHA512 18be276fc51ae701853047e916c7710f27211a2b6a76f7fc7684794422fb9549cdd066daa3bb712123378787932756cf66bee4b718fb3bece99e886f215d2c27 DIST mpmath-1.4.0b4.tar.gz 2089570 BLAKE2B b848713661a67fef69e5ad626033a46802234fc89223386a95b95c08cba1f405273159b066eb1c2b6c8052abedaa55d4c6181d6cd9a88e1be5f2e71ea83fac0c SHA512 51d69ad8955a988d8bdb251a6ab167186b35de4c1c5a32423fa9f587f418944b3f576506f165e2dc15b5c50b18ab6eff8ffa0fa3b61d5114e58ff3932cbc9c3f +DIST mpmath-1.4.1.tar.gz 2093211 BLAKE2B e023f23cc37a7670ab55bc803b453c2ab1257c47e1de63eb00809228831936573138355acb1aa6650640ed73fb7ada25aa65d3a35a86c71f236d3748101175c1 SHA512 aef995ece7db9168142d2041e7bad1596713de0de4dcfde1d7ea173cd628edd791335db68bb6d73cda7bece78e42e1fb4c595bac69d084afaca59a6e3a22af16 diff --git a/dev-python/mpmath/mpmath-1.4.1.ebuild b/dev-python/mpmath/mpmath-1.4.1.ebuild new file mode 100644 index 000000000000..2211c2dc2c2d --- /dev/null +++ b/dev-python/mpmath/mpmath-1.4.1.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..14} ) +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 +} |
