Port details |
- py-gmpy2 GMP/MPIR, MPFR, and MPC interface to Python
- 2.1.2 math
=0 2.1.2Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2016-06-14 08:21:19
- Last Update: 2022-04-22 10:07:02
- Commit Hash: d42c7e3
- Also Listed In: python
- License: GPLv3
- Description:
- 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.
WWW: https://pypi.org/project/gmpy2/
WWW: https://github.com/aleaxit/gmpy/releases
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/math/py-gmpy2/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-gmpy2
- pkg install py38-gmpy2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.NOTE: This is a Python port. Instead of py38-gmpy2 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py38-gmpy2
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1641524654
SHA256 (gmpy2-2.1.2.tar.gz) = da75140bca128ece795895477e53b43773e3748aa90ba6170eae7ca2c74b82d1
SIZE (gmpy2-2.1.2.tar.gz) = 258445
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Library dependencies:
-
- libgmp.so : math/gmp
- libmpc.so : math/mpc
- libmpfr.so : math/mpfr
- This port is required by:
- for Build
-
- math/py-pplpy
- math/sage
- for Run
-
- math/py-Diofant
- math/py-pplpy
- math/sage
- security/py-ecdsa
- Configuration Options:
- No options to configure
- Options name:
- math_py-gmpy2
- USES:
- localbase python:3.6-3.9
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
22 Apr 2022 10:07:02 2.1.2
|
Thierry Thomas (thierry)  |
math/py-gmpy2-devel: remove
No more use for this port: it can be superseded by the regular math/py-gmpy2. |
07 Jan 2022 08:34:45 2.1.2
|
Yuri Victorovich (yuri)  |
math/py-gmpy2: Update 2.1.1 -> 2.1.2
Reported by: portscout |
23 Dec 2021 21:17:36 2.1.1
|
Yuri Victorovich (yuri)  |
math/py-gmpy2: Update 2.0.8 -> 2.1.1
Reported by: portscout |
01 Nov 2021 13:59:08 2.0.8_4
|
Dmitry Marakasov (amdmi3)  |
math/py-gmpy2: limit supported python versions
src/gmpy_mpfr.c:756:20: error: use of undeclared identifier '_PyHASH_NAN'
return _PyHASH_NAN;
Approved by: portmgr blanket |
06 Apr 2021 14:31:07 2.0.8_4
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
21 Mar 2021 09:57:05
2.0.8_4
|
gerald  |
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 |
28 Dec 2020 23:02:15
2.0.8_3
|
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
24 Dec 2020 13:46:02
2.0.8_3
|
kai  |
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme. This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".
The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.
Remedy the issue by adding wildcards to these paths. This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.
[1] https://bugs.python.org/issue42604
PR: 252057
Reported by: John Kennedy
Reviewed by: fluffy, koobs
Approved by: koobs (python) |
18 May 2020 07:24:19
2.0.8_3
|
thierry  |
Register the conflict with math/py-gmpy2-devel. |
25 Apr 2018 16:42:38
2.0.8_3
|
amdmi3  |
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat |
19 Apr 2018 07:08:45
2.0.8_3
|
ale  |
Update mpfr to 4.0.1 release and bump PORTVERSION of dependent ports. |
29 Mar 2018 22:02:54
2.0.8_2
|
yuri  |
math/py-gmpy2: Remove 2.7 limitation in USES=python
It looks like it was there by mistake. |
10 Mar 2018 17:46:06
2.0.8_2
|
gerald  |
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079). |
25 Feb 2018 00:40:37
2.0.8_1
|
yuri  |
Replaced my old rawbw.com maintainer's address with yuri@FreeBSD.org
98 ports are affected.
Approved by: tcberner (mentor, implicit) |
19 Feb 2018 11:10:43
2.0.8_1
|
antoine  |
Reduce dependency on the python2 metaport
PR: 225752
Submitted by: Yasuhiro KIMURA |
28 Jun 2016 06:10:11
2.0.8
|
wen  |
- Update to 2.0.8
PR: 210585
Submitted by: yuri@rawbw.com(maintainer) |
14 Jun 2016 08:21:13
2.0.7
|
wen  |
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.
WWW: https://pypi.python.org/pypi/gmpy2
WWW: https://github.com/aleaxit/gmpy/releases
PR: 210127
Submitted by: yuri@rawbw.com |