Update to 1.10. From the changelog: - Some tests added in 1.09 would fail on a Perl without a 64-bit gmtime(). Reported by Jerome Eteve. RT #95345. - A call to ->truncate( to => 'week' ) could fail but leave the object changed. RT #93347. - The value of ->jd() is now calculated based on ->mjd() instead of the other way around. This reduces floating point errors a bit when calculating MJD, and should have a neglible impact on the accuracy of JD. Reported by Anye Li. RT #92972. See the ticket for a more detailed description of what this fixes. - Attempting to construct a DateTime object with a year >= 5000 and a time zone other than floating or DST now issues a warning. This warning may go away once DateTime::TimeZone is made much faster. Inspired by a bug report from Lloyd Fournier. RT #92655.diff -r1.41 -r1.42 pkgsrc/time/p5-DateTime/Makefile
(schmonz)
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.41 2014/05/29 23:37:51 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.42 2014/06/09 20:01:18 schmonz Exp $ | |
2 | 2 | |||
3 | DISTNAME= DateTime-1.08 | 3 | DISTNAME= DateTime-1.10 | |
4 | PKGNAME= p5-${DISTNAME}00 | 4 | PKGNAME= p5-${DISTNAME}00 | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= time perl5 | 5 | CATEGORIES= time perl5 | |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://datetime.perl.org/ | 9 | HOMEPAGE= http://datetime.perl.org/ | |
11 | COMMENT= Perl module for date/time sets and ranges | 10 | COMMENT= Perl module for date/time sets and ranges | |
12 | LICENSE= artistic-2.0 | 11 | LICENSE= artistic-2.0 | |
13 | 12 | |||
14 | BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception | 13 | BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception | |
15 | BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal | 14 | BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal | |
16 | BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.88}:../../devel/p5-Test-Simple | 15 | BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.88}:../../devel/p5-Test-Simple | |
17 | 16 | |||
18 | DEPENDS+= p5-DateTime-Locale>=0.41:../../time/p5-DateTime-Locale | 17 | DEPENDS+= p5-DateTime-Locale>=0.41:../../time/p5-DateTime-Locale |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.30 2014/04/20 02:39:32 wen Exp $ | 1 | $NetBSD: distinfo,v 1.31 2014/06/09 20:01:18 schmonz Exp $ | |
2 | 2 | |||
3 | SHA1 (DateTime-1.08.tar.gz) = a68c182dcadcf38bece5e9e60a0f19f84842eec4 | 3 | SHA1 (DateTime-1.10.tar.gz) = 4d76330727f29e832697f0eea7c464d3367ad70d | |
4 | RMD160 (DateTime-1.08.tar.gz) = b6ecc90b1046e306ef254630e8c41bbfd84fd102 | 4 | RMD160 (DateTime-1.10.tar.gz) = 5e0077a7533405392f8c876a542d242001139800 | |
5 | Size (DateTime-1.08.tar.gz) = 175812 bytes | 5 | Size (DateTime-1.10.tar.gz) = 179976 bytes |