1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-09-10 20:25:41 +00:00
parent 04a462d650
commit 633d642452
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479452
5 changed files with 68 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1536594844
SHA256 (Math-Prime-Util-0.71.tar.gz) = 8ae2c4df866fa7bdad614e086f3c888258787f4d1b62382afe13e6256f0e8043
SIZE (Math-Prime-Util-0.71.tar.gz) = 599678

View File

@ -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

View File

@ -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