This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch jessie
in repository libdatetime-timezone-perl.

commit 548ee0a24fbcf95f1c107a44cb03ad56885fed7e
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Nov 4 15:26:38 2016 +0100

    Update debian/tools/update-tzdata.sh helper script.
    
    Update handling of -Inf/Inf.
    
    (This script is only used  manually for updating Olson database data.)
---
 debian/tools/update-tzdata.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/tools/update-tzdata.sh b/debian/tools/update-tzdata.sh
index 80032cf..519b017 100644
--- a/debian/tools/update-tzdata.sh
+++ b/debian/tools/update-tzdata.sh
@@ -51,9 +51,10 @@ popd
 
 perl tools/parse_olson --dir debian/tzdata --version $updbversion --clean
 
-# add VERSION to files
+# add VERSION to files; fix Inf
 for f in $(find lib/DateTime -name "*.pm"); do
        grep -q "::VERSION = '$dttzversion';" $f && continue
        module=$(echo $f | perl -pe 
's{lib/DateTime/TimeZone/(.+)(?:(/.+))?.pm}{DateTime/TimeZone/$1$2}; 
s{/}{::}g;')
        perl -pi -e "s{package $module;\s+}{$&\\\$${module}::VERSION = 
'$dttzversion';}m" $f
+       perl -pi -e 
's|-Inf|DateTime::TimeZone::NEG_INFINITY|g;s|Inf|DateTime::TimeZone::INFINITY|g'
 $f
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdatetime-timezone-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to