svn commit: r416879 - in head/math: . py-gmpy2

Wen Heping wen at FreeBSD.org
Tue Jun 14 08:21:14 UTC 2016


Author: wen
Date: Tue Jun 14 08:21:12 2016
New Revision: 416879
URL: https://svnweb.freebsd.org/changeset/ports/416879

Log:
  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 at rawbw.com

Added:
  head/math/py-gmpy2/
  head/math/py-gmpy2/Makefile   (contents, props changed)
  head/math/py-gmpy2/distinfo   (contents, props changed)
  head/math/py-gmpy2/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue Jun 14 08:20:19 2016	(r416878)
+++ head/math/Makefile	Tue Jun 14 08:21:12 2016	(r416879)
@@ -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

Added: head/math/py-gmpy2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-gmpy2/Makefile	Tue Jun 14 08:21:12 2016	(r416879)
@@ -0,0 +1,25 @@
+# Created by: Yuri Victorovich <yuri at rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	gmpy2
+PORTVERSION=	2.0.7
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at 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>

Added: head/math/py-gmpy2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-gmpy2/distinfo	Tue Jun 14 08:21:12 2016	(r416879)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1465375777
+SHA256 (gmpy2-2.0.7.zip) = 7ee694b8a4c3854f27890676aa8a509a2e3f8dbdd0916fa94cbed612420b9c86
+SIZE (gmpy2-2.0.7.zip) = 280400

Added: head/math/py-gmpy2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-gmpy2/pkg-descr	Tue Jun 14 08:21:12 2016	(r416879)
@@ -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


More information about the svn-ports-head mailing list