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;
This commit is contained in:
sno 2013-07-03 13:58:39 +00:00
parent afd78f400a
commit 746e7cfaa6
3 changed files with 31 additions and 0 deletions

View file

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

View file

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

View file

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