notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-gmpy2 GMP/MPIR, MPFR, and MPC interface to Python
2.1.2 math on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.1.1Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-06-14 08:21:19
Last Update: 2022-01-07 08:34:45
Commit Hash: dac432e
Also Listed In: python
License: GPLv3
Description:
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}
Conflicts:
CONFLICTS:
  • py38-gmpy2-devel-2.1*
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
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: 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>)
  • py38: py38-gmpy2
distinfo:
Packages (timestamps in pop-ups are UTC):
py27-gmpy2
ABIlatestquarterly
FreeBSD:11:aarch642.0.8_32.0.8_3
FreeBSD:11:amd64--
FreeBSD:11:armv62.0.72.0.8_3
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips642.0.82.0.8_3
FreeBSD:12:aarch642.0.8_3-
FreeBSD:12:amd64--
FreeBSD:12:armv62.0.8_32.0.8_3
FreeBSD:12:armv72.0.8_32.0.8_3
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips642.0.8_32.0.8_3
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py36-gmpy2
ABIlatestquarterly
FreeBSD:11:aarch642.0.8_3-
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch642.0.8_3-
FreeBSD:12:amd64--
FreeBSD:12:armv62.0.8_3-
FreeBSD:12:armv72.0.8_3-
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips642.0.8_3-
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py37-gmpy2
ABIlatestquarterly
FreeBSD:11:aarch64-2.0.8_3
FreeBSD:11:amd64--
FreeBSD:11:armv6-2.0.8_3
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-2.0.8_3
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-2.0.8_3
FreeBSD:12:armv7-2.0.8_3
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64-2.0.8_3
FreeBSD:12:powerpc64-2.0.8_4
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv62.0.8_32.0.8_4
FreeBSD:13:armv72.0.8_3-
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc642.0.8_3-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv62.0.8_4-
FreeBSD:14:armv72.0.8_4-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc642.0.8_4-
 
py38-gmpy2
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd642.0.8_42.0.8_4
FreeBSD:11:armv6--
FreeBSD:11:i3862.0.8_42.0.8_4
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-2.1.1
FreeBSD:12:amd642.1.22.1.1
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3862.1.22.1.1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch642.1.12.1.1
FreeBSD:13:amd642.1.22.1.1
FreeBSD:13:armv6--
FreeBSD:13:armv7-2.0.8_4
FreeBSD:13:i3862.1.22.1.1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-2.0.8_4
FreeBSD:14:aarch642.1.2-
FreeBSD:14:amd642.1.2-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3862.1.2-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
Runtime dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpc.so : math/mpc
  3. libmpfr.so : math/mpfr
This port is required by:
for Run
  1. math/py-Diofant
  2. security/py-ecdsa

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/g/gmpy2/
  2. https://pypi.org/packages/source/g/gmpy2/
Collapse this list.

Number of commits found: 16

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Jan 2022 08:34:45
 files touched by this commit commit hash:dac432e422bd9cb1772fc3970b90d733149681fe  2.1.2
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: Update 2.1.1 -> 2.1.2

Reported by:	portscout
23 Dec 2021 21:17:36
 files touched by this commit commit hash:817c2d526200a1e299fbfc2a1a540a776eced067  2.1.1
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: Update 2.0.8 -> 2.1.1

Reported by:	portscout
01 Nov 2021 13:59:08
 files touched by this commit commit hash:474ca5810f7f1ff77260aa27dc1fb567b09fb5d3  2.0.8_4
Dmitry Marakasov (amdmi3) search for other commits by this committer
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
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  2.0.8_4
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
21 Mar 2021 09:57:05
Original commit files touched by this commit Revision:568912  2.0.8_4
gerald search for other commits by this committer
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
Original commit files touched by this commit Revision:559531  2.0.8_3
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
24 Dec 2020 13:46:02
Original commit files touched by this commit Revision:559094  2.0.8_3
kai search for other commits by this committer
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
Original commit files touched by this commit Revision:535722  2.0.8_3
thierry search for other commits by this committer
Register the conflict with math/py-gmpy2-devel.
25 Apr 2018 16:42:38
Original commit files touched by this commit Revision:468282  2.0.8_3
amdmi3 search for other commits by this committer
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
Original commit files touched by this commit Revision:467751  2.0.8_3
ale search for other commits by this committer
Update mpfr to 4.0.1 release and bump PORTVERSION of dependent ports.
29 Mar 2018 22:02:54
Original commit files touched by this commit Revision:465933  2.0.8_2
yuri search for other commits by this committer
math/py-gmpy2: Remove 2.7 limitation in USES=python

It looks like it was there by mistake.
10 Mar 2018 17:46:06
Original commit files touched by this commit Revision:464084  2.0.8_2
gerald search for other commits by this committer
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
Original commit files touched by this commit Revision:462887  2.0.8_1
yuri search for other commits by this committer
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
Original commit files touched by this commit Revision:462307  2.0.8_1
antoine search for other commits by this committer
Reduce dependency on the python2 metaport

PR:		225752
Submitted by:	Yasuhiro KIMURA
28 Jun 2016 06:10:11
Original commit files touched by this commit Revision:417694  2.0.8
wen search for other commits by this committer
- Update to 2.0.8

PR:		210585
Submitted by:	yuri@rawbw.com(maintainer)
14 Jun 2016 08:21:13
Original commit files touched by this commit Revision:416879  2.0.7
wen search for other commits by this committer
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

Number of commits found: 16