From owner-svn-ports-all@freebsd.org Tue Jun 14 08:21:14 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F91AAF0644; Tue, 14 Jun 2016 08:21:14 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 310A428FB; Tue, 14 Jun 2016 08:21:14 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5E8LDGP031893; Tue, 14 Jun 2016 08:21:13 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5E8LDum031889; Tue, 14 Jun 2016 08:21:13 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201606140821.u5E8LDum031889@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Tue, 14 Jun 2016 08:21:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416879 - in head/math: . py-gmpy2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 08:21:14 -0000 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@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 +# $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 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