Skip to content

Commit

Permalink
devel/R-cran-clock: Add new port
Browse files Browse the repository at this point in the history
Provides a comprehensive library for date-time manipulations using
a new family of orthogonal date-time classes (durations, time points,
zoned-times, and calendars) that partition responsibilities so that
the complexities of time zones are only considered when they are
really needed. Capabilities include: date-time parsing, formatting,
arithmetic, extraction and updating of components, and rounding.
  • Loading branch information
tota committed May 10, 2023
1 parent 48878d4 commit f755e9c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -31,6 +31,7 @@
SUBDIR += R-cran-cliapp
SUBDIR += R-cran-clipr
SUBDIR += R-cran-clisymbols
SUBDIR += R-cran-clock
SUBDIR += R-cran-collapse
SUBDIR += R-cran-covr
SUBDIR += R-cran-cpp11
Expand Down
21 changes: 21 additions & 0 deletions devel/R-cran-clock/Makefile
@@ -0,0 +1,21 @@
PORTNAME= clock
PORTVERSION= 0.6.1
CATEGORIES= devel
DISTNAME= ${PORTNAME}_${PORTVERSION}

MAINTAINER= tota@FreeBSD.org
COMMENT= Date-Time Types and Tools
WWW= https://cran.r-project.org/web/packages/clock/

LICENSE= MIT

CRAN_DEPENDS= R-cran-cpp11>=0.4.2:devel/R-cran-cpp11 \
R-cran-rlang>=1.0.4:devel/R-cran-rlang \
R-cran-tzdb>=0.3.0:devel/R-cran-tzdb \
R-cran-vctrs>=0.4.1:devel/R-cran-vctrs
BUILD_DEPENDS= ${CRAN_DEPENDS}
RUN_DEPENDS= ${CRAN_DEPENDS}

USES= cran:auto-plist,compiles

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/R-cran-clock/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1683585438
SHA256 (clock_0.6.1.tar.gz) = f80c385fd8229538968ffb71d7de53ddc82bfcec6641f8e76f299546c43c1702
SIZE (clock_0.6.1.tar.gz) = 501028
6 changes: 6 additions & 0 deletions devel/R-cran-clock/pkg-descr
@@ -0,0 +1,6 @@
Provides a comprehensive library for date-time manipulations using
a new family of orthogonal date-time classes (durations, time points,
zoned-times, and calendars) that partition responsibilities so that
the complexities of time zones are only considered when they are
really needed. Capabilities include: date-time parsing, formatting,
arithmetic, extraction and updating of components, and rounding.

0 comments on commit f755e9c

Please sign in to comment.