From owner-svn-ports-all@freebsd.org Mon Dec 12 20:57:32 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 EED36C6ED62; Mon, 12 Dec 2016 20:57:32 +0000 (UTC) (envelope-from sunpoet@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 C999B1905; Mon, 12 Dec 2016 20:57:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBCKvVHf026607; Mon, 12 Dec 2016 20:57:31 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBCKvV60026603; Mon, 12 Dec 2016 20:57:31 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612122057.uBCKvV60026603@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 12 Dec 2016 20:57:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428431 - in head/math: . p5-Math-BigInt-Lite 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.23 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: Mon, 12 Dec 2016 20:57:33 -0000 Author: sunpoet Date: Mon Dec 12 20:57:31 2016 New Revision: 428431 URL: https://svnweb.freebsd.org/changeset/ports/428431 Log: - Add p5-Math-BigInt-Lite 0.16 Math::BigInt is not very good suited to work with small (read: typical less than 10 digits) numbers, since it has a quite high per-operation overhead and is thus much slower than normal Perl for operations. But for some applications, you want fast speed for small numbers without the risk of overflowing. This is were Math::BigInt::Lite comes into play. Math::BigInt::Lite objects should behave in every way like Math::BigInt objects, that is apart from the different label, you should not be able to tell the difference. Since Math::BigInt::Lite is designed with speed in mind, there are certain limitations build-in. In praxis, however, you will not feel them, because everytime something gets to big to pass as Lite (literally), it will upgrade the objects and operation in question to Math::BigInt. WWW: http://search.cpan.org/dist/Math-BigInt-Lite/ Added: head/math/p5-Math-BigInt-Lite/ head/math/p5-Math-BigInt-Lite/Makefile (contents, props changed) head/math/p5-Math-BigInt-Lite/distinfo (contents, props changed) head/math/p5-Math-BigInt-Lite/pkg-descr (contents, props changed) head/math/p5-Math-BigInt-Lite/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Dec 12 20:57:26 2016 (r428430) +++ head/math/Makefile Mon Dec 12 20:57:31 2016 (r428431) @@ -434,6 +434,7 @@ SUBDIR += p5-Math-BigInt SUBDIR += p5-Math-BigInt-FastCalc SUBDIR += p5-Math-BigInt-GMP + SUBDIR += p5-Math-BigInt-Lite SUBDIR += p5-Math-BigInt-Pari SUBDIR += p5-Math-BigRat SUBDIR += p5-Math-CDF Added: head/math/p5-Math-BigInt-Lite/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-BigInt-Lite/Makefile Mon Dec 12 20:57:31 2016 (r428431) @@ -0,0 +1,24 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Math-BigInt-Lite +PORTVERSION= 0.16 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= What Math::BigInts are before they become big + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Math-BigInt>=1.999801:math/p5-Math-BigInt +RUN_DEPENDS:= ${BUILD_DEPENDS} + +NO_ARCH= yes +USE_PERL5= configure +USES= perl5 + +.include Added: head/math/p5-Math-BigInt-Lite/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-BigInt-Lite/distinfo Mon Dec 12 20:57:31 2016 (r428431) @@ -0,0 +1,3 @@ +TIMESTAMP = 1481546184 +SHA256 (Math-BigInt-Lite-0.16.tar.gz) = 314908e10ec1259373497b9a44231f0eb42005945912c2027e732898c1885670 +SIZE (Math-BigInt-Lite-0.16.tar.gz) = 73427 Added: head/math/p5-Math-BigInt-Lite/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-BigInt-Lite/pkg-descr Mon Dec 12 20:57:31 2016 (r428431) @@ -0,0 +1,15 @@ +Math::BigInt is not very good suited to work with small (read: typical less than +10 digits) numbers, since it has a quite high per-operation overhead and is thus +much slower than normal Perl for operations. + +But for some applications, you want fast speed for small numbers without the +risk of overflowing. This is were Math::BigInt::Lite comes into play. + +Math::BigInt::Lite objects should behave in every way like Math::BigInt objects, +that is apart from the different label, you should not be able to tell the +difference. Since Math::BigInt::Lite is designed with speed in mind, there are +certain limitations build-in. In praxis, however, you will not feel them, +because everytime something gets to big to pass as Lite (literally), it will +upgrade the objects and operation in question to Math::BigInt. + +WWW: http://search.cpan.org/dist/Math-BigInt-Lite/ Added: head/math/p5-Math-BigInt-Lite/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-BigInt-Lite/pkg-plist Mon Dec 12 20:57:31 2016 (r428431) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Math/BigInt/Lite.pm +%%PERL5_MAN3%%/Math::BigInt::Lite.3.gz