devel/p5-Time-Moment-Role-TimeZone: create port
This role provides convenience methods to return a new Time::Moment object adjusted according to a DateTime::TimeZone/DateTime::TimeZone::Tzfile compatible time zone object, as in "TIME ZONES" in Time::Moment. WWW: https://metacpan.org/release/Time-Moment-Role-TimeZone PR: 229340 Submitted by: Tomohiro Hosaka <bokutin@bokut.in>
This commit is contained in:
parent
3f81de4d77
commit
d5febf090e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489377
4 changed files with 37 additions and 0 deletions
|
@ -3706,6 +3706,7 @@
|
|||
SUBDIR += p5-Time-Local
|
||||
SUBDIR += p5-Time-Mock
|
||||
SUBDIR += p5-Time-Moment
|
||||
SUBDIR += p5-Time-Moment-Role-TimeZone
|
||||
SUBDIR += p5-Time-Object
|
||||
SUBDIR += p5-Time-Out
|
||||
SUBDIR += p5-Time-ParseDate
|
||||
|
|
28
devel/p5-Time-Moment-Role-TimeZone/Makefile
Normal file
28
devel/p5-Time-Moment-Role-TimeZone/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Time-Moment-Role-TimeZone
|
||||
PORTVERSION= 0.002
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR=CPAN:DBOOK
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= bokutin@bokut.in
|
||||
COMMENT= Adjust Time::Moment with time zone objects
|
||||
|
||||
LICENSE= ART20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= p5-Role-Tiny>=2.000001:devel/p5-Role-Tiny \
|
||||
p5-Time-Moment>=0.18:devel/p5-Time-Moment
|
||||
TEST_DEPENDS= p5-Test-Needs>=0:devel/p5-Test-Needs
|
||||
|
||||
USES= perl5
|
||||
|
||||
NO_ARCH= yes
|
||||
USE_PERL5= configure
|
||||
|
||||
PLIST_FILES= ${SITE_PERL}/Time/Moment/Role/TimeZone.pm \
|
||||
${SITE_MAN3_REL}/Time::Moment::Role::TimeZone.3.gz
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-Time-Moment-Role-TimeZone/distinfo
Normal file
3
devel/p5-Time-Moment-Role-TimeZone/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1530016527
|
||||
SHA256 (Time-Moment-Role-TimeZone-0.002.tar.gz) = e5fae1d549cc0e5d6bafa7d8c9a3c41f9c137290cf9c3c097a7ca5760b1b6078
|
||||
SIZE (Time-Moment-Role-TimeZone-0.002.tar.gz) = 16564
|
5
devel/p5-Time-Moment-Role-TimeZone/pkg-descr
Normal file
5
devel/p5-Time-Moment-Role-TimeZone/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
This role provides convenience methods to return a new Time::Moment object
|
||||
adjusted according to a DateTime::TimeZone/DateTime::TimeZone::Tzfile
|
||||
compatible time zone object, as in "TIME ZONES" in Time::Moment.
|
||||
|
||||
WWW: https://metacpan.org/release/Time-Moment-Role-TimeZone
|
Loading…
Reference in a new issue