pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/p5-Time-Local Import p5-Time-Local from pkgsrc-wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/660f0d28da7d
branches:  trunk
changeset: 511542:660f0d28da7d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Apr 16 22:23:26 2006 +0000

description:
Import p5-Time-Local from pkgsrc-wip.  Packaged by Roman Kulik.

These routines are the inverse of built-in perl functions localtime()
and gmtime().  They accept a date as a six-element array, and return
the corresponding time(2) value in seconds since the system epoch
(Midnight, January 1, 1970 UTC on Unix, for example).  This value can
be positive or negative, though POSIX only requires support for
positive values, so dates before the system's epoch may not work on
all operating systems.

diffstat:

 time/p5-Time-Local/DESCR    |   7 +++++++
 time/p5-Time-Local/Makefile |  15 +++++++++++++++
 time/p5-Time-Local/PLIST    |   1 +
 time/p5-Time-Local/distinfo |   5 +++++
 4 files changed, 28 insertions(+), 0 deletions(-)

diffs (44 lines):

diff -r 9ec1aea08571 -r 660f0d28da7d time/p5-Time-Local/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Local/DESCR  Sun Apr 16 22:23:26 2006 +0000
@@ -0,0 +1,7 @@
+These routines are the inverse of built-in perl functions localtime()
+and gmtime().  They accept a date as a six-element array, and return
+the corresponding time(2) value in seconds since the system epoch
+(Midnight, January 1, 1970 UTC on Unix, for example).  This value can
+be positive or negative, though POSIX only requires support for
+positive values, so dates before the system's epoch may not work on
+all operating systems.
diff -r 9ec1aea08571 -r 660f0d28da7d time/p5-Time-Local/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Local/Makefile       Sun Apr 16 22:23:26 2006 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/16 22:23:26 minskim Exp $
+
+DISTNAME=      Time-Local-1.12
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    time perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Time/}
+
+MAINTAINER=    kuli0020%umn.edu@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Time-Local/
+COMMENT=       Efficiently compute time from local and GMT time
+
+PERL5_PACKLIST=        auto/Time/Local/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9ec1aea08571 -r 660f0d28da7d time/p5-Time-Local/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Local/PLIST  Sun Apr 16 22:23:26 2006 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/16 22:23:26 minskim Exp $
diff -r 9ec1aea08571 -r 660f0d28da7d time/p5-Time-Local/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/p5-Time-Local/distinfo       Sun Apr 16 22:23:26 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/16 22:23:26 minskim Exp $
+
+SHA1 (Time-Local-1.12.tar.gz) = 4eafac0b20a586f2d84dd98f4e20e086b608af75
+RMD160 (Time-Local-1.12.tar.gz) = 891a8d484d60eb0ec3cdb1d8edd434155bf75aec
+Size (Time-Local-1.12.tar.gz) = 17084 bytes



Home | Main Index | Thread Index | Old Index