1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Add p5-DateTime-Format-Oracle 0.06

DateTime::Format::Oracle 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.

WWW: http://search.cpan.org/dist/DateTime-Format-Oracle/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-10-19 12:59:47 +00:00
parent e9631ad5b6
commit 34b531ec8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283904
5 changed files with 55 additions and 0 deletions

View File

@ -1562,6 +1562,7 @@
SUBDIR += p5-DateTime-Format-Mail
SUBDIR += p5-DateTime-Format-MySQL
SUBDIR += p5-DateTime-Format-Natural
SUBDIR += p5-DateTime-Format-Oracle
SUBDIR += p5-DateTime-Format-Pg
SUBDIR += p5-DateTime-Format-RFC3339
SUBDIR += p5-DateTime-Format-Roman

View File

@ -0,0 +1,28 @@
# New ports collection makefile for: p5-DateTime-Format-Oracle
# Date created: 2011-10-19
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= DateTime-Format-Oracle
PORTVERSION= 0.06
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Parse and format Oracle dates and timestamps
BUILD_DEPENDS= p5-Convert-NLS_DATE_FORMAT>=0.03:${PORTSDIR}/converters/p5-Convert-NLS_DATE_FORMAT \
p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
p5-DateTime-Format-Builder>=0:${PORTSDIR}/devel/p5-DateTime-Format-Builder
RUN_DEPENDS= p5-Convert-NLS_DATE_FORMAT>=0.03:${PORTSDIR}/converters/p5-Convert-NLS_DATE_FORMAT \
p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
p5-DateTime-Format-Builder>=0:${PORTSDIR}/devel/p5-DateTime-Format-Builder
PERL_CONFIGURE= yes
MAN3= DateTime::Format::Oracle.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (DateTime-Format-Oracle-0.06.tar.gz) = 9f18d1eb3dff38e046ba063d6b54cc7d68464640ce69d7d1578a2ccd285ca8d4
SIZE (DateTime-Format-Oracle-0.06.tar.gz) = 5962

View File

@ -0,0 +1,17 @@
DateTime::Format::Oracle 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.
WWW: http://search.cpan.org/dist/DateTime-Format-Oracle/

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/DateTime/Format/Oracle.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Oracle/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Oracle
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime
@dirrmtry %%SITE_PERL%%/DateTime/Format
@dirrmtry %%SITE_PERL%%/DateTime