summaryrefslogtreecommitdiff
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
commite4fa8b551b343b66d14aaac2f22a166aefc3750c (patch)
treedb70c170ab6e7f74b2d67966c90032d210239680
parent474bbb7adfaf09ad4b0916a576f39ffeb3b9ca3d (diff)
downloadpkgsrc-e4fa8b551b343b66d14aaac2f22a166aefc3750c.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.
-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