pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Aggregate PkgSrc import of perl 5 module...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ecddd713bca
branches:  trunk
changeset: 558143:8ecddd713bca
user:      sno <sno%pkgsrc.org@localhost>
date:      Wed Apr 29 19:37:57 2009 +0000

description:
PkgSrc import of perl 5 module Test::Aggregate.  This module is a required
dependency for the update of Catalyst::Runtime (/www/p5-Catalyst-Runtime)
to 5.800.

A common problem with many test suites is that they can take a long time to
run. The longer they run, the less likely you are to run the tests. This
module borrows a trick from Apache::Registry to load up your tests at once,
create a separate package for each test and wraps each package in a method
named run_the_tests. This allows us to load perl only once and related
modules only once. If you have modules which are expensive to load, this can
dramatically speed up a test suite.

diffstat:

 devel/p5-Test-Aggregate/DESCR    |   9 +++++++++
 devel/p5-Test-Aggregate/Makefile |  24 ++++++++++++++++++++++++
 devel/p5-Test-Aggregate/distinfo |   5 +++++
 3 files changed, 38 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 16fad37d36bb -r 8ecddd713bca devel/p5-Test-Aggregate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Aggregate/DESCR     Wed Apr 29 19:37:57 2009 +0000
@@ -0,0 +1,9 @@
+A common problem with many test suites is that they can take a long time to
+run. The longer they run, the less likely you are to run the tests. This
+module borrows a trick from Apache::Registry to load up your tests at once,
+create a separate package for each test and wraps each package in a method
+named run_the_tests. This allows us to load perl only once and related
+modules only once. If you have modules which are expensive to load, this can
+dramatically speed up a test suite.
+
+WARNING: this is ALPHA code. The interface is not guaranteed to be stable.
diff -r 16fad37d36bb -r 8ecddd713bca devel/p5-Test-Aggregate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Aggregate/Makefile  Wed Apr 29 19:37:57 2009 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/29 19:37:57 sno Exp $
+
+DISTNAME=      Test-Aggregate-0.35
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Test-Aggregate/
+COMMENT=       Aggregate *.t tests to make them run faster
+LICENSE=       gnu-gpl-v2 # OR artistic
+
+DEPENDS+=      p5-Test-Harness>=3.09:../../devel/p5-Test-Harness
+DEPENDS+=      p5-Test-NoWarnings-[0-9]*:../../devel/p5-Test-NoWarnings
+DEPENDS+=      p5-Data-Dump-Streamer>=1.11:../../devel/p5-Data-Dump-Streamer
+
+BUILD_DEPENDS+=        p5-Test-Simple>=0.74:../../devel/p5-Test-Simple
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_PACKLIST=        auto/Test/Aggregate/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 16fad37d36bb -r 8ecddd713bca devel/p5-Test-Aggregate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Aggregate/distinfo  Wed Apr 29 19:37:57 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/29 19:37:57 sno Exp $
+
+SHA1 (Test-Aggregate-0.35.tar.gz) = 495a0c853951d326df5322e97bcbc9c53a71eea9
+RMD160 (Test-Aggregate-0.35.tar.gz) = e93ad4168702353187e9aa4a87509225fdb8e4e0
+Size (Test-Aggregate-0.35.tar.gz) = 17861 bytes



Home | Main Index | Thread Index | Old Index