summaryrefslogtreecommitdiff
path: root/time/p5-DateTime-Format-Flexible
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-03-08 16:45:23 +0000
committersno <sno@pkgsrc.org>2010-03-08 16:45:23 +0000
commitacf8e7013b9424d54c010d7e752af4738c90ff68 (patch)
tree8d0bfb052ccc050d68c955546f44091d1d2a31b2 /time/p5-DateTime-Format-Flexible
parent9897876025fd390ad76556d2da0055e9c114b7b8 (diff)
downloadpkgsrc-acf8e7013b9424d54c010d7e752af4738c90ff68.tar.gz
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
Diffstat (limited to 'time/p5-DateTime-Format-Flexible')
-rw-r--r--time/p5-DateTime-Format-Flexible/Makefile10
-rw-r--r--time/p5-DateTime-Format-Flexible/distinfo8
2 files changed, 9 insertions, 9 deletions
diff --git a/time/p5-DateTime-Format-Flexible/Makefile b/time/p5-DateTime-Format-Flexible/Makefile
index 56109283107..7af5564b7bc 100644
--- a/time/p5-DateTime-Format-Flexible/Makefile
+++ b/time/p5-DateTime-Format-Flexible/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2009/06/14 20:19:24 sno Exp $
+# $NetBSD: Makefile,v 1.4 2010/03/08 16:45:23 sno Exp $
-DISTNAME= DateTime-Format-Flexible-0.09
+DISTNAME= DateTime-Format-Flexible-0.14
PKGNAME= p5-${DISTNAME}
CATEGORIES= time perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
@@ -10,10 +10,10 @@ HOMEPAGE= http://search.cpan.org/perldoc?DateTime::Format::Flexible
COMMENT= Flexibly parse strings and turn them into DateTime objects
LICENSE= ${PERL5_LICENSE}
-DEPENDS+= p5-DateTime>=0:../../time/p5-DateTime
-DEPENDS+= p5-DateTime-Format-Builder>=0.74:../../time/p5-DateTime-Format-Builder
+DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
+DEPENDS+= p5-DateTime-Format-Builder>=0.7400:../../time/p5-DateTime-Format-Builder
DEPENDS+= p5-DateTime-TimeZone-[0-9]*:../../time/p5-DateTime-TimeZone
-DEPENDS+= p5-Readonly>=0.06:../../devel/p5-Readonly
+DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= #
diff --git a/time/p5-DateTime-Format-Flexible/distinfo b/time/p5-DateTime-Format-Flexible/distinfo
index ca49fd965d5..5448ca4aa7d 100644
--- a/time/p5-DateTime-Format-Flexible/distinfo
+++ b/time/p5-DateTime-Format-Flexible/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2009/06/14 20:19:24 sno Exp $
+$NetBSD: distinfo,v 1.4 2010/03/08 16:45:23 sno Exp $
-SHA1 (DateTime-Format-Flexible-0.09.tar.gz) = fbb88f54be7c7329dbc696e01ab63684f3b01fd3
-RMD160 (DateTime-Format-Flexible-0.09.tar.gz) = d916fcec57094346593af884e81f7e377a26365b
-Size (DateTime-Format-Flexible-0.09.tar.gz) = 55474 bytes
+SHA1 (DateTime-Format-Flexible-0.14.tar.gz) = 02f817a646605b636c34b200e307276367e10765
+RMD160 (DateTime-Format-Flexible-0.14.tar.gz) = 50f5219e35667992be88c5b5322afff6d913829d
+Size (DateTime-Format-Flexible-0.14.tar.gz) = 64669 bytes