diff options
author | minskim <minskim> | 2005-09-03 14:19:16 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-09-03 14:19:16 +0000 |
commit | d2d518b8c352c8e20b8a42d93949923a4f04a8a3 (patch) | |
tree | 6f060e43233e3c2f149a0c8f5647876473944947 /devel/p5-Date-Simple | |
parent | c7cd39585b6c4008df0d5543b50727106ec17588 (diff) | |
download | pkgsrc-d2d518b8c352c8e20b8a42d93949923a4f04a8a3.tar.gz |
Import p5-Date-Simple from pkgsrc-wip. Packaged by George Michaelson.
Dates are complex enough without times and timezones. This module may
be used to create simple date objects. It handles:
Validation:
Reject 1999-02-29 but accept 2000-02-29.
Interval arithmetic:
How many days were between two given dates? What date comes N days
after today?
Day-of-week calculation:
What day of the week is a given date?
It does NOT deal with hours, minutes, seconds, and time zones.
Diffstat (limited to 'devel/p5-Date-Simple')
-rw-r--r-- | devel/p5-Date-Simple/DESCR | 12 | ||||
-rw-r--r-- | devel/p5-Date-Simple/Makefile | 16 | ||||
-rw-r--r-- | devel/p5-Date-Simple/PLIST | 1 | ||||
-rw-r--r-- | devel/p5-Date-Simple/distinfo | 5 |
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/p5-Date-Simple/DESCR b/devel/p5-Date-Simple/DESCR new file mode 100644 index 00000000000..7607b800ed9 --- /dev/null +++ b/devel/p5-Date-Simple/DESCR @@ -0,0 +1,12 @@ +Dates are complex enough without times and timezones. This module may +be used to create simple date objects. It handles: + +Validation: + Reject 1999-02-29 but accept 2000-02-29. +Interval arithmetic: + How many days were between two given dates? What date comes N days + after today? +Day-of-week calculation: + What day of the week is a given date? + +It does NOT deal with hours, minutes, seconds, and time zones. diff --git a/devel/p5-Date-Simple/Makefile b/devel/p5-Date-Simple/Makefile new file mode 100644 index 00000000000..26c8354ec27 --- /dev/null +++ b/devel/p5-Date-Simple/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/09/03 14:19:16 minskim Exp $ +# + +DISTNAME= Date-Simple-3.02 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Date/} + +MAINTAINER= geeogeegeeoh@users.sourceforge.net +HOMEPAGE= http://search.cpan.org/~yves/Date-Simple/ +COMMENT= A simple date object + +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Date/Simple/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Date-Simple/PLIST b/devel/p5-Date-Simple/PLIST new file mode 100644 index 00000000000..0181bd09014 --- /dev/null +++ b/devel/p5-Date-Simple/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/03 14:19:16 minskim Exp $ diff --git a/devel/p5-Date-Simple/distinfo b/devel/p5-Date-Simple/distinfo new file mode 100644 index 00000000000..1eded950de3 --- /dev/null +++ b/devel/p5-Date-Simple/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/09/03 14:19:16 minskim Exp $ + +SHA1 (Date-Simple-3.02.tar.gz) = b3abff9bbefcbd8154dcf15f4f65e76aa1f0fcff +RMD160 (Date-Simple-3.02.tar.gz) = af4fb1f09a7ba3c2bd17026a38c4bf4b90587ab7 +Size (Date-Simple-3.02.tar.gz) = 22702 bytes |