Mon Apr 19 01:43:49 2021 UTC ()
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.


(wen)
diff -r1.3357 -r1.3358 pkgsrc/devel/Makefile
diff -r0 -r1.1 pkgsrc/devel/p5-Test-Lib/DESCR
diff -r0 -r1.1 pkgsrc/devel/p5-Test-Lib/Makefile
diff -r0 -r1.1 pkgsrc/devel/p5-Test-Lib/distinfo

cvs diff -r1.3357 -r1.3358 pkgsrc/devel/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/Makefile 2021/04/08 19:47:05 1.3357
+++ pkgsrc/devel/Makefile 2021/04/19 01:43:49 1.3358
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.3357 2021/04/08 19:47:05 markd Exp $ 1# $NetBSD: Makefile,v 1.3358 2021/04/19 01:43:49 wen Exp $
2# 2#
3 3
4COMMENT= Development utilities 4COMMENT= Development utilities
5 5
6SUBDIR+= ETL 6SUBDIR+= ETL
7SUBDIR+= ExmanIDE 7SUBDIR+= ExmanIDE
8SUBDIR+= GConf 8SUBDIR+= GConf
9SUBDIR+= GConf-ui 9SUBDIR+= GConf-ui
10SUBDIR+= Gorm 10SUBDIR+= Gorm
11SUBDIR+= MoarVM 11SUBDIR+= MoarVM
12SUBDIR+= ObjectiveLib 12SUBDIR+= ObjectiveLib
13SUBDIR+= ProjectCenter 13SUBDIR+= ProjectCenter
14SUBDIR+= R-BH 14SUBDIR+= R-BH
@@ -1945,26 +1945,27 @@ SUBDIR+= p5-Test-File @@ -1945,26 +1945,27 @@ SUBDIR+= p5-Test-File
1945SUBDIR+= p5-Test-File-Contents 1945SUBDIR+= p5-Test-File-Contents
1946SUBDIR+= p5-Test-File-ShareDir 1946SUBDIR+= p5-Test-File-ShareDir
1947SUBDIR+= p5-Test-Fixture-DBIC-Schema 1947SUBDIR+= p5-Test-Fixture-DBIC-Schema
1948SUBDIR+= p5-Test-HTTP-LocalServer 1948SUBDIR+= p5-Test-HTTP-LocalServer
1949SUBDIR+= p5-Test-HexDifferences 1949SUBDIR+= p5-Test-HexDifferences
1950SUBDIR+= p5-Test-HexString 1950SUBDIR+= p5-Test-HexString
1951SUBDIR+= p5-Test-Identity 1951SUBDIR+= p5-Test-Identity
1952SUBDIR+= p5-Test-InDistDir 1952SUBDIR+= p5-Test-InDistDir
1953SUBDIR+= p5-Test-Inline 1953SUBDIR+= p5-Test-Inline
1954SUBDIR+= p5-Test-Inter 1954SUBDIR+= p5-Test-Inter
1955SUBDIR+= p5-Test-Kwalitee 1955SUBDIR+= p5-Test-Kwalitee
1956SUBDIR+= p5-Test-LeakTrace 1956SUBDIR+= p5-Test-LeakTrace
1957SUBDIR+= p5-Test-LectroTest 1957SUBDIR+= p5-Test-LectroTest
 1958SUBDIR+= p5-Test-Lib
1958SUBDIR+= p5-Test-LoadAllModules 1959SUBDIR+= p5-Test-LoadAllModules
1959SUBDIR+= p5-Test-Log4perl 1960SUBDIR+= p5-Test-Log4perl
1960SUBDIR+= p5-Test-LongString 1961SUBDIR+= p5-Test-LongString
1961SUBDIR+= p5-Test-Manifest 1962SUBDIR+= p5-Test-Manifest
1962SUBDIR+= p5-Test-Memory-Cycle 1963SUBDIR+= p5-Test-Memory-Cycle
1963SUBDIR+= p5-Test-Metrics-Any 1964SUBDIR+= p5-Test-Metrics-Any
1964SUBDIR+= p5-Test-MinimumVersion 1965SUBDIR+= p5-Test-MinimumVersion
1965SUBDIR+= p5-Test-Mock-LWP 1966SUBDIR+= p5-Test-Mock-LWP
1966SUBDIR+= p5-Test-MockModule 1967SUBDIR+= p5-Test-MockModule
1967SUBDIR+= p5-Test-MockObject 1968SUBDIR+= p5-Test-MockObject
1968SUBDIR+= p5-Test-Modern 1969SUBDIR+= p5-Test-Modern
1969SUBDIR+= p5-Test-More-Behaviour 1970SUBDIR+= p5-Test-More-Behaviour
1970SUBDIR+= p5-Test-More-UTF8 1971SUBDIR+= p5-Test-More-UTF8

File Added: pkgsrc/devel/p5-Test-Lib/DESCR
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.

File Added: pkgsrc/devel/p5-Test-Lib/Makefile
# $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
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"

File Added: pkgsrc/devel/p5-Test-Lib/distinfo
$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