pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/p5-Time-Clock Import p5-Time-Clock-0.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6f0b05d49a9
branches:  trunk
changeset: 529791:d6f0b05d49a9
user:      abs <abs%pkgsrc.org@localhost>
date:      Sun Jun 10 11:18:16 2007 +0000

description:
Import p5-Time-Clock-0.11

A Time::Clock object is a twenty-four hour clock with nanosecond
precision and wrap-around. It is a clock only; it has absolutely
no concept of dates. Vagaries of date/time such as leap seconds
and daylight savings time are unsupported.

When a Time::Clock object hits 23:59:59.999999999 and at least one
more nanosecond is added, it will wrap around to 00:00:00.000000000.
This works in reverse when time is subtracted.

Time::Clock objects automatically stringify to a user-definable
format.

diffstat:

 time/p5-Time-Clock/DESCR    |  11 +++++++++++
 time/p5-Time-Clock/Makefile |  15 +++++++++++++++
 time/p5-Time-Clock/PLIST    |   1 +
 time/p5-Time-Clock/distinfo |   5 +++++
 4 files changed, 32 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r d456e9e54181 -r d6f0b05d49a9 time/p5-Time-Clock/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Clock/DESCR  Sun Jun 10 11:18:16 2007 +0000
@@ -0,0 +1,11 @@
+A Time::Clock object is a twenty-four hour clock with nanosecond
+precision and wrap-around. It is a clock only; it has absolutely
+no concept of dates. Vagaries of date/time such as leap seconds
+and daylight savings time are unsupported.
+
+When a Time::Clock object hits 23:59:59.999999999 and at least one
+more nanosecond is added, it will wrap around to 00:00:00.000000000.
+This works in reverse when time is subtracted.
+
+Time::Clock objects automatically stringify to a user-definable
+format.
diff -r d456e9e54181 -r d6f0b05d49a9 time/p5-Time-Clock/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Clock/Makefile       Sun Jun 10 11:18:16 2007 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/10 11:18:16 abs Exp $
+
+DISTNAME=      Time-Clock-0.11
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    time perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Time/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Time-Clock/
+COMMENT=       Twenty-four hour clock object with nanosecond precision
+
+PERL5_PACKLIST=                auto/Time/Clock/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d456e9e54181 -r d6f0b05d49a9 time/p5-Time-Clock/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Clock/PLIST  Sun Jun 10 11:18:16 2007 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/10 11:18:16 abs Exp $
diff -r d456e9e54181 -r d6f0b05d49a9 time/p5-Time-Clock/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Clock/distinfo       Sun Jun 10 11:18:16 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/10 11:18:16 abs Exp $
+
+SHA1 (Time-Clock-0.11.tar.gz) = 9465214b24b7dbc4de995fc44ecd7b4db2a7dbba
+RMD160 (Time-Clock-0.11.tar.gz) = d9d84176599c53c67c47cf13e857e15f61c4275f
+Size (Time-Clock-0.11.tar.gz) = 7730 bytes



Home | Main Index | Thread Index | Old Index