ports/55376: update devel/p5-DateTime
Mathieu Arnold
m at absolight.net
Fri Aug 8 13:10:17 UTC 2003
>Number: 55376
>Category: ports
>Synopsis: update devel/p5-DateTime
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 08 06:10:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Mathieu Arnold
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Jul 18 12:38:14 CEST 2003 root at aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386
>Description:
Update devel/p5-DateTime
* On platforms like Win32, where we can't find a finite() or isfinite()
function/macro, the DateTime::LeapSecond code wasn't being loaded, so many
tests failed. Reported by Ron Hill.
* The XS code now implements leap second-related calculations. However, this
is only used on platforms where we can find a usable finite() or isfinite()
function/macro, so it isn't used on Win32.
* This distro has now borged the DateTime::LeapSecond module. It is only
loaded when the XS leap second code cannot be used.
* Other miscellaneous performance improvements.
* Adding a duration with delta months to an infinite DateTime was quite broken.
Reported by Eugene van der Pijll.
>How-To-Repeat:
>Fix:
IMPORTANT, this port depended on DateTime::LeapSecond, which has been included
in DateTime. devel/p5-DateTime-LeapSecond should be removed from the ports
tree.
>From CPAN :
DateTime::LeapSecond -- DEPRECATED: use "DateTime" distribution instead
--- p5-DateTime-0.16.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-DateTime/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 31 Jul 2003 12:14:08 -0000 1.4
+++ Makefile 8 Aug 2003 12:53:04 -0000
@@ -6,19 +6,18 @@
#
PORTNAME= DateTime
-PORTVERSION= 0.15
+PORTVERSION= 0.16
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION}02
+DISTNAME= ${PORTNAME}-${PORTVERSION}01
MAINTAINER= m at absolight.net
COMMENT= A date and time object
RUN_DEPENDS= ${SITE_PERL}/Class/Factory/Util.pm:${PORTSDIR}/devel/p5-Class-Factory-Util \
${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
- ${SITE_PERL}/DateTime/LeapSecond.pm:${PORTSDIR}/devel/p5-DateTime-LeapSecond \
${SITE_PERL}/DateTime/TimeZone.pm:${PORTSDIR}/devel/p5-DateTime-TimeZone \
${SITE_PERL}/DateTime/Locale.pm:${PORTSDIR}/devel/p5-DateTime-Locale \
${SITE_PERL}/Time/Local.pm:${PORTSDIR}/devel/p5-Time-Local
@@ -28,6 +27,6 @@
PERL_CONFIGURE= yes
MAN3= DateTime.3 DateTime::Duration.3 \
- DateTime::Infinite.3
+ DateTime::Infinite.3 DateTime::LeapSecond.3
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/p5-DateTime/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 31 Jul 2003 12:14:08 -0000 1.4
+++ distinfo 8 Aug 2003 12:53:04 -0000
@@ -1 +1 @@
-MD5 (DateTime-0.1502.tar.gz) = 76d677e8b9e70f3f445a720d1944e463
+MD5 (DateTime-0.1601.tar.gz) = 67b6ceb1a55d9d60963d0b9b75ea993d
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/p5-DateTime/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist 31 Jul 2003 12:14:08 -0000 1.4
+++ pkg-plist 8 Aug 2003 12:53:04 -0000
@@ -1,6 +1,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/DateTime.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DateTime/Duration.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DateTime/Infinite.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/DateTime/LeapSecond.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DateTimePP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DateTimePPExtra.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/.packlist
--- p5-DateTime-0.16.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list