summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2007-06-10 11:23:14 +0000
committerabs <abs@pkgsrc.org>2007-06-10 11:23:14 +0000
commitd008ba6605fcd5b762b62c4d13693f4b436ff865 (patch)
tree2f0ebb0b94cb7c6825baec09082c13d84b93c3a5 /time
parent987f20e8d62377e4546edf3506a4f4373e68ded6 (diff)
downloadpkgsrc-d008ba6605fcd5b762b62c4d13693f4b436ff865.tar.gz
Added time/p5-DateTime-Format-Pg version 0.16001
This module understands the formats used by PostgreSQL for its DATE, TIME, TIMESTAMP, and INTERVAL data types. It can be used to parse these formats in order to create DateTime or DateTime::Duration objects, and it can take a DateTime or DateTime::Duration object and produce a string representing it in a format accepted by PostgreSQL.
Diffstat (limited to 'time')
-rw-r--r--time/p5-DateTime-Format-Pg/DESCR6
-rw-r--r--time/p5-DateTime-Format-Pg/Makefile19
-rw-r--r--time/p5-DateTime-Format-Pg/PLIST1
-rw-r--r--time/p5-DateTime-Format-Pg/distinfo5
4 files changed, 31 insertions, 0 deletions
diff --git a/time/p5-DateTime-Format-Pg/DESCR b/time/p5-DateTime-Format-Pg/DESCR
new file mode 100644
index 00000000000..98db60e3a23
--- /dev/null
+++ b/time/p5-DateTime-Format-Pg/DESCR
@@ -0,0 +1,6 @@
+This module understands the formats used by PostgreSQL for its
+DATE, TIME, TIMESTAMP, and INTERVAL data types. It can be used to
+parse these formats in order to create DateTime or DateTime::Duration
+objects, and it can take a DateTime or DateTime::Duration object
+and produce a string representing it in a format accepted by
+PostgreSQL.
diff --git a/time/p5-DateTime-Format-Pg/Makefile b/time/p5-DateTime-Format-Pg/Makefile
new file mode 100644
index 00000000000..64764b7bf42
--- /dev/null
+++ b/time/p5-DateTime-Format-Pg/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/10 11:23:14 abs Exp $
+
+DISTNAME= DateTime-Format-Pg-0.16001
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= time perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/DateTime-Format-Pg/
+COMMENT= Parse and format PostgreSQL dates and times
+
+DEPENDS+= p5-DateTime-Format-Builder>=0.72:../../time/p5-DateTime-Format-Builder
+DEPENDS+= p5-DateTime-TimeZone>=0.05:../../time/p5-DateTime-TimeZone
+DEPENDS+= p5-DateTime>=0.10:../../time/p5-DateTime
+
+PERL5_PACKLIST= auto/DateTime/Format/Pg/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-DateTime-Format-Pg/PLIST b/time/p5-DateTime-Format-Pg/PLIST
new file mode 100644
index 00000000000..712c18eba01
--- /dev/null
+++ b/time/p5-DateTime-Format-Pg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/10 11:23:14 abs Exp $
diff --git a/time/p5-DateTime-Format-Pg/distinfo b/time/p5-DateTime-Format-Pg/distinfo
new file mode 100644
index 00000000000..7135da80320
--- /dev/null
+++ b/time/p5-DateTime-Format-Pg/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/10 11:23:14 abs Exp $
+
+SHA1 (DateTime-Format-Pg-0.16001.tar.gz) = af92746f1924a2b2b06255f231d906d4effa7713
+RMD160 (DateTime-Format-Pg-0.16001.tar.gz) = a715bb8df568d508ae7881f89af5c92b1d429592
+Size (DateTime-Format-Pg-0.16001.tar.gz) = 36018 bytes