diff options
author | sno <sno@pkgsrc.org> | 2009-05-17 10:15:41 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-05-17 10:15:41 +0000 |
commit | 4f2fd748eaeb2f0ba9d4a852f85159940593d152 (patch) | |
tree | 234efcb6d9620033e30f909d094ceba0565d2d02 /textproc/p5-Number-Format | |
parent | 639850f5cdb324518110b6dee3c616c51f79e569 (diff) | |
download | pkgsrc-4f2fd748eaeb2f0ba9d4a852f85159940593d152.tar.gz |
PkgSrc changes:
- Updating package for p5 module Number::Format from 1.70 to 1.72a
- Setting license to gnu-gpl-v2
Upstream changes:
Changes for version 1.72 (May 5, 2009)
------------------------
- Use Makefile.PL based on suggestion in RT 38020
- Add 'use strict' & 'use warnings'
- Add MAX_INT constant for detecting overflows
- Add helper sub _get_multipliers for getting kilo/mega/giga mult values
- Add test in round() for overflow from large of a precision value (RT 40126)
- Add .5 + 1e-14 to rounded value instead of .5000001 (RT 20298)
- Fix undef $pic_prefix (RT 43029)
- Add support for giga and base option in unformat_number (RT 40455)
- Fix Russian locale issues, esp. in unformat_number (RT 40859)
- Remove variables from error messages (XSS risk) and standardize errors
- Remove requirement that decimal_point & thousands_sep be 1 char (for ru_RU)
- Add Russian and unformat_number tests in locale.t
- Add compare_numbers to test with an allowable error of 1e-10 in round.t
Changes for version 1.71 (May 3, 2009)
------------------------
- Changes to tests t/format_price.t, t/locale.t, and t/round.t to
fix cpan tester errors
- No change to Format.pm itself
Diffstat (limited to 'textproc/p5-Number-Format')
-rw-r--r-- | textproc/p5-Number-Format/Makefile | 7 | ||||
-rw-r--r-- | textproc/p5-Number-Format/distinfo | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/p5-Number-Format/Makefile b/textproc/p5-Number-Format/Makefile index 0f0096427fd..28589ea6b1f 100644 --- a/textproc/p5-Number-Format/Makefile +++ b/textproc/p5-Number-Format/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2009/02/22 16:10:04 he Exp $ +# $NetBSD: Makefile,v 1.9 2009/05/17 10:15:41 sno Exp $ # -DISTNAME= Number-Format-1.70 +DISTNAME= Number-Format-1.72a PKGNAME= p5-${DISTNAME} CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Number/} @@ -9,10 +9,13 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Number/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://search.cpan.org/dist/Number-Format/ COMMENT= Perl extension for formatting numbers +LICENSE= gnu-gpl-v2 # OR artistic PKG_DESTDIR_SUPPORT= user-destdir PERL5_PACKLIST= auto/Number/Format/.packlist +WRKSRC= ${WRKDIR}/${DISTNAME:S/72a/72/} + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/p5-Number-Format/distinfo b/textproc/p5-Number-Format/distinfo index eecdb2eaf7e..ec60a1c316b 100644 --- a/textproc/p5-Number-Format/distinfo +++ b/textproc/p5-Number-Format/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2009/02/22 16:10:04 he Exp $ +$NetBSD: distinfo,v 1.6 2009/05/17 10:15:41 sno Exp $ -SHA1 (Number-Format-1.70.tar.gz) = ab3fa027a9189941c7437929f49ce8c632b56d15 -RMD160 (Number-Format-1.70.tar.gz) = ef24929fc0006bae2514e8bc3dc32f83dc8ab8dc -Size (Number-Format-1.70.tar.gz) = 20579 bytes +SHA1 (Number-Format-1.72a.tar.gz) = 9e9923dbc65dc99a8eb4d906b87db9a7ab08e21b +RMD160 (Number-Format-1.72a.tar.gz) = 151c567b93b8471ad93fa5839b05d7d5c3ab8b49 +Size (Number-Format-1.72a.tar.gz) = 22425 bytes |