summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-09-07 05:51:00 +0000
committersno <sno@pkgsrc.org>2010-09-07 05:51:00 +0000
commit2c368dc4aab8af37d4f8d89342bbc3c9acecb08a (patch)
treebc746463dc454ae2cf52522abc8a9c59076bf912 /time
parent1813ae6fceff0d6800a60128a6a138fb83d7c253 (diff)
downloadpkgsrc-2c368dc4aab8af37d4f8d89342bbc3c9acecb08a.tar.gz
Importing package for p5 module DateTime::Format::Oracle version 0.05
into time/p5-DateTime-Format-Oracle. This module may be used to convert Oracle date and timestamp values into DateTime objects. It also can take a DateTime object and produce a date string matching the NLS_DATE_FORMAT. Oracle has flexible date formatting via its NLS_DATE_FORMAT session variable. Date values will be returned from Oracle according to the current value of that variable. Date values going into Oracle must also match the current setting of NLS_DATE_FORMAT. Timestamp values will match either the NLS_TIMESTAMP_FORMAT or NLS_TIMESTAMP_TZ_FORMAT session variables. This module keeps track of these Oracle session variable values by examining environment variables of the same name. Each time one of Oracle's formatting session variables is updated, the %ENV hash must also be updated.
Diffstat (limited to 'time')
-rw-r--r--time/p5-DateTime-Format-Oracle/DESCR16
-rw-r--r--time/p5-DateTime-Format-Oracle/Makefile22
-rw-r--r--time/p5-DateTime-Format-Oracle/distinfo5
3 files changed, 43 insertions, 0 deletions
diff --git a/time/p5-DateTime-Format-Oracle/DESCR b/time/p5-DateTime-Format-Oracle/DESCR
new file mode 100644
index 00000000000..98d61f8d5c7
--- /dev/null
+++ b/time/p5-DateTime-Format-Oracle/DESCR
@@ -0,0 +1,16 @@
+This module may be used to convert Oracle date and timestamp values into
+DateTime objects. It also can take a DateTime object and produce a date
+string matching the NLS_DATE_FORMAT.
+
+Oracle has flexible date formatting via its NLS_DATE_FORMAT session
+variable. Date values will be returned from Oracle according to the current
+value of that variable. Date values going into Oracle must also match the
+current setting of NLS_DATE_FORMAT.
+
+Timestamp values will match either the NLS_TIMESTAMP_FORMAT or
+NLS_TIMESTAMP_TZ_FORMAT session variables.
+
+This module keeps track of these Oracle session variable values by
+examining environment variables of the same name. Each time one of
+Oracle's formatting session variables is updated, the %ENV hash must
+also be updated.
diff --git a/time/p5-DateTime-Format-Oracle/Makefile b/time/p5-DateTime-Format-Oracle/Makefile
new file mode 100644
index 00000000000..76969d8c8f1
--- /dev/null
+++ b/time/p5-DateTime-Format-Oracle/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/07 05:51:00 sno Exp $
+
+DISTNAME= DateTime-Format-Oracle-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/dist/DateTime-Format-Oracle/
+COMMENT= Parse and format Oracle dates and timestamps
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Convert-NLS_DATE_FORMAT-[0-9]*:../../time/p5-Convert-NLS_DATE_FORMAT
+DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
+DEPENDS+= p5-DateTime-Format-Builder-[0-9]*:../../time/p5-DateTime-Format-Builder
+
+PERL5_PACKLIST= auto/DateTime/Format/Oracle/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-DateTime-Format-Oracle/distinfo b/time/p5-DateTime-Format-Oracle/distinfo
new file mode 100644
index 00000000000..b2b7f19634d
--- /dev/null
+++ b/time/p5-DateTime-Format-Oracle/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/07 05:51:00 sno Exp $
+
+SHA1 (DateTime-Format-Oracle-0.05.tar.gz) = f04fc7ae95360c5ffb847ba42ee1b68b39f64946
+RMD160 (DateTime-Format-Oracle-0.05.tar.gz) = 7571fa702ff55227cc57665b5705e66d37320b79
+Size (DateTime-Format-Oracle-0.05.tar.gz) = 5781 bytes