summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorsno <sno>2012-10-19 07:30:32 +0000
committersno <sno>2012-10-19 07:30:32 +0000
commit5d225cd87512e9a5b367c2e99b61e3556fcda48d (patch)
treef2eb1ea789c304e23881c223bdf03bbe34ca7080 /math
parent1387b7a20258e2b559a34adfb7ef2572cc3813f8 (diff)
downloadpkgsrc-5d225cd87512e9a5b367c2e99b61e3556fcda48d.tar.gz
Add new package for CPAN module Math::Prime::Util version 0.11 into
math/p5-Math-Prime-Util. A set of utilities related to prime numbers. These include multiple sieving methods, is_prime, prime_count, nth_prime, approximations and bounds for the prime_count and nth prime, next_prime and prev_prime, factoring utilities, and more.
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Prime-Util/DESCR4
-rw-r--r--math/p5-Math-Prime-Util/Makefile18
-rw-r--r--math/p5-Math-Prime-Util/distinfo5
3 files changed, 27 insertions, 0 deletions
diff --git a/math/p5-Math-Prime-Util/DESCR b/math/p5-Math-Prime-Util/DESCR
new file mode 100644
index 00000000000..ab62eb0eb0e
--- /dev/null
+++ b/math/p5-Math-Prime-Util/DESCR
@@ -0,0 +1,4 @@
+A set of utilities related to prime numbers. These include multiple sieving
+methods, is_prime, prime_count, nth_prime, approximations and bounds for
+the prime_count and nth prime, next_prime and prev_prime, factoring
+utilities, and more.
diff --git a/math/p5-Math-Prime-Util/Makefile b/math/p5-Math-Prime-Util/Makefile
new file mode 100644
index 00000000000..c55f1c3e15d
--- /dev/null
+++ b/math/p5-Math-Prime-Util/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2012/10/19 07:30:32 sno Exp $
+
+DISTNAME= Math-Prime-Util-0.11
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Math-Prime-Util/
+COMMENT= Perl5 utilities related to prime numbers
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES+= c
+
+PERL5_PACKLIST= auto/Math/Prime/Util/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/p5-Math-Prime-Util/distinfo b/math/p5-Math-Prime-Util/distinfo
new file mode 100644
index 00000000000..24a02137f8a
--- /dev/null
+++ b/math/p5-Math-Prime-Util/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/10/19 07:30:32 sno Exp $
+
+SHA1 (Math-Prime-Util-0.11.tar.gz) = 6367b8438eddc0cfde6f9129a64c75f6a4f43b98
+RMD160 (Math-Prime-Util-0.11.tar.gz) = 3f861e4ec28d8b23d4d0da7e4df76ac20ba5aeda
+Size (Math-Prime-Util-0.11.tar.gz) = 119319 bytes