svn commit: r380893 - in head/devel: . p5-Time-timegm

Vanilla I. Shu vanilla at FreeBSD.org
Tue Mar 10 06:08:22 UTC 2015


Author: vanilla
Date: Tue Mar 10 06:08:19 2015
New Revision: 380893
URL: https://svnweb.freebsd.org/changeset/ports/380893
QAT: https://qat.redports.org/buildarchive/r380893/

Log:
  Add p5-Time-timegm 0.01, efficiently compute time from local and GMT
  time.
  
  PR:		198308
  Submitted by:	Geoffroy Desvernay <dgeo at centrale-marseille.fr>

Added:
  head/devel/p5-Time-timegm/
  head/devel/p5-Time-timegm/Makefile   (contents, props changed)
  head/devel/p5-Time-timegm/distinfo   (contents, props changed)
  head/devel/p5-Time-timegm/pkg-descr   (contents, props changed)
  head/devel/p5-Time-timegm/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Mar 10 06:03:50 2015	(r380892)
+++ head/devel/Makefile	Tue Mar 10 06:08:19 2015	(r380893)
@@ -3142,6 +3142,7 @@
     SUBDIR += p5-Time-Stopwatch
     SUBDIR += p5-Time-Warp
     SUBDIR += p5-Time-modules
+    SUBDIR += p5-Time-timegm
     SUBDIR += p5-TimeDate
     SUBDIR += p5-ToolSet
     SUBDIR += p5-TraceFuncs

Added: head/devel/p5-Time-timegm/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-timegm/Makefile	Tue Mar 10 06:08:19 2015	(r380893)
@@ -0,0 +1,20 @@
+# Created by: Geoffroy Desvernay <dgeo at centrale-marseille.fr>
+# $FreeBSD$
+
+PORTNAME=	Time-timegm
+PORTVERSION=	0.01
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:PEVANS
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl at FreeBSD.org
+COMMENT=	Efficiently compute time from local and GMT time
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>

Added: head/devel/p5-Time-timegm/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-timegm/distinfo	Tue Mar 10 06:08:19 2015	(r380893)
@@ -0,0 +1,2 @@
+SHA256 (Time-timegm-0.01.tar.gz) = e721cdfda183146b895e04cee712e10ab1bc73c8bad1bbc84c04b19ef1052c98
+SIZE (Time-timegm-0.01.tar.gz) = 13466

Added: head/devel/p5-Time-timegm/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-timegm/pkg-descr	Tue Mar 10 06:08:19 2015	(r380893)
@@ -0,0 +1,10 @@
+The POSIX standard provides three functions for converting between integer
+epoch values and 6-component "broken-down" time representations.
+localtime and gmtime convert an epoch into the 6 components of seconds,
+minutes, hours, day of month, month and year, in either local timezone or UTC.
+The mktime function converts a local broken-down time into an epoch value.
+However, POSIX does not provide a UTC version of this.
+
+This module provides a function timegm which has this ability.
+
+WWW: https://metacpan.org/pod/Time::timegm

Added: head/devel/p5-Time-timegm/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-timegm/pkg-plist	Tue Mar 10 06:08:19 2015	(r380893)
@@ -0,0 +1,3 @@
+%%PERL5_MAN3%%/Time::timegm.3.gz
+%%SITE_PERL%%/Time/timegm.pm
+%%SITE_PERL%%/Time/timegm.xs


More information about the svn-ports-head mailing list