Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 20:26:08 +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: r479453 - in head/math: . p5-Math-Prime-Util-GMP
Message-ID:  <201809102026.w8AKQ8ah002456@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Sep 10 20:26:08 2018
New Revision: 479453
URL: https://svnweb.freebsd.org/changeset/ports/479453

Log:
  Add p5-Math-Prime-Util-GMP 0.51
  
  Math::Prime::Util::GMP is a module for number theory in Perl using GMP. This
  includes primality tests, getting primes in a range, factoring, and more.
  
  These use GMP directly, so should be quite fast for bignums. This module is
  mainly intended to be used within Math::Prime::Util, but most functions can be
  easily used in independent C programs. Some, like factoring and primality
  proving, have explicit ways of compiling as standalone programs.
  
  WWW: https://metacpan.org/release/Math-Prime-Util-GMP

Added:
  head/math/p5-Math-Prime-Util-GMP/
  head/math/p5-Math-Prime-Util-GMP/Makefile   (contents, props changed)
  head/math/p5-Math-Prime-Util-GMP/distinfo   (contents, props changed)
  head/math/p5-Math-Prime-Util-GMP/pkg-descr   (contents, props changed)
  head/math/p5-Math-Prime-Util-GMP/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Mon Sep 10 20:25:41 2018	(r479452)
+++ head/math/Makefile	Mon Sep 10 20:26:08 2018	(r479453)
@@ -546,6 +546,7 @@
     SUBDIR += p5-Math-Polygon-Tree
     SUBDIR += p5-Math-Polynomial-Solve
     SUBDIR += p5-Math-Prime-Util
+    SUBDIR += p5-Math-Prime-Util-GMP
     SUBDIR += p5-Math-Prime-XS
     SUBDIR += p5-Math-ProvablePrime
     SUBDIR += p5-Math-RPN

Added: head/math/p5-Math-Prime-Util-GMP/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-Prime-Util-GMP/Makefile	Mon Sep 10 20:26:08 2018	(r479453)
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Math-Prime-Util-GMP
+PORTVERSION=	0.51
+CATEGORIES=	math perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Utilities related to prime numbers and factoring, using GMP
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libgmp.so:math/gmp
+
+USES=		localbase perl5
+USE_PERL5=	configure
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Prime/Util/GMP/GMP.so
+
+.include <bsd.port.mk>

Added: head/math/p5-Math-Prime-Util-GMP/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-Prime-Util-GMP/distinfo	Mon Sep 10 20:26:08 2018	(r479453)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1536594259
+SHA256 (Math-Prime-Util-GMP-0.51.tar.gz) = 5871e73ff2bf255c7f5e38b05267a8695bba59105a008727bab1aab262d54b9a
+SIZE (Math-Prime-Util-GMP-0.51.tar.gz) = 334404

Added: head/math/p5-Math-Prime-Util-GMP/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-Prime-Util-GMP/pkg-descr	Mon Sep 10 20:26:08 2018	(r479453)
@@ -0,0 +1,9 @@
+Math::Prime::Util::GMP is a module for number theory in Perl using GMP. This
+includes primality tests, getting primes in a range, factoring, and more.
+
+These use GMP directly, so should be quite fast for bignums. This module is
+mainly intended to be used within Math::Prime::Util, but most functions can be
+easily used in independent C programs. Some, like factoring and primality
+proving, have explicit ways of compiling as standalone programs.
+
+WWW: https://metacpan.org/release/Math-Prime-Util-GMP

Added: head/math/p5-Math-Prime-Util-GMP/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-Prime-Util-GMP/pkg-plist	Mon Sep 10 20:26:08 2018	(r479453)
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Math/Prime/Util/GMP.pm
+%%SITE_ARCH%%/auto/Math/Prime/Util/GMP/GMP.so
+%%PERL5_MAN3%%/Math::Prime::Util::GMP.3.gz



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