mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
math/p5-PDL-DateTime: Add p5-PDL-DateTime 0.004
PDL::DateTime is a subclass of PDL piddle for storing date-time values (scalar piddles, vectors, matrices or generally ND-piddles): - its PDL type is always LongLong (64-bit signed integer) - stored values are microseconds since 1970-01-01T00:00:00.000000Z (can be both positive or negative) - it is still a piddle so you can do all usual PDL arithmetic + PDL::DateTime defines some new methods (see below)
This commit is contained in:
parent
c00f409a8c
commit
fee588ea9e
5 changed files with 38 additions and 0 deletions
|
@ -817,6 +817,7 @@
|
||||||
SUBDIR += p5-Number-WithError
|
SUBDIR += p5-Number-WithError
|
||||||
SUBDIR += p5-Number-WithError-LaTeX
|
SUBDIR += p5-Number-WithError-LaTeX
|
||||||
SUBDIR += p5-PDL
|
SUBDIR += p5-PDL
|
||||||
|
SUBDIR += p5-PDL-DateTime
|
||||||
SUBDIR += p5-Parse-Range
|
SUBDIR += p5-Parse-Range
|
||||||
SUBDIR += p5-Roman
|
SUBDIR += p5-Roman
|
||||||
SUBDIR += p5-Set-IntSpan
|
SUBDIR += p5-Set-IntSpan
|
||||||
|
|
24
math/p5-PDL-DateTime/Makefile
Normal file
24
math/p5-PDL-DateTime/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
PORTNAME= PDL-DateTime
|
||||||
|
PORTVERSION= 0.004
|
||||||
|
CATEGORIES= math perl5
|
||||||
|
MASTER_SITES= CPAN
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
|
COMMENT= Piddle for keeping high precision (microsecond) timestamps
|
||||||
|
WWW= https://metacpan.org/dist/PDL-DateTime
|
||||||
|
|
||||||
|
LICENSE= ART10 GPLv1+
|
||||||
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||||
|
RUN_DEPENDS= p5-PDL>=2.014:math/p5-PDL \
|
||||||
|
p5-Time-Moment>=0.12:devel/p5-Time-Moment
|
||||||
|
TEST_DEPENDS= p5-Test-Number-Delta>=1.06:devel/p5-Test-Number-Delta
|
||||||
|
|
||||||
|
USES= perl5
|
||||||
|
USE_PERL5= configure
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
math/p5-PDL-DateTime/distinfo
Normal file
3
math/p5-PDL-DateTime/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1736671129
|
||||||
|
SHA256 (PDL-DateTime-0.004.tar.gz) = 2a2720be5d38b43c2a01722381410380194c64c23ee60ebee56862ba988dd32b
|
||||||
|
SIZE (PDL-DateTime-0.004.tar.gz) = 28968
|
7
math/p5-PDL-DateTime/pkg-descr
Normal file
7
math/p5-PDL-DateTime/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
PDL::DateTime is a subclass of PDL piddle for storing date-time values (scalar
|
||||||
|
piddles, vectors, matrices or generally ND-piddles):
|
||||||
|
- its PDL type is always LongLong (64-bit signed integer)
|
||||||
|
- stored values are microseconds since 1970-01-01T00:00:00.000000Z (can be both
|
||||||
|
positive or negative)
|
||||||
|
- it is still a piddle so you can do all usual PDL arithmetic + PDL::DateTime
|
||||||
|
defines some new methods (see below)
|
3
math/p5-PDL-DateTime/pkg-plist
Normal file
3
math/p5-PDL-DateTime/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
%%SITE_PERL%%/PDL/DateTime.pm
|
||||||
|
%%SITE_PERL%%/PDL/DateTime.pod
|
||||||
|
%%PERL5_MAN3%%/PDL::DateTime.3.gz
|
Loading…
Add table
Reference in a new issue