summaryrefslogtreecommitdiff
path: root/time/p5-DateTime
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-09-18 22:56:16 +0000
committerwiz <wiz@pkgsrc.org>2016-09-18 22:56:16 +0000
commitacc6cb9d339fcd31a148ba4d320baa226ca27a00 (patch)
treef7b564139b632b36cc052fbc148abbbd6bcb5ab7 /time/p5-DateTime
parent8ca15db5ca5bd73f60153fca81ff46a9521b6be2 (diff)
downloadpkgsrc-acc6cb9d339fcd31a148ba4d320baa226ca27a00.tar.gz
Updated p5-DateTime to 1.3800.
1.38 2016-09-16 - This release includes changes from past trial releases to switch from Params::Validate and Params::ValidationCompiler. Relevant release notes from those trial releases are repeated here for clarity. - Replaced Params::Validate with Params::ValidationCompiler and Specio. In my benchmarks this makes constructing a new DateTime object about 14% faster. However, it slows down module load time by about 100 milliseconds (1/10 of a second) on my desktop system with a primed cache (so really measuring compile time, not disk load time). - When you pass a locale to $dt->set you will now get a warning suggesting you should use $dt->set_locale instead. The previous trial releases didn't allow locale to be passed at all, which broke a lot of modules. I've sent PRs, but for now the parameter should be allowed (but discouraged). Reported by Slaven Rezić. RT #115420. 1.37 2016-08-14 (TRIAL RELEASE) - Require the latest Params::ValidationCompiler (0.11).
Diffstat (limited to 'time/p5-DateTime')
-rw-r--r--time/p5-DateTime/Makefile18
-rw-r--r--time/p5-DateTime/distinfo10
2 files changed, 16 insertions, 12 deletions
diff --git a/time/p5-DateTime/Makefile b/time/p5-DateTime/Makefile
index 168360f18b0..a320c7b35b4 100644
--- a/time/p5-DateTime/Makefile
+++ b/time/p5-DateTime/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2016/08/07 04:38:53 wen Exp $
+# $NetBSD: Makefile,v 1.61 2016/09/18 22:56:16 wiz Exp $
-DISTNAME= DateTime-1.36
+DISTNAME= DateTime-1.38
PKGNAME= p5-${DISTNAME}00
CATEGORIES= time perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
@@ -10,17 +10,21 @@ HOMEPAGE= http://datetime.perl.org/
COMMENT= Perl module for date/time sets and ranges
LICENSE= artistic-2.0
+DEPENDS+= p5-DateTime-Locale>=1.06:../../time/p5-DateTime-Locale
+DEPENDS+= p5-DateTime-TimeZone>=2.02:../../time/p5-DateTime-TimeZone
+DEPENDS+= p5-Math-Round-[0-9]*:../../math/p5-Math-Round
+DEPENDS+= p5-Specio-[0-9]*:../../devel/p5-Specio
+DEPENDS+= p5-Params-ValidationCompiler>=0.11:../../devel/p5-Params-ValidationCompiler
+DEPENDS+= p5-namespace-autoclean>=0.19:../../devel/p5-namespace-autoclean
+
+# TEST_DEPENDS
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
BUILD_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings
BUILD_DEPENDS+= p5-CPAN-Meta-Check>=0.11:../../devel/p5-CPAN-Meta-Check
+BUILD_DEPENDS+= p5-Exception-Class-[0-9]*:../../devel/p5-Exception-Class
#BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.88}:../../devel/p5-Test-Simple
-DEPENDS+= p5-DateTime-Locale>=1.05:../../time/p5-DateTime-Locale
-DEPENDS+= p5-DateTime-TimeZone>=2.00:../../time/p5-DateTime-TimeZone
-DEPENDS+= p5-Math-Round-[0-9]*:../../math/p5-Math-Round
-DEPENDS+= p5-namespace-autoclean>=0.19:../../devel/p5-namespace-autoclean
-
USE_LANGUAGES= c # installs C module
PERL5_PACKLIST= auto/DateTime/.packlist
diff --git a/time/p5-DateTime/distinfo b/time/p5-DateTime/distinfo
index 994ab202154..e916b8b3418 100644
--- a/time/p5-DateTime/distinfo
+++ b/time/p5-DateTime/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.47 2016/08/07 04:38:53 wen Exp $
+$NetBSD: distinfo,v 1.48 2016/09/18 22:56:16 wiz Exp $
-SHA1 (DateTime-1.36.tar.gz) = 382f88c74c7a2052335c07dac281b3f6507ae33d
-RMD160 (DateTime-1.36.tar.gz) = 5e97d126a82bb4398aed95cbdc6c11dc5d607285
-SHA512 (DateTime-1.36.tar.gz) = debb3c10f55d4dca66a495a89ac92f6a1f90c0091b6c223391f0e5d8835a6b5ef00e9529ac29f837e4e82baf630b82e3fcab20223e13ccaf4db9e9d08573486c
-Size (DateTime-1.36.tar.gz) = 235407 bytes
+SHA1 (DateTime-1.38.tar.gz) = 2bd40180e01043bab5da64dcfcd8eb30b7f630f8
+RMD160 (DateTime-1.38.tar.gz) = 625437d4609990f3b70337ead6a503604e496c1c
+SHA512 (DateTime-1.38.tar.gz) = f52b6ca53af7555adbe454a11efaf123b13df3335b5226a782e6451929b62c0f5f7eb0e4422496151f7ae18c370b694db5860c4e269beb964bcd870d1efbc9a3
+Size (DateTime-1.38.tar.gz) = 236982 bytes