7a68175acb
0.32 Sat Sep 14 2019 - add support for offset timezones without a space separator and formatted HH:MM '2019-09-03T10:42:00.000-04:00' - thanks Stijn Heymans - allow negative timezone offsets in 2 and 4 digit lengths with and without spaces - now works: 2007-05-06T04:44:44-0800 - now works: 2007-05-06T04:44:44-08 - now works: 2007-05-06T04:44:44 -08 - validate all timezone offsets
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2019/11/02 14:39:05 mef Exp $
|
|
|
|
DISTNAME= DateTime-Format-Flexible-0.32
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= time perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://metacpan.org/release/DateTime-Format-Flexible
|
|
COMMENT= Flexibly parse strings and turn them into DateTime objects
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
|
|
DEPENDS+= p5-DateTime-Format-Builder>=0.7400:../../time/p5-DateTime-Format-Builder
|
|
DEPENDS+= p5-DateTime-TimeZone-[0-9]*:../../time/p5-DateTime-TimeZone
|
|
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
|
|
DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
|
|
DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable
|
|
|
|
TEST_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
|
|
TEST_DEPENDS+= p5-Test-MockTime-[0-9]*:../../time/p5-Test-MockTime
|
|
TEST_DEPENDS+= p5-Test-NoWarnings-[0-9]*:../../devel/p5-Test-NoWarnings
|
|
|
|
USE_LANGUAGES= #
|
|
|
|
PERL5_PACKLIST= auto/DateTime/Format/Flexible/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|