pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/p5-Number-Tolerant Adding package for CPAN distri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66cbbc702ad2
branches:  trunk
changeset: 620955:66cbbc702ad2
user:      sno <sno%pkgsrc.org@localhost>
date:      Wed Jul 03 13:58:39 2013 +0000

description:
Adding package for CPAN distribution Number-Tolerant version 1.701 into
math/p5-Number-Tolerant.

Number::Tolerant creates a number-like object whose value refers to a
range of possible values, each equally acceptable. It overloads
comparison operations to reflect this.

I use this module to simplify the comparison of measurement results to
specified tolerances.

    reject $product unless $measurement == $specification;

diffstat:

 math/p5-Number-Tolerant/DESCR    |   8 ++++++++
 math/p5-Number-Tolerant/Makefile |  18 ++++++++++++++++++
 math/p5-Number-Tolerant/distinfo |   5 +++++
 3 files changed, 31 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r c482e7701a76 -r 66cbbc702ad2 math/p5-Number-Tolerant/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Number-Tolerant/DESCR     Wed Jul 03 13:58:39 2013 +0000
@@ -0,0 +1,8 @@
+Number::Tolerant creates a number-like object whose value refers to a
+range of possible values, each equally acceptable. It overloads
+comparison operations to reflect this.
+
+I use this module to simplify the comparison of measurement results to
+specified tolerances.
+
+    reject $product unless $measurement == $specification;
diff -r c482e7701a76 -r 66cbbc702ad2 math/p5-Number-Tolerant/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Number-Tolerant/Makefile  Wed Jul 03 13:58:39 2013 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 13:58:39 sno Exp $
+
+DISTNAME=      Number-Tolerant-1.701
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    math perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Number/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Number-Tolerant/
+COMMENT=       Perl5 module for tolerance ranges for inexact numbers
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Sub-Exporter>=0.950:../../devel/p5-Sub-Exporter
+
+PERL5_PACKLIST=        auto/Number/Tolerant/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c482e7701a76 -r 66cbbc702ad2 math/p5-Number-Tolerant/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Number-Tolerant/distinfo  Wed Jul 03 13:58:39 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 13:58:39 sno Exp $
+
+SHA1 (Number-Tolerant-1.701.tar.gz) = 221416b9ace888c6434f6fad22045f76d2a4fa19
+RMD160 (Number-Tolerant-1.701.tar.gz) = 4573319b630775a0df702c8451f942032ec85d57
+Size (Number-Tolerant-1.701.tar.gz) = 27878 bytes



Home | Main Index | Thread Index | Old Index