mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
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
This commit is contained in:
parent
3624e2cf23
commit
ce6138213f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416879
@ -597,6 +597,7 @@
|
||||
SUBDIR += py-fpconst
|
||||
SUBDIR += py-gato
|
||||
SUBDIR += py-gmpy
|
||||
SUBDIR += py-gmpy2
|
||||
SUBDIR += py-gnuplot
|
||||
SUBDIR += py-graphillion
|
||||
SUBDIR += py-gsl
|
||||
|
25
math/py-gmpy2/Makefile
Normal file
25
math/py-gmpy2/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gmpy2
|
||||
PORTVERSION= 2.0.7
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@rawbw.com
|
||||
COMMENT= GMP/MPIR, MPFR, and MPC interface to Python
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
LIB_DEPENDS= libgmp.so:math/gmp \
|
||||
libmpc.so:math/mpc \
|
||||
libmpfr.so:math/mpfr
|
||||
|
||||
USES= python:2 zip
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gmpy2.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/py-gmpy2/distinfo
Normal file
3
math/py-gmpy2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1465375777
|
||||
SHA256 (gmpy2-2.0.7.zip) = 7ee694b8a4c3854f27890676aa8a509a2e3f8dbdd0916fa94cbed612420b9c86
|
||||
SIZE (gmpy2-2.0.7.zip) = 280400
|
8
math/py-gmpy2/pkg-descr
Normal file
8
math/py-gmpy2/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user