summaryrefslogtreecommitdiff
path: root/time/p5-DateTime-Format-Flexible
diff options
context:
space:
mode:
authorabs <abs>2009-02-13 23:53:54 +0000
committerabs <abs>2009-02-13 23:53:54 +0000
commitdcfa0ae04b807ad735667cde48d4c32a437e50fe (patch)
tree537a22801f4ca07da1f4e413aa4458ddbc64bd67 /time/p5-DateTime-Format-Flexible
parent30a47ee063efd034f803381a71137dbf6db1b3ea (diff)
downloadpkgsrc-dcfa0ae04b807ad735667cde48d4c32a437e50fe.tar.gz
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 (limited to 'time/p5-DateTime-Format-Flexible')
-rw-r--r--time/p5-DateTime-Format-Flexible/DESCR9
-rw-r--r--time/p5-DateTime-Format-Flexible/Makefile22
-rw-r--r--time/p5-DateTime-Format-Flexible/distinfo5
3 files changed, 36 insertions, 0 deletions
diff --git a/time/p5-DateTime-Format-Flexible/DESCR b/time/p5-DateTime-Format-Flexible/DESCR
new file mode 100644
index 00000000000..c2be5316f50
--- /dev/null
+++ b/time/p5-DateTime-Format-Flexible/DESCR
@@ -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 --git a/time/p5-DateTime-Format-Flexible/Makefile b/time/p5-DateTime-Format-Flexible/Makefile
new file mode 100644
index 00000000000..b127daa0580
--- /dev/null
+++ b/time/p5-DateTime-Format-Flexible/Makefile
@@ -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
+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 --git a/time/p5-DateTime-Format-Flexible/distinfo b/time/p5-DateTime-Format-Flexible/distinfo
new file mode 100644
index 00000000000..e86f1f68d51
--- /dev/null
+++ b/time/p5-DateTime-Format-Flexible/distinfo
@@ -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