pkgsrc/devel/p5-Date-Manip/Makefile
wiz 8a4dbb8770 Update p5-Date-Manip to 6.51:
=head1 VERSION 6.51  2015-09-01

Changes suggested by perlcritic

Played with perlcritic and made a few minor changes based on it's suggestions.
I doubt I will use perlcritic significantly.

Date::Manip::Delta::value now returns an empty string

If a delta has an error, or no valid delta in it, the value method returns
an empty string instead of undef.  This is to be consistent with the
Date::Manip::Date::value method which returns an empty string.

Bug fixes

Fixed a bug where date/delta calculations with deltas that are too
large was not working correctly.  They now set an error condition
and fail.  RT 105737

Fixed a bug introduced by the previous patch and luckily discovered
pre-release by Tom Wyant.

Fixed code that produced a warning in 5.22.0.  Tom Wyant

Improved DM6 ParseDate and ParseDateString

Added C<@opts> argument.  Based on RT 105622.

Time zone fixes

Newest zoneinfo data (tzdata 2015f)

Now uses /etc/localtime as a method to determine the local timezone.
Patch supplied in RT 105159 (modified by me).  The patch uses some
code derived from DateTime::TimeZone .

Clearer message when the date is not valid in the timezone.

Test fixes

Added a number of new tests based on Devel::Cover.  Over the next several
releases, I intend to continue to add tests until coverage is 100%.

Documentation fixes

Fixed a typo.  RT 105546
2015-09-02 07:41:08 +00:00

24 lines
779 B
Makefile

# $NetBSD: Makefile,v 1.54 2015/09/02 07:41:08 wiz Exp $
DISTNAME= Date-Manip-6.51
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Date/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Date-Manip/
COMMENT= Perl5 module for date calculations
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage
DEPENDS+= p5-YAML-Syck-[0-9]*:../../textproc/p5-YAML-Syck
# only needed for tests
BUILD_DEPENDS+= p5-Test-Inter-[0-9]*:../../devel/p5-Test-Inter
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Date/Manip/.packlist
PERL5_MODULE_TYPE= Module::Build
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"