pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/p5-DateTime-Format-Flexible Added time/p5-DateTim...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcc2f8f5b2c4
branches:  trunk
changeset: 554406:fcc2f8f5b2c4
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Feb 13 23:53:54 2009 +0000

description:
Added time/p5-DateTime-Format-Flexible version 0.05

If you have ever had to use a program that made you type in the
date a certain way and thought "Why can't the computer just figure
out what date I wanted?", this module is for you.

DateTime::Format::Flexible attempts to take any string you give it
and parse it into a DateTime object.

The test file tests 2500+ variations of date/time strings. If you
can think of any that I do not cover, please let me know.

diffstat:

 time/p5-DateTime-Format-Flexible/DESCR    |   9 +++++++++
 time/p5-DateTime-Format-Flexible/Makefile |  22 ++++++++++++++++++++++
 time/p5-DateTime-Format-Flexible/distinfo |   5 +++++
 3 files changed, 36 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r 861ead94f1d8 -r fcc2f8f5b2c4 time/p5-DateTime-Format-Flexible/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-DateTime-Format-Flexible/DESCR    Fri Feb 13 23:53:54 2009 +0000
@@ -0,0 +1,9 @@
+If you have ever had to use a program that made you type in the
+date a certain way and thought "Why can't the computer just figure
+out what date I wanted?", this module is for you.
+
+DateTime::Format::Flexible attempts to take any string you give it
+and parse it into a DateTime object.
+
+The test file tests 2500+ variations of date/time strings. If you
+can think of any that I do not cover, please let me know.
diff -r 861ead94f1d8 -r fcc2f8f5b2c4 time/p5-DateTime-Format-Flexible/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-DateTime-Format-Flexible/Makefile Fri Feb 13 23:53:54 2009 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/13 23:53:54 abs Exp $
+
+DISTNAME=      DateTime-Format-Flexible-0.05
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    time perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=DateTime/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/perldoc?DateTime::Format::Flexible
+COMMENT=       Flexibly parse strings and turn them into DateTime objects
+
+DEPENDS+=      p5-Readonly>=0.06:../../devel/p5-Readonly
+DEPENDS+=      p5-DateTime-Format-Builder>=0.74:../../time/p5-DateTime-Format-Builder
+DEPENDS+=      p5-DateTime>=0:../../time/p5-DateTime
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+USE_LANGUAGES= #
+
+PERL5_PACKLIST=        auto/DateTime/Format/Flexible/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 861ead94f1d8 -r fcc2f8f5b2c4 time/p5-DateTime-Format-Flexible/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-DateTime-Format-Flexible/distinfo Fri Feb 13 23:53:54 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/13 23:53:54 abs Exp $
+
+SHA1 (DateTime-Format-Flexible-0.05.tar.gz) = 46a96fda16b24df321377df8137be31c50c11915
+RMD160 (DateTime-Format-Flexible-0.05.tar.gz) = afa2559ed3e1542e769402c171686b131ffc6ad6
+Size (DateTime-Format-Flexible-0.05.tar.gz) = 26685 bytes



Home | Main Index | Thread Index | Old Index