pkgsrc-Bugs archive

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

pkg/44974: Submission to add devel/p5-Test-Approx to pkgsrc



>Number:         44974
>Category:       pkg
>Synopsis:       Submission to add devel/p5-Test-Approx to pkgsrc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 16 22:55:00 +0000 2011
>Originator:     David H. Gutteridge
>Release:        Many
>Organization:
>Environment:
>Description:
Hello,

I'm submitting the necessary files to add the Perl module Test-Approx
to pkgsrc.  The DESCR file (taken from the documentation for the
module) pretty much says it all.  It differs from edit distance
modules in that it also allows approximate comparison of numeric
values.

Regards,

Dave
>How-To-Repeat:

>Fix:
Make file:

# $NetBSD$
#

DISTNAME=       Test-Approx-0.03
PKGNAME=        p5-${DISTNAME}
#PKGREVISION=   
CATEGORIES=     devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN:=Test/}

MAINTAINER=     pkgsrc-users%NetBSD.org@localhost
HOMEPAGE=       http://search.cpan.org/dist/Test-Approx
COMMENT=        Perl module for testing approximate equality of values

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"

distinfo file:

$NetBSD$

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

DESCR file:

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.



Home | Main Index | Thread Index | Old Index