From nobody Tue Jan 28 17:06:05 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YjBWd3KJ1z5lltv; Tue, 28 Jan 2025 17:06:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjBWd21xCz44Cl; Tue, 28 Jan 2025 17:06:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kfZuCUPkcx0AQOl4kODbPX2Xnz4wdSrSvPnKus6BdaU=; b=yRZs5BB6ZgZiKHVwLq0k7KWx8BulCAtwJFn9EC4WIMgTylBntpNR+rdDyLq8tDPxdR5KbX Maph57nWC5eiRdDT+aoMyHSfAfgTyY8gaWTUItMwNrs9DG+HRv8qzebm1C3mQ/6HUGg8UY xYi3bXOGicyft6Y10G8g/D+j2pOVW8vbwaJhZC9oOv7IJF0yHsIvPELRQQAnx8EPPMFCaj VHIc/iCtmCGy70cB8PD2uHgFVsHKqDAiTAvy9J/juEDPXpO1rvSvdb6+QOP09vyxrjTZ9J Hn3l+dR4D5n1jzhMrg0YRlf5eDQIodm7jKAU/GH0OWkTcV5thhiKymoxzjLDvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kfZuCUPkcx0AQOl4kODbPX2Xnz4wdSrSvPnKus6BdaU=; b=NyjjlqhjwiQbUHtbCq5ZyJliDmxtcVeLda9e92aYNzwYAs2usDq6+f2aQs6N9HdJ/24KlP 5IoMsGNrYQ0E2DQZC0blHNqArGWQIWEVm5hVzqQwE0as1s+F4W/F1I9evrH3/MAdYjU+3E 8XpbQTCNeLB1+A0esKZj9ht3dZBuAxCGXFEi3+5INqWOgeHyBnGZeSDd1+J0LuYlmow0Sq egvrzv+gVPy1qilNfPkxYbvKLSlfjNA6qjWR8asYsjZEfZEkdo7ImOUigLalwM1IMO1WMm fDsUofbTtc3HisSUD3ygbO5s5MIM0ndH8Y5YoPcrPlzdXdZrnjgwggT1GoBo/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738083965; a=rsa-sha256; cv=none; b=kaLAWLqMeTDX4j8soY/aViYnE1NyyIbKHTYu0t4A4+G25tfS0MQZhQvEMRUqrx1iVOzZrA 8Vor+IDmEcJoqlBiitrezYs2VSqw0PJ92LBuohGU08xeZQqMxcLfdcuuEbbdTNHlFdF9eZ QKaVAUY2zhiLxQsm91nbAr04ZhUuiAPmgMG/nMtLOa6eRw1CJL9N9/OYz8H1KQ8Lz4M7Yv vm7JtUIfxtliCx7vRxQ2yYyNT0UzulCkuRmwUffMeL3zTPsKMTTraOFGF4yiNov/DBwhie NV6FGZwyUfZNomCpswmZDla6076VvevCvJ+b0Lli4QQI2sznsZ7WwWoNIJuJWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YjBWd1LwNz7Jv; Tue, 28 Jan 2025 17:06:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50SH65VO061440; Tue, 28 Jan 2025 17:06:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50SH65xA061437; Tue, 28 Jan 2025 17:06:05 GMT (envelope-from git) Date: Tue, 28 Jan 2025 17:06:05 GMT Message-Id: <202501281706.50SH65xA061437@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: fee588ea9e26 - main - math/p5-PDL-DateTime: Add p5-PDL-DateTime 0.004 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fee588ea9e2668f813594ab530c9b20a1a6b6ac9 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fee588ea9e2668f813594ab530c9b20a1a6b6ac9 commit fee588ea9e2668f813594ab530c9b20a1a6b6ac9 Author: Po-Chuan Hsieh AuthorDate: 2025-01-28 16:48:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-01-28 17:02:50 +0000 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) --- math/Makefile | 1 + math/p5-PDL-DateTime/Makefile | 24 ++++++++++++++++++++++++ math/p5-PDL-DateTime/distinfo | 3 +++ math/p5-PDL-DateTime/pkg-descr | 7 +++++++ math/p5-PDL-DateTime/pkg-plist | 3 +++ 5 files changed, 38 insertions(+) diff --git a/math/Makefile b/math/Makefile index f970b6802c9b..0fc0ca0a392d 100644 --- a/math/Makefile +++ b/math/Makefile @@ -817,6 +817,7 @@ SUBDIR += p5-Number-WithError SUBDIR += p5-Number-WithError-LaTeX SUBDIR += p5-PDL + SUBDIR += p5-PDL-DateTime SUBDIR += p5-Parse-Range SUBDIR += p5-Roman SUBDIR += p5-Set-IntSpan diff --git a/math/p5-PDL-DateTime/Makefile b/math/p5-PDL-DateTime/Makefile new file mode 100644 index 000000000000..185a663cbffb --- /dev/null +++ b/math/p5-PDL-DateTime/Makefile @@ -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 diff --git a/math/p5-PDL-DateTime/distinfo b/math/p5-PDL-DateTime/distinfo new file mode 100644 index 000000000000..699b349fdd7b --- /dev/null +++ b/math/p5-PDL-DateTime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736671129 +SHA256 (PDL-DateTime-0.004.tar.gz) = 2a2720be5d38b43c2a01722381410380194c64c23ee60ebee56862ba988dd32b +SIZE (PDL-DateTime-0.004.tar.gz) = 28968 diff --git a/math/p5-PDL-DateTime/pkg-descr b/math/p5-PDL-DateTime/pkg-descr new file mode 100644 index 000000000000..d57afe0d9b1a --- /dev/null +++ b/math/p5-PDL-DateTime/pkg-descr @@ -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) diff --git a/math/p5-PDL-DateTime/pkg-plist b/math/p5-PDL-DateTime/pkg-plist new file mode 100644 index 000000000000..69e4a119bcd3 --- /dev/null +++ b/math/p5-PDL-DateTime/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/PDL/DateTime.pm +%%SITE_PERL%%/PDL/DateTime.pod +%%PERL5_MAN3%%/PDL::DateTime.3.gz