notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-gmpy2 GMP/MPIR, MPFR, and MPC interface to Python
2.2.1 math on this many watch lists=2 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.2.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: 2024-08-25 16:47:03
Commit Hash: d6d0486
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: GPLv3
WWW:
https://gmpy2.readthedocs.io/en/latest/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
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 py311-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 py311-gmpy2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-gmpy2
Package flavors (<flavor>: <package>)
  • py311: py311-gmpy2
distinfo:
TIMESTAMP = 1724601373 SHA256 (gmpy2-2.2.1.tar.gz) = e83e07567441b78cb87544910cb3cc4fe94e7da987e93ef7622e76fb96650432 SIZE (gmpy2-2.2.1.tar.gz) = 234228

Packages (timestamps in pop-ups are UTC):
py37-gmpy2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.0.8_3---2.0.8_3-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-gmpy2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--2.1.5_1--2.1.5_12.1.5_12.1.5_1
FreeBSD:14:latest--2.1.2--2.1.5_1-2.1.5_1
FreeBSD:14:quarterly-----2.1.5_12.1.5_12.1.5_1
FreeBSD:15:latest--n/a-n/a2.1.5_12.1.5_12.1.5_1
 
py311-gmpy2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.2.12.2.1-2.2.12.2.1---
FreeBSD:13:quarterly2.1.5_12.1.5_1-2.1.5_12.2.1---
FreeBSD:14:latest2.2.12.2.1-2.2.12.2.1---
FreeBSD:14:quarterly2.1.5_12.2.1-2.1.5_12.2.1---
FreeBSD:15:latest2.2.12.2.1n/a2.2.1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpc.so : math/mpc
  3. libmpfr.so : math/mpfr
This port is required by:
for Build
  1. math/py-mpmath
  2. math/py-pplpy
  3. math/sage
for Run
  1. math/py-Diofant
  2. math/py-mpmath
  3. math/py-pplpy
  4. math/sage
  5. security/py-badkeys
  6. security/py-ecdsa

Configuration Options:
No options to configure
Options name:
math_py-gmpy2
USES:
localbase python
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.
Port Moves
  • port moved here from math/py-gmpy on 2023-07-01
    REASON: Has expired: EOLd, use math/py-gmpy2 instead

  • port moved here from math/py-gmpy2-devel on 2022-04-22
    REASON: No more need for the -devel port, py-gmpy2 is at latest

Number of commits found: 27

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.2.1
25 Aug 2024 16:47:03
commit hash: d6d0486a155cd48d043ddd184278ca99571875c6commit hash: d6d0486a155cd48d043ddd184278ca99571875c6commit hash: d6d0486a155cd48d043ddd184278ca99571875c6commit hash: d6d0486a155cd48d043ddd184278ca99571875c6 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: update 2.2.0 → 2.2.1

Reported by:	portscout
2.2.0
09 Jul 2024 10:08:41
commit hash: d056d1c79c66aef3244ef5ee5732139092c3cfeacommit hash: d056d1c79c66aef3244ef5ee5732139092c3cfeacommit hash: d056d1c79c66aef3244ef5ee5732139092c3cfeacommit hash: d056d1c79c66aef3244ef5ee5732139092c3cfea files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: update 2.1.5 → 2.2.0

Reported by:	portscout
2.1.5_1
23 Apr 2023 09:09:58
commit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5b files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
2.1.5
27 Mar 2023 07:14:30
commit hash: 5bffa99bf3f4c20d1164df9a822f7de9d6994979commit hash: 5bffa99bf3f4c20d1164df9a822f7de9d6994979commit hash: 5bffa99bf3f4c20d1164df9a822f7de9d6994979commit hash: 5bffa99bf3f4c20d1164df9a822f7de9d6994979 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: Fix tests
2.1.5
27 Mar 2023 06:39:48
commit hash: 54ec3e6ab487f655983222a0d2c0e53fc6c84c4dcommit hash: 54ec3e6ab487f655983222a0d2c0e53fc6c84c4dcommit hash: 54ec3e6ab487f655983222a0d2c0e53fc6c84c4dcommit hash: 54ec3e6ab487f655983222a0d2c0e53fc6c84c4d files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: Update 2.1.2 → 2.1.5

