git: c296b40ce66c - main - devel/R-cran-timechange: Add new port

From: TAKATSU Tomonari <tota_at_FreeBSD.org>
Date: Sat, 06 May 2023 03:15:05 UTC
The branch main has been updated by tota:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c296b40ce66c1edae04c4467537d7b68b3f66b1a

commit c296b40ce66c1edae04c4467537d7b68b3f66b1a
Author:     TAKATSU Tomonari <tota@FreeBSD.org>
AuthorDate: 2023-05-06 02:28:17 +0000
Commit:     TAKATSU Tomonari <tota@FreeBSD.org>
CommitDate: 2023-05-06 02:39:09 +0000

    devel/R-cran-timechange: Add new port
    
    Efficient routines for manipulation of date-time objects while
    accounting for time-zones and daylight saving times. The package
    includes utilities for updating of date-time components (year,
    month, day etc.), modification of time-zones, rounding of date-times,
    period addition and subtraction etc. Parts of the 'CCTZ' source
    code, released under the Apache 2.0 License, are included in this
    package.
---
 devel/Makefile                    |  1 +
 devel/R-cran-timechange/Makefile  | 18 ++++++++++++++++++
 devel/R-cran-timechange/distinfo  |  3 +++
 devel/R-cran-timechange/pkg-descr |  7 +++++++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 904051afd797..04d56cf6aee3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -125,6 +125,7 @@
     SUBDIR += R-cran-tibble
     SUBDIR += R-cran-tidyr
     SUBDIR += R-cran-tidyselect
+    SUBDIR += R-cran-timechange
     SUBDIR += R-cran-tinytest
     SUBDIR += R-cran-tzdb
     SUBDIR += R-cran-usethis
diff --git a/devel/R-cran-timechange/Makefile b/devel/R-cran-timechange/Makefile
new file mode 100644
index 000000000000..270c5732ed30
--- /dev/null
+++ b/devel/R-cran-timechange/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	timechange
+PORTVERSION=	0.2.0
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Efficient Manipulation of Date-Times
+WWW=		https://cran.r-project.org/web/packages/timechange/
+
+LICENSE=	GPLv3
+
+CRAN_DEPENDS=	R-cran-cpp11>=0.2.7:devel/R-cran-cpp11
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-timechange/distinfo b/devel/R-cran-timechange/distinfo
new file mode 100644
index 000000000000..ebac4536e48d
--- /dev/null
+++ b/devel/R-cran-timechange/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1683339397
+SHA256 (timechange_0.2.0.tar.gz) = 3d602008052123daef94a5c3f5154c5461b4ec0432ab70c37273d7ddd252f7f1
+SIZE (timechange_0.2.0.tar.gz) = 102806
diff --git a/devel/R-cran-timechange/pkg-descr b/devel/R-cran-timechange/pkg-descr
new file mode 100644
index 000000000000..a719bfcfe010
--- /dev/null
+++ b/devel/R-cran-timechange/pkg-descr
@@ -0,0 +1,7 @@
+Efficient routines for manipulation of date-time objects while
+accounting for time-zones and daylight saving times. The package
+includes utilities for updating of date-time components (year,
+month, day etc.), modification of time-zones, rounding of date-times,
+period addition and subtraction etc. Parts of the 'CCTZ' source
+code, released under the Apache 2.0 License, are included in this
+package. See <https: //github.com/google/cctz> for more details.