C-coded Python extension module that supports multiple-precision arithmetic.
In addition to supporting GMP or MPIR for multiple-precision integer and
rational arithmetic, gmpy2 adds support for the MPFR (correctly rounded real
floating-point arithmetic) and MPC (correctly rounded complex floating-point
arithmetic) libraries.
This is the -devel version, to be removed when 2.1 will be the new stable.
WWW: https://pypi.org/project/gmpy2/
WWW: https://github.com/aleaxit/gmpy/releases
===> The following configuration options are available for py38-gmpy2-devel-2.1.0.b5_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
math/py-gmpy2-devel: fix build with PYTHON_DEFAULT <3.7 >3.9
- Explicitly specify correct sphinx-build binary to use.
Use versioned binary, as unversioned one may not be available
(such as when building with default python=3.10; in this case
PY_FLAVOR is py38 as this port does not yet support python 3.10,
so it pulls sphinx-build@py38 which does not install sphinx-build
as 3.8 is not default python version).
- Fix LICENSE and add LICENSE_FILE
- Do not try to install docs in build phase
Approved by: portmgr blanket
Update to MPC version 1.2.0 with the following changes:
- New functions:
. mpc_sum
. mpc_dot
- Several functions are more robust with a reduced exponent range
(for example corresponding to IEEE 754 binary formats).
- New mpcheck tool for comparison with the native C library (which
is not installed by default).
Bump all directly dependent ports. Do not bump those indirectly
dependent via the lang/gcc* family since their run-time dependencies
and code generated should not be affected.
PR: 249950
Submitted by: wen