diff options
author | sno <sno@pkgsrc.org> | 2010-03-16 17:01:11 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2010-03-16 17:01:11 +0000 |
commit | a9845597a819bdb28a3593d1eeaaa7af9cf158d4 (patch) | |
tree | 5a77004832ec1e421ca9132a3887f241409b94a8 /time/p5-DateTime | |
parent | 8d323b06fd2c498586daf91cd091b550c16608b8 (diff) | |
download | pkgsrc-a9845597a819bdb28a3593d1eeaaa7af9cf158d4.tar.gz |
Update time/p5-DateTime from 0.5300 to 0.5400
pkgsrc changes:
- Adjust license definition
- Adjust dependencies
Upstream changes:
0.54 2010-03-14
- Bumped the DateTime::TimeZone prereq to 1.09 to force people to use a modern
version. Previously the minimum version was 0.59, and there have been a lot
of bug fixes since then.
- String overloading now extends to string comparison, so a DateTime object
can be compared to any string. In other words
if ( $dt eq $string ) { ... }
will simply stringify $dt and then do a normal string-is-equals
check. Previously, this would blow up unless both operands were a DateTime
object.
Note that future versions of Test::More (0.95_01+) will no longer stringify
arguments to is(), which means that older versions of DateTime may cause new
test failures when you upgrade Test::More. It is highly recommended that you
upgrade DateTime before upgrading to Test::More 0.95_01+.
Patch by Michael Schwern. RT #55453.
- Allow passing end_of_month setting to $duration->inverse(). Requested by
John Siracusa. RT #53985.
Diffstat (limited to 'time/p5-DateTime')
-rw-r--r-- | time/p5-DateTime/Makefile | 8 | ||||
-rw-r--r-- | time/p5-DateTime/distinfo | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/time/p5-DateTime/Makefile b/time/p5-DateTime/Makefile index b471a20382d..f28b619e7da 100644 --- a/time/p5-DateTime/Makefile +++ b/time/p5-DateTime/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.19 2010/01/25 23:51:07 seb Exp $ +# $NetBSD: Makefile,v 1.20 2010/03/16 17:01:11 sno Exp $ -DISTNAME= DateTime-0.53 +DISTNAME= DateTime-0.54 PKGNAME= p5-${DISTNAME}00 CATEGORIES= time perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/} @@ -8,11 +8,11 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://datetime.perl.org/ COMMENT= Perl module for date/time sets and ranges -LICENSE= gnu-gpl-v2 # OR artistic +LICENSE= ${PERL5_LICENSE} BUILD_DEPENDS+= p5-Test-Exception>=0:../../devel/p5-Test-Exception DEPENDS+= p5-DateTime-Locale>=0.41:../../time/p5-DateTime-Locale -DEPENDS+= p5-DateTime-TimeZone>=0.59:../../time/p5-DateTime-TimeZone +DEPENDS+= p5-DateTime-TimeZone>=1.09:../../time/p5-DateTime-TimeZone DEPENDS+= p5-Params-Validate>=0.76:../../devel/p5-Params-Validate USE_LANGUAGES= c # installs C module diff --git a/time/p5-DateTime/distinfo b/time/p5-DateTime/distinfo index 086b6422866..93e7c08ae2e 100644 --- a/time/p5-DateTime/distinfo +++ b/time/p5-DateTime/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.15 2010/01/25 23:51:07 seb Exp $ +$NetBSD: distinfo,v 1.16 2010/03/16 17:01:11 sno Exp $ -SHA1 (DateTime-0.53.tar.gz) = 5a05067768534a7e2afbe68ed3bfb3f9261556bd -RMD160 (DateTime-0.53.tar.gz) = d0a33432683dcbe6643864909bda2c04abb2854f -Size (DateTime-0.53.tar.gz) = 195253 bytes +SHA1 (DateTime-0.54.tar.gz) = edc376a11408c51bbd077be8db2e3d814af42709 +RMD160 (DateTime-0.54.tar.gz) = f57bf12bb2eb943721eff0d3ca73c0b4502dfa1b +Size (DateTime-0.54.tar.gz) = 198265 bytes |