Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 20:25:41 +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: r479452 - in head/math: . p5-Math-Prime-Util
Message-ID:  <201809102025.w8AKPf6C002247@repo.freebsd.org>

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

Log:
  Add p5-Math-Prime-Util 0.71
  
  Math::Prime::Util is a module for number theory in Perl. This includes prime
  sieving, primality tests, primality proofs, integer factoring, counts / bounds /
  approximations for primes, nth primes, and twin primes, random prime generation,
  and much more.
  
  WWW: https://metacpan.org/release/Math-Prime-Util

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

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Mon Sep 10 20:17:46 2018	(r479451)
+++ head/math/Makefile	Mon Sep 10 20:25:41 2018	(r479452)
@@ -545,6 +545,7 @@
     SUBDIR += p5-Math-Polygon
     SUBDIR += p5-Math-Polygon-Tree
     SUBDIR += p5-Math-Polynomial-Solve
+    SUBDIR += p5-Math-Prime-Util
     SUBDIR += p5-Math-Prime-XS
     SUBDIR += p5-Math-ProvablePrime
     SUBDIR += p5-Math-RPN

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

Added: head/math/p5-Math-Prime-Util/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-Prime-Util/distinfo	Mon Sep 10 20:25:41 2018	(r479452)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1536594844
+SHA256 (Math-Prime-Util-0.71.tar.gz) = 8ae2c4df866fa7bdad614e086f3c888258787f4d1b62382afe13e6256f0e8043
+SIZE (Math-Prime-Util-0.71.tar.gz) = 599678

Added: head/math/p5-Math-Prime-Util/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-Prime-Util/pkg-descr	Mon Sep 10 20:25:41 2018	(r479452)
@@ -0,0 +1,6 @@
+Math::Prime::Util is a module for number theory in Perl. This includes prime
+sieving, primality tests, primality proofs, integer factoring, counts / bounds /
+approximations for primes, nth primes, and twin primes, random prime generation,
+and much more.
+
+WWW: https://metacpan.org/release/Math-Prime-Util

Added: head/math/p5-Math-Prime-Util/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-Prime-Util/pkg-plist	Mon Sep 10 20:25:41 2018	(r479452)
@@ -0,0 +1,31 @@
+bin/factor.pl
+bin/primes.pl
+%%SITE_ARCH%%/Math/Prime/Util.pm
+%%SITE_ARCH%%/Math/Prime/Util/ChaCha.pm
+%%SITE_ARCH%%/Math/Prime/Util/ECAffinePoint.pm
+%%SITE_ARCH%%/Math/Prime/Util/ECProjectivePoint.pm
+%%SITE_ARCH%%/Math/Prime/Util/Entropy.pm
+%%SITE_ARCH%%/Math/Prime/Util/MemFree.pm
+%%SITE_ARCH%%/Math/Prime/Util/PP.pm
+%%SITE_ARCH%%/Math/Prime/Util/PPFE.pm
+%%SITE_ARCH%%/Math/Prime/Util/PrimalityProving.pm
+%%SITE_ARCH%%/Math/Prime/Util/PrimeArray.pm
+%%SITE_ARCH%%/Math/Prime/Util/PrimeIterator.pm
+%%SITE_ARCH%%/Math/Prime/Util/RandomPrimes.pm
+%%SITE_ARCH%%/Math/Prime/Util/ZetaBigFloat.pm
+%%SITE_ARCH%%/auto/Math/Prime/Util/Util.so
+%%SITE_ARCH%%/ntheory.pm
+%%PERL5_MAN3%%/Math::Prime::Util.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::ChaCha.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::ECAffinePoint.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::ECProjectivePoint.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::Entropy.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::MemFree.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::PP.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::PPFE.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::PrimalityProving.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::PrimeArray.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::PrimeIterator.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::RandomPrimes.3.gz
+%%PERL5_MAN3%%/Math::Prime::Util::ZetaBigFloat.3.gz
+%%PERL5_MAN3%%/ntheory.3.gz



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