summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Approx
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-06-19 08:47:22 +0000
committerobache <obache@pkgsrc.org>2011-06-19 08:47:22 +0000
commiteda27ca0a009e5b44c488c927fdd6bb3147d3380 (patch)
treedb70c170ab6e7f74b2d67966c90032d210239680 /devel/p5-Test-Approx
parent8b6a059b8b2cae09b47c0958483b03a35e1ca63a (diff)
downloadpkgsrc-eda27ca0a009e5b44c488c927fdd6bb3147d3380.tar.gz
Import p5-Test-Approx-0.03 as devel/p5-Test-Approx.
PR#44974 by David H. Gutteridge. This module lets you test if two things are *approximately* equal. Yes, that sounds a bit wrong at first - surely you know if they should be equal or not? But there are actually valid cases when you don't/can't know. This module is meant for those rare cases when close is good enough.
Diffstat (limited to 'devel/p5-Test-Approx')
-rw-r--r--devel/p5-Test-Approx/DESCR5
-rw-r--r--devel/p5-Test-Approx/Makefile22
-rw-r--r--devel/p5-Test-Approx/distinfo5
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-Test-Approx/DESCR b/devel/p5-Test-Approx/DESCR
new file mode 100644
index 00000000000..a7fad3d5539
--- /dev/null
+++ b/devel/p5-Test-Approx/DESCR
@@ -0,0 +1,5 @@
+This module lets you test if two things are *approximately* equal. Yes,
+that sounds a bit wrong at first - surely you know if they should be
+equal or not? But there are actually valid cases when you don't/can't
+know. This module is meant for those rare cases when close is good
+enough.
diff --git a/devel/p5-Test-Approx/Makefile b/devel/p5-Test-Approx/Makefile
new file mode 100644
index 00000000000..a4ccc27b7c2
--- /dev/null
+++ b/devel/p5-Test-Approx/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/06/19 08:47:22 obache Exp $
+#
+
+DISTNAME= Test-Approx-0.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Test-Approx
+COMMENT= Perl module for testing approximate equality of values
+LICENSE= ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Text-LevenshteinXS>=0.03:../../textproc/p5-Text-LevenshteinXS
+
+PERL5_PACKLIST= auto/Test/Approx/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Test-Approx/distinfo b/devel/p5-Test-Approx/distinfo
new file mode 100644
index 00000000000..8a0308c779c
--- /dev/null
+++ b/devel/p5-Test-Approx/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/06/19 08:47:22 obache Exp $
+
+SHA1 (Test-Approx-0.03.tar.gz) = 71f62e294c8a83482cf5561ac546d204702af875
+RMD160 (Test-Approx-0.03.tar.gz) = afff76a05784a61dedcc56f6571766206fce9629
+Size (Test-Approx-0.03.tar.gz) = 8770 bytes