pkgsrc/time/p5-DateTime-Format-Strptime/Makefile
wen 0a65f42c1e Update to 1.61
Update DEPENDS

Upstream changes:
1.61     2015-11-13

[BUG FIXES]

- If you loaded this module with warnings globally enabled ("perl -w", which
  you should never do), then you'd get a warning about the import subroutine
  being redefined. This broke the Package::DeprecationManager API for turning
  off deprecation warnings. This has been fixed in
  Package::DeprecationManager 0.15. Reported by Martin. RT #108871.


1.60     2015-11-07

- This release is identical to the prior trial release. The changes for the
  trial releases are reproduced below for convenience.

[BACKWARDS INCOMPATIBILITIES]

- The error messages for various types of failures have changed.

- The never-documented diagnostic parameter for the constructor has been
  removed.

- The never-documented feature to allow you to use arbitrary DateTime.pm
  methods in the parsing pattern has been removed. This never made much sense
  anyway, since most DateTime.pm methods are not constructor params, but they
  were used that way.

- Using the pattern, locale, and time_zone to set the respective attribute is
  now deprecated. Make a new object instead of changing one of these values.

[BUG FIXES]

- Fixed a warning from the tests with newer Perl versions. RT #107620.

- Clarified docs to note that %Y and %G require 4-digit years. Reported by
  Karen Etheridge. RT #103147.

- Using the 24-hour token (%H) with an AM/PM specifier (%p) now leads to an
  error if you try to parse something like "23:01 AM". Reported by Ric
  Signes. RT #92445.


1.59     2015-10-25 (TRIAL RELEASE)

- The previous release accidentally included an old version of Strptime.pm in
  the root dir, causing all sorts of chaos and test failures.


1.58     2015-10-18 (TRIAL RELEASE)

- This release is a substantial rewrite. Please test it and file bugs for any
  unintentional breakage.

* The error messages for various types of failures have changed.

* The never-documented diagnostic parameter for the constructor has been
  removed.

* The never-documented feature to allow you to use arbitrary DateTime.pm
  methods in the parsing pattern has been removed. This never made much sense
  anyway, since most DateTime.pm methods are not constructor params, but they
  were used that way.

* Using the pattern, locale, and time_zone to set the respective attribute is
  now deprecated. Make a new object instead of changing one of these values.

- Fixed a warning from the tests with newer Perl versions. RT #107620.

- Clarified docs to note that %Y and %G require 4-digit years. Reported by
  Karen Etheridge. RT #103147.


1.57     2015-10-04

- Make all tests pass with both the current DateTime::Locale and the upcoming
  new version (currently still in trial releases).
2015-11-15 05:11:51 +00:00

22 lines
850 B
Makefile

# $NetBSD: Makefile,v 1.21 2015/11/15 05:11:51 wen Exp $
DISTNAME= DateTime-Format-Strptime-1.61
PKGNAME= p5-${DISTNAME}00
CATEGORIES= time perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/DateTime-Format-Strptime/
COMMENT= Perl 5 module to parse and format strp and strf time patterns
LICENSE= artistic-2.0
DEPENDS+= p5-DateTime>=1.00:../../time/p5-DateTime
DEPENDS+= p5-DateTime-Locale>=0.45:../../time/p5-DateTime-Locale
DEPENDS+= p5-DateTime-TimeZone>=0.79:../../time/p5-DateTime-TimeZone
DEPENDS+= p5-Params-Validate>=1.20:../../devel/p5-Params-Validate
DEPENDS+= p5-Package-DeprecationManager>=0.15:../../devel/p5-Package-DeprecationManager
PERL5_PACKLIST= auto/DateTime/Format/Strptime/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"