Reported by:	portscout
2.1.2
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
2.1.2
30 Oct 2022 17:20:48
commit hash: 3f165e76c1c8f62c121406c7ea6c082d45792750commit hash: 3f165e76c1c8f62c121406c7ea6c082d45792750commit hash: 3f165e76c1c8f62c121406c7ea6c082d45792750commit hash: 3f165e76c1c8f62c121406c7ea6c082d45792750 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: Remove bogus python version limitation

PR:		267338
Reported by:	Fredrik Eriksson <freebsd@wb9.se>
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.1.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.1.2
20 Jul 2022 14:22:24
commit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5da files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
math: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Alessando Sagratini <ale_sagra@hotmail.com>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Amarendra Godbole <amarendra.godbole@gmail.com>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Fehlner (fehlner@gmx.de)
  *  Andrew L. Neporada <andrew@chg.ru>
  *  Andrey <gugu@zoo.rambler.ru>
  *  Andrey Zakhvatov
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.1.2
22 Apr 2022 10:07:02
commit hash: d42c7e3092c2444ad453f1bda98d59a45a219fb6commit hash: d42c7e3092c2444ad453f1bda98d59a45a219fb6commit hash: d42c7e3092c2444ad453f1bda98d59a45a219fb6commit hash: d42c7e3092c2444ad453f1bda98d59a45a219fb6 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
math/py-gmpy2-devel: remove

No more use for this port: it can be superseded by the regular math/py-gmpy2.
2.1.2
07 Jan 2022 08:34:45
commit hash: dac432e422bd9cb1772fc3970b90d733149681fecommit hash: dac432e422bd9cb1772fc3970b90d733149681fecommit hash: dac432e422bd9cb1772fc3970b90d733149681fecommit hash: dac432e422bd9cb1772fc3970b90d733149681fe files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/py-gmpy2: Update 2.1.1 -> 2.1.2

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

Reported by:	portscout
2.0.8_4
01 Nov 2021 13:59:08
commit hash: 474ca5810f7f1ff77260aa27dc1fb567b09fb5d3commit hash: 474ca5810f7f1ff77260aa27dc1fb567b09fb5d3commit hash: 474ca5810f7f1ff77260aa27dc1fb567b09fb5d3commit hash: 474ca5810f7f1ff77260aa27dc1fb567b09fb5d3 files touched by this commit
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
2.0.8_4
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.8_4
21 Mar 2021 09:57:05
Revision:568912Original commit files touched by this commit
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
2.0.8_3
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
2.0.8_3
24 Dec 2020 13:46:02
Revision:559094Original commit files touched by this commit
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)
2.0.8_3
18 May 2020 07:24:19
Revision:535722Original commit files touched by this commit
thierry search for other commits by this committer
Register the conflict with math/py-gmpy2-devel.
2.0.8_3
25 Apr 2018 16:42:38
Revision:468282Original commit files touched by this commit
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
2.0.8_3
19 Apr 2018 07:08:45
Revision:467751Original commit files touched by this commit
ale search for other commits by this committer
Update mpfr to 4.0.1 release and bump PORTVERSION of dependent ports.
2.0.8_2
29 Mar 2018 22:02:54
Revision:465933Original commit files touched by this commit
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.
2.0.8_2
10 Mar 2018 17:46:06
Revision:464084Original commit files touched by this commit
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).
2.0.8_1
25 Feb 2018 00:40:37
Revision:462887Original commit files touched by this commit
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)
2.0.8_1
19 Feb 2018 11:10:43
Revision:462307Original commit files touched by this commit
antoine search for other commits by this committer
Reduce dependency on the python2 metaport

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

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