summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2012-10-19 07:30:32 +0000
committersno <sno@pkgsrc.org>2012-10-19 07:30:32 +0000
commit5d07d4eeefb1a956ab93cde4a8f13b15cc217a3c (patch)
treef2eb1ea789c304e23881c223bdf03bbe34ca7080 /math
parentfb134b76e021040459a6346d88808c03e9ff54d6 (diff)
downloadpkgsrc-5d07d4eeefb1a956ab93cde4a8f13b15cc217a3c.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