pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc - To skip make test, add the line



details:   https://anonhg.NetBSD.org/pkgsrc/rev/765d564e9329
branches:  trunk
changeset: 651719:765d564e9329
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun May 10 02:43:37 2015 +0000

description:
- To skip make test, add the line
   TEST_TARGET?= # to skip make test (but can be enabled by 'env TEST_TARGET=test make test')
for following packages:
  devel/p5-File-ShareDir-Install
  time/p5-DateTime-Format-Strptime
  www/p5-LWP-Protocol-https
- Add BUILD_DEPENDS for make test

diffstat:

 devel/p5-File-ShareDir-Install/Makefile   |  4 +++-
 devel/p5-Test-CheckDeps/Makefile          |  5 ++++-
 time/p5-DateTime-Format-Strptime/Makefile |  8 +++++++-
 www/p5-HTML-Form/Makefile                 |  6 +++++-
 www/p5-LWP-Protocol-https/Makefile        |  6 ++++--
 5 files changed, 23 insertions(+), 6 deletions(-)

diffs (103 lines):

diff -r 3b08a665a220 -r 765d564e9329 devel/p5-File-ShareDir-Install/Makefile
--- a/devel/p5-File-ShareDir-Install/Makefile   Sun May 10 02:38:21 2015 +0000
+++ b/devel/p5-File-ShareDir-Install/Makefile   Sun May 10 02:43:37 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2015/01/31 01:33:20 mef Exp $
+# $NetBSD: Makefile,v 1.10 2015/05/10 02:43:38 mef Exp $
 
 DISTNAME=      File-ShareDir-Install-0.10
 PKGNAME=       p5-${DISTNAME}
@@ -10,6 +10,8 @@
 COMMENT=       Perl 5 module to install shared files
 LICENSE=       ${PERL5_LICENSE}
 
+TEST_TARGET?=  # to skip make test (but can be enabled by 'env TEST_TARGET=test make test')
+
 USE_LANGUAGES=         # empty
 PERL5_PACKLIST=                auto/File/ShareDir/Install/.packlist
 
diff -r 3b08a665a220 -r 765d564e9329 devel/p5-Test-CheckDeps/Makefile
--- a/devel/p5-Test-CheckDeps/Makefile  Sun May 10 02:38:21 2015 +0000
+++ b/devel/p5-Test-CheckDeps/Makefile  Sun May 10 02:43:37 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2015/01/28 01:57:41 mef Exp $
+# $NetBSD: Makefile,v 1.11 2015/05/10 02:43:38 mef Exp $
 #
 
 DISTNAME=      Test-CheckDeps-0.010
@@ -14,6 +14,9 @@
 DEPENDS+=      {perl>=5.18.0,p5-CPAN-Meta>=2.120920}:../../devel/p5-CPAN-Meta
 DEPENDS+=      p5-CPAN-Meta-Check>=0.007:../../devel/p5-CPAN-Meta-Check
 
+# make test
+BUILD_DEPENDS+=        p5-Module-Metadata>=1.000023:../../devel/p5-Module-Metadata
+
 USE_LANGUAGES= # empty
 PERL5_PACKLIST=        auto/Test/CheckDeps/.packlist
 
diff -r 3b08a665a220 -r 765d564e9329 time/p5-DateTime-Format-Strptime/Makefile
--- a/time/p5-DateTime-Format-Strptime/Makefile Sun May 10 02:38:21 2015 +0000
+++ b/time/p5-DateTime-Format-Strptime/Makefile Sun May 10 02:43:37 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/05/29 23:37:52 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2015/05/10 02:43:38 mef Exp $
 
 DISTNAME=      DateTime-Format-Strptime-1.54
 PKGNAME=       p5-${DISTNAME}00
@@ -16,6 +16,12 @@
 DEPENDS+=      p5-DateTime-TimeZone>=0.79:../../time/p5-DateTime-TimeZone
 DEPENDS+=      p5-Params-Validate>=0.64:../../devel/p5-Params-Validate
 
+# t/002_dates.t ............... 1/? 
+# #   Failed test '%Y %H:%M:%S %Z'
+# #   at t/002_dates.t line 99.
+# #          got: '2003 13:45:56 AWST'
+# #     expected: '2003 13:45:56 WST'
+TEST_TARGET?=  # to skip make test, but can be enabled by 'env TEST_TARGET=test make test'
 PERL5_PACKLIST=                auto/DateTime/Format/Strptime/.packlist
 
 .include "../../lang/perl5/module.mk"
diff -r 3b08a665a220 -r 765d564e9329 www/p5-HTML-Form/Makefile
--- a/www/p5-HTML-Form/Makefile Sun May 10 02:38:21 2015 +0000
+++ b/www/p5-HTML-Form/Makefile Sun May 10 02:43:37 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/05/29 23:38:05 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2015/05/10 02:43:37 mef Exp $
 #
 
 DISTNAME=              HTML-Form-6.03
@@ -15,6 +15,10 @@
 CONFLICTS+=            p5-libwww<6.00
 
 DEPENDS+=              p5-HTTP-Date>=6.00:../../www/p5-HTTP-Date
+# for make test
+BUILD_DEPENDS+=                p5-URI-[0-9]*:../../www/p5-URI
+BUILD_DEPENDS+=                p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
+BUILD_DEPENDS+=                p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message
 
 USE_LANGUAGES=         # empty
 
diff -r 3b08a665a220 -r 765d564e9329 www/p5-LWP-Protocol-https/Makefile
--- a/www/p5-LWP-Protocol-https/Makefile        Sun May 10 02:38:21 2015 +0000
+++ b/www/p5-LWP-Protocol-https/Makefile        Sun May 10 02:43:37 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2014/05/29 23:38:11 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2015/05/10 02:43:37 mef Exp $
 
 DISTNAME=      LWP-Protocol-https-6.06
 PKGNAME=       p5-${DISTNAME}
@@ -15,11 +15,13 @@
 
 DEPENDS+=      p5-IO-Socket-SSL>=1.38:../../security/p5-IO-Socket-SSL
 DEPENDS+=      p5-Mozilla-CA>=20110101:../../security/p5-Mozilla-CA
-# needed for tests, but p5-libwww depends on this package
+# needed for tests (as LWP::UserAgent), but p5-libwww depends on this package
 #DEPENDS+=     p5-libwww>=6.06:../../www/p5-libwww
 
 USE_LANGUAGES=         # empty
 PERL5_PACKLIST=                auto/LWP/Protocol/https/.packlist
 
+TEST_TARGET?=  # to skip make test (but can be enabled by 'env TEST_TARGET=test make test')
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index