pkgsrc/time/p5-DateTime/Makefile
wiz 097b523475 Update to 0.74:
0.74   2012-03-22

- Small packaging fix for metacpan's benefit. No need to upgrade.


0.73   2012-03-17

- Change tests to work with Zefram's entirely rebuilt DateTime::TimeZone
  distribution, which will replace the current implementation. Patch by
  Zefram. RT #75757.


0.72   2012-01-05

- Remove Test::DependentModules from the dep list. This is used by some
  author-only tests. Reported by Zefram.


0.71   2012-01-05

- There will be a new leap second on June 30, 2012.


0.70   2011-05-09

- Really fix %N, finally. This was breaking the DateTime::Event::Recurrence
  test suite. Patch by Dagfinn Ilmari Mannsåker.


0.69   2011-05-03

- When a DateTime object had nanoseconds == 0, the %N strftime specifier
  always returned "0" regardless of the precision requested. Reported by John
  Siracusa. RT #67928.


0.68   2011-04-25

- The tests for %N in the last release relied on the vagaries of floating
  point math on a 64-bit system. Now the from_epoch() method just uses string
  operations to separate the epoch into an integer value and a mantissa. This
  avoids floating point insanity. Reported by zefram. RT #67736.


0.67   2011-04-24

- The %N strftime specifier simply truncated nanoseconds, rather than rounding
  them. Reported by Michael R. Davis. RT #66744.

- The %U strftime specifier was off by one in years where January 1st was a
  Sunday. Patch by Christian Hansen. RT #67631.

- The %W strftime specifier was off by one in years where January 1st was a
  Sunday or Monday. Patch by Christian Hansen. RT #67631.

- Some small optimizations from Christian Hansen. The biggest impact is for
  calculating week_of_month, week_number, and week_year.

- This distro now requires Perl 5.8.1+ (it implicitly did this anyway now that
  Params::Validate is 5.8.1+).
2012-04-22 12:40:38 +00:00

29 lines
1,014 B
Makefile

# $NetBSD: Makefile,v 1.30 2012/04/22 12:40:38 wiz Exp $
DISTNAME= DateTime-0.74
PKGNAME= p5-${DISTNAME}00
CATEGORIES= time perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://datetime.perl.org/
COMMENT= Perl module for date/time sets and ranges
LICENSE= artistic-2.0
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.88}:../../devel/p5-Test-Simple
DEPENDS+= p5-DateTime-Locale>=0.41:../../time/p5-DateTime-Locale
DEPENDS+= p5-DateTime-TimeZone>=1.09:../../time/p5-DateTime-TimeZone
DEPENDS+= p5-Params-Validate>=0.76:../../devel/p5-Params-Validate
DEPENDS+= p5-Math-Round-[0-9]*:../../math/p5-Math-Round
USE_LANGUAGES= c # installs C module
PERL5_PACKLIST= auto/DateTime/.packlist
PERL5_MODULE_TYPE= Module::Build
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"