Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 20:57:31 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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
Message-ID:  <201612122057.uBCKvV60026603@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org>
+# $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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612122057.uBCKvV60026603>