pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Date-Simple Import p5-Date-Simple from pkgsrc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a309c64d6eb4
branches:  trunk
changeset: 498792:a309c64d6eb4
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Sep 03 14:19:16 2005 +0000

description:
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:

 devel/p5-Date-Simple/DESCR    |  12 ++++++++++++
 devel/p5-Date-Simple/Makefile |  16 ++++++++++++++++
 devel/p5-Date-Simple/PLIST    |   1 +
 devel/p5-Date-Simple/distinfo |   5 +++++
 4 files changed, 34 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r c6a231dd1481 -r a309c64d6eb4 devel/p5-Date-Simple/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Date-Simple/DESCR        Sat Sep 03 14:19:16 2005 +0000
@@ -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 -r c6a231dd1481 -r a309c64d6eb4 devel/p5-Date-Simple/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Date-Simple/Makefile     Sat Sep 03 14:19:16 2005 +0000
@@ -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@localhost
+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 -r c6a231dd1481 -r a309c64d6eb4 devel/p5-Date-Simple/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Date-Simple/PLIST        Sat Sep 03 14:19:16 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/03 14:19:16 minskim Exp $
diff -r c6a231dd1481 -r a309c64d6eb4 devel/p5-Date-Simple/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Date-Simple/distinfo     Sat Sep 03 14:19:16 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index