Date: Sun, 17 Aug 2014 16:36:14 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365201 - in head/devel/p5-BZ-Client: . files Message-ID: <201408171636.s7HGaExr097922@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Sun Aug 17 16:36:13 2014 New Revision: 365201 URL: http://svnweb.freebsd.org/changeset/ports/365201 QAT: https://qat.redports.org/buildarchive/r365201/ Log: devel/p5-BZ-Client: fixes: - Fix Broken ISO8601 date format - Added LICENSE - Take maintainership PR: 191258 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> Added: head/devel/p5-BZ-Client/files/ head/devel/p5-BZ-Client/files/patch-lib-BZ-Client-XMLRPC-Value.pm (contents, props changed) Modified: head/devel/p5-BZ-Client/Makefile Modified: head/devel/p5-BZ-Client/Makefile ============================================================================== --- head/devel/p5-BZ-Client/Makefile Sun Aug 17 16:30:41 2014 (r365200) +++ head/devel/p5-BZ-Client/Makefile Sun Aug 17 16:36:13 2014 (r365201) @@ -1,16 +1,19 @@ -# Created by: Sergey Skvortsov <skv@protey.ru> # $FreeBSD$ PORTNAME= BZ-Client PORTVERSION= 1.04 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JWIED PKGNAMEPREFIX= p5- -MAINTAINER= perl@FreeBSD.org +MAINTAINER= 5u623l20@gmail.com COMMENT= Client for the Bugzilla web services API +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer \ p5-URI>=0:${PORTSDIR}/net/p5-URI Added: head/devel/p5-BZ-Client/files/patch-lib-BZ-Client-XMLRPC-Value.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-BZ-Client/files/patch-lib-BZ-Client-XMLRPC-Value.pm Sun Aug 17 16:36:13 2014 (r365201) @@ -0,0 +1,15 @@ +--- lib/BZ/Client/XMLRPC/Value.pm.orig 2014-06-22 04:55:15.521928171 +0600 ++++ lib/BZ/Client/XMLRPC/Value.pm 2014-06-22 04:56:11.104922485 +0600 +@@ -71,7 +71,11 @@ + $self->{'level1_content'} = undef; + $self->{'level1_elem'} = undef; + if ("dateTime.iso8601" eq $name) { +- $self->{'result'} = DateTime::Format::ISO8601->parse_datetime( $self->{'result'} ); ++ my $val = $self->{'result'}; ++ if ($val =~ /(\d\d\d\d)(\d\d)(\d\d)(T\d\d:\d\d:\d\d)/) { ++ $val = "$1-$2-$3$4"; ++ } ++ $self->{'result'} = DateTime::Format::ISO8601->parse_datetime( $val ); + } + } + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408171636.s7HGaExr097922>