pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/p5-DateTime Updated p5-DateTime to 1.3800.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e460c5591610
branches:  trunk
changeset: 352765:e460c5591610
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 18 22:56:16 2016 +0000

description:
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:

 time/p5-DateTime/Makefile |  18 +++++++++++-------
 time/p5-DateTime/distinfo |  10 +++++-----
 2 files changed, 16 insertions(+), 12 deletions(-)

diffs (54 lines):

diff -r a87225ee3bc8 -r e460c5591610 time/p5-DateTime/Makefile
--- a/time/p5-DateTime/Makefile Sun Sep 18 22:42:42 2016 +0000
+++ b/time/p5-DateTime/Makefile Sun Sep 18 22:56:16 2016 +0000
@@ -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 @@
 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 -r a87225ee3bc8 -r e460c5591610 time/p5-DateTime/distinfo
--- a/time/p5-DateTime/distinfo Sun Sep 18 22:42:42 2016 +0000
+++ b/time/p5-DateTime/distinfo Sun Sep 18 22:56:16 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index