pkgsrc/time/p5-DateTime/Makefile
wen 63c898ce5c Update to 1.03
Upstream changes:
1.03   2013-04-17

- The set_time_zone() method was not returning the object when caalled with a
  name that matched the current zone. Reported by Noel Maddy. RT #84699.


1.02   2013-04-15

- When a constructor method like new() or today() was called on an object,
  you'd get an error message like 'Can't locate object method
  "_normalize_nanoseconds" via package "2013-04-15T00:00:00"'. This has been
  fixed to provide a sane error message. Patch by Doug Bell.

- When set_time_zone() is called with a name that matches the current time
  zone, DateTime now short circuits and avoids a lot of work. Patch by Mark
  Stosberg.
2013-08-30 08:01:23 +00:00

27 lines
979 B
Makefile

# $NetBSD: Makefile,v 1.38 2013/08/30 08:01:23 wen Exp $
DISTNAME= DateTime-1.03
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
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"