Mon Mar 8 16:45:23 2010 UTC ()
Updating time/p5-DateTime-Format-Flexible from 0.09 to 0.14

pkgsrc changes:
- Adapt dependency version to pkgsrc used version numbers, not CPAN

Upstream changes:
0.14 Sun Feb 28 2010
   - fix test: '1 month ago at 4pm' could be potentially less that 28 days ago.
   - fix tests for infinity, -infinity, infinito, and -infinito

0.13 Sat Feb 27 2010
   - make parsing for infinity and -infinity more reliable

0.12 Thu Feb 25 2010
   - fix DateTime::Format::Builder import

0.11 Wed Feb 24 2010
   - remove Readonly dependency
   - support some postgresql datetimes: epoch, infinity, -infinity, allballs
     - see http://www.postgresql.org/docs/8.4/interactive/datatype-datetime.html section 8.5.1.4
     - 'infinity' returns a DateTime::Infinite::Future object
     - '-infinity' returns a DateTime::Infinite::Past object

0.10 Wed Feb 24 18:45:00 2009
   - support for single character am/pm strings '3p'
   - support for days of the week (wednesday => the nearest future wednesday) (thanks Shawn Moore, rt #53188)
     - note: this is quite limited, I need more test cases
       - works: wednesday
       - works: wed at 3p
   - support for bare months (february)
   - support for limited timezones that are not at the end of the string (thanks Dave Faraldo)
     - 'Wed Nov 11 13:55:48 PST 2009' becomes
       - 2009-11-11T13:55:48 America/Los_Angeles
   - beginning multiple language support (contributions welcome)
     - support english (en) and spanish (es)
   - support dates like 'now, today, tomorrow'
   - switch to strptime from regexes for some parsing for clarity
   - now supports negative timezone offsets IF it is a 4 digit offset and there is a space before the offset
     - works: 2007-05-06T04:44:44 -0800
     - does not work: 2007-05-06T04:44:44-0800
     - does not work: 2007-05-06T04:44:44-08
     - does not work: 2007-05-06T04:44:44 -08
   - now supports 2 digit years as the first number if the year is > 31
     - works: 35-12-23 (2035-12-23T00:00:00)
     - does not work: 11-12-13 (2013-11-12T00:00:00, or 2013-12-11T00:00:00 with european hinting)
   - timezone parsing should now be more reliable
   - you can now set a 'base' datetime object to help fill out partial datetimes


(sno)
diff -r1.3 -r1.4 pkgsrc/time/p5-DateTime-Format-Flexible/Makefile
diff -r1.3 -r1.4 pkgsrc/time/p5-DateTime-Format-Flexible/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/time/p5-DateTime-Format-Flexible/Makefile (expand / switch to unified diff)

--- pkgsrc/time/p5-DateTime-Format-Flexible/Makefile 2009/06/14 20:19:24 1.3
+++ pkgsrc/time/p5-DateTime-Format-Flexible/Makefile 2010/03/08 16:45:23 1.4
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1# $NetBSD: Makefile,v 1.3 2009/06/14 20:19:24 sno Exp $ 1# $NetBSD: Makefile,v 1.4 2010/03/08 16:45:23 sno Exp $
2 2
3DISTNAME= DateTime-Format-Flexible-0.09 3DISTNAME= DateTime-Format-Flexible-0.14
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5CATEGORIES= time perl5 5CATEGORIES= time perl5
6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://search.cpan.org/perldoc?DateTime::Format::Flexible 9HOMEPAGE= http://search.cpan.org/perldoc?DateTime::Format::Flexible
10COMMENT= Flexibly parse strings and turn them into DateTime objects 10COMMENT= Flexibly parse strings and turn them into DateTime objects
11LICENSE= ${PERL5_LICENSE} 11LICENSE= ${PERL5_LICENSE}
12 12
13DEPENDS+= p5-DateTime>=0:../../time/p5-DateTime 13DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
14DEPENDS+= p5-DateTime-Format-Builder>=0.74:../../time/p5-DateTime-Format-Builder 14DEPENDS+= p5-DateTime-Format-Builder>=0.7400:../../time/p5-DateTime-Format-Builder
15DEPENDS+= p5-DateTime-TimeZone-[0-9]*:../../time/p5-DateTime-TimeZone 15DEPENDS+= p5-DateTime-TimeZone-[0-9]*:../../time/p5-DateTime-TimeZone
16DEPENDS+= p5-Readonly>=0.06:../../devel/p5-Readonly 16DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
17 17
18PKG_DESTDIR_SUPPORT= user-destdir 18PKG_DESTDIR_SUPPORT= user-destdir
19USE_LANGUAGES= # 19USE_LANGUAGES= #
20 20
21PERL5_PACKLIST= auto/DateTime/Format/Flexible/.packlist 21PERL5_PACKLIST= auto/DateTime/Format/Flexible/.packlist
22 22
23.include "../../lang/perl5/module.mk" 23.include "../../lang/perl5/module.mk"
24.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/time/p5-DateTime-Format-Flexible/distinfo (expand / switch to unified diff)

--- pkgsrc/time/p5-DateTime-Format-Flexible/distinfo 2009/06/14 20:19:24 1.3
+++ pkgsrc/time/p5-DateTime-Format-Flexible/distinfo 2010/03/08 16:45:23 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2009/06/14 20:19:24 sno Exp $ 1$NetBSD: distinfo,v 1.4 2010/03/08 16:45:23 sno Exp $
2 2
3SHA1 (DateTime-Format-Flexible-0.09.tar.gz) = fbb88f54be7c7329dbc696e01ab63684f3b01fd3 3SHA1 (DateTime-Format-Flexible-0.14.tar.gz) = 02f817a646605b636c34b200e307276367e10765
4RMD160 (DateTime-Format-Flexible-0.09.tar.gz) = d916fcec57094346593af884e81f7e377a26365b 4RMD160 (DateTime-Format-Flexible-0.14.tar.gz) = 50f5219e35667992be88c5b5322afff6d913829d
5Size (DateTime-Format-Flexible-0.09.tar.gz) = 55474 bytes 5Size (DateTime-Format-Flexible-0.14.tar.gz) = 64669 bytes