pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-UseAllModules Importing package devel/p5...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4088de22077
branches:  trunk
changeset: 399604:c4088de22077
user:      sno <sno%pkgsrc.org@localhost>
date:      Tue Sep 22 19:30:03 2009 +0000

description:
Importing package devel/p5-Test-UseAllModules for p5 module
Test::UseAllModules v0.12 from PR pkg/42023 with minor modifications.

Sick of writing 00_load.t (or something like that) that do use_ok() for every
written module? Even sicker of updating 00_load.t every time adding another file
to the distro? This module reads MANIFEST to find modules to be tested and does
use_ok() for each of them. Now all to do is keeping MANIFEST up to date.

diffstat:

 devel/p5-Test-UseAllModules/DESCR    |   4 ++++
 devel/p5-Test-UseAllModules/Makefile |  19 +++++++++++++++++++
 devel/p5-Test-UseAllModules/distinfo |   5 +++++
 3 files changed, 28 insertions(+), 0 deletions(-)

diffs (40 lines):

diff -r 19f512765007 -r c4088de22077 devel/p5-Test-UseAllModules/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-UseAllModules/DESCR Tue Sep 22 19:30:03 2009 +0000
@@ -0,0 +1,4 @@
+Sick of writing 00_load.t (or something like that) that do use_ok() for every
+written module? Even sicker of updating 00_load.t every time adding another file
+to the distro? This module reads MANIFEST to find modules to be tested and does
+use_ok() for each of them. Now all to do is keeping MANIFEST up to date.
diff -r 19f512765007 -r c4088de22077 devel/p5-Test-UseAllModules/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-UseAllModules/Makefile      Tue Sep 22 19:30:03 2009 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/22 19:30:03 sno Exp $
+
+DISTNAME=      Test-UseAllModules-0.12
+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-UseAllModules/
+COMMENT=       Do use_ok() for all the MANIFESTed modules
+LICENSE=       ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/Test/UseAllModules/.packlist
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 19f512765007 -r c4088de22077 devel/p5-Test-UseAllModules/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-UseAllModules/distinfo      Tue Sep 22 19:30:03 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/22 19:30:03 sno Exp $
+
+SHA1 (Test-UseAllModules-0.12.tar.gz) = a02b4a25f7e5e4c0240bb0f92216ebf038e73040
+RMD160 (Test-UseAllModules-0.12.tar.gz) = 4460e2bd099399eca56bb1259b2bd4d4272b0d9e
+Size (Test-UseAllModules-0.12.tar.gz) = 4379 bytes



Home | Main Index | Thread Index | Old Index