pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Import Test-Lib-0.002 as devel/p5-Test-Lib.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed70dfdfd8be
branches:  trunk
changeset: 450516:ed70dfdfd8be
user:      wen <wen%pkgsrc.org@localhost>
date:      Mon Apr 19 01:43:49 2021 +0000

description:
Import Test-Lib-0.002 as devel/p5-Test-Lib.

Searches upward from the calling module for a directory t with
a lib directory inside it, and adds it to the module search path.
Looks upward up to 5 directories. This is intended to be used in
test modules either directly in t or in a subdirectory to
find their included testing libraries located in t/lib.

diffstat:

 devel/Makefile             |   3 ++-
 devel/p5-Test-Lib/DESCR    |   5 +++++
 devel/p5-Test-Lib/Makefile |  17 +++++++++++++++++
 devel/p5-Test-Lib/distinfo |   6 ++++++
 4 files changed, 30 insertions(+), 1 deletions(-)

diffs (57 lines):

diff -r 40621b140b80 -r ed70dfdfd8be devel/Makefile
--- a/devel/Makefile    Mon Apr 19 00:03:38 2021 +0000
+++ b/devel/Makefile    Mon Apr 19 01:43:49 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3357 2021/04/08 19:47:05 markd Exp $
+# $NetBSD: Makefile,v 1.3358 2021/04/19 01:43:49 wen Exp $
 #
 
 COMMENT=       Development utilities
@@ -1955,6 +1955,7 @@
 SUBDIR+=       p5-Test-Kwalitee
 SUBDIR+=       p5-Test-LeakTrace
 SUBDIR+=       p5-Test-LectroTest
+SUBDIR+=       p5-Test-Lib
 SUBDIR+=       p5-Test-LoadAllModules
 SUBDIR+=       p5-Test-Log4perl
 SUBDIR+=       p5-Test-LongString
diff -r 40621b140b80 -r ed70dfdfd8be devel/p5-Test-Lib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Lib/DESCR   Mon Apr 19 01:43:49 2021 +0000
@@ -0,0 +1,5 @@
+Searches upward from the calling module for a directory t with
+a lib directory inside it, and adds it to the module search path.
+Looks upward up to 5 directories. This is intended to be used in
+test modules either directly in t or in a subdirectory to
+find their included testing libraries located in t/lib.
diff -r 40621b140b80 -r ed70dfdfd8be devel/p5-Test-Lib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Lib/Makefile        Mon Apr 19 01:43:49 2021 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/04/19 01:43:49 wen Exp $
+
+DISTNAME=              Test-Lib-0.002
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER=            wen%NetBSD.org@localhost
+HOMEPAGE=              https://metacpan.org/release/Test-Warn
+COMMENT=               Use libraries from a t/lib directory
+LICENSE=               ${PERL5_LICENSE}
+
+USE_LANGUAGES=         # empty
+PERL5_PACKLIST=                auto/Test/Lib/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 40621b140b80 -r ed70dfdfd8be devel/p5-Test-Lib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Lib/distinfo        Mon Apr 19 01:43:49 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/19 01:43:49 wen Exp $
+
+SHA1 (Test-Lib-0.002.tar.gz) = 206710ba4ed4f87916d42626ecc9c8380c2c0258
+RMD160 (Test-Lib-0.002.tar.gz) = 197d5d58b228ecffc2ced4b5c65ef063192a8a40
+SHA512 (Test-Lib-0.002.tar.gz) = d7fa4d12df49e51bb110f1bfb6973df7913bbe10335f93bb07774b2d49dcf52bad1807f07e9b053be2f8a2907a49ac638bae676297672e78c8f77824b2d7af62
+Size (Test-Lib-0.002.tar.gz) = 3589 bytes



Home | Main Index | Thread Index | Old Index