git: ace96f45fd19 - main - devel/R-cran-parsedate: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Apr 2023 16:51:31 UTC
The branch main has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ace96f45fd19990456c8ee385d668762e1350af1
commit ace96f45fd19990456c8ee385d668762e1350af1
Author: Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2023-04-25 16:51:02 +0000
Commit: Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2023-04-25 16:51:02 +0000
devel/R-cran-parsedate: New port
Recognize and Parse Dates in Various Formats, Including All ISO 8601 Formats.
---
devel/Makefile | 1 +
devel/R-cran-parsedate/Makefile | 18 ++++++++++++++++++
devel/R-cran-parsedate/distinfo | 3 +++
devel/R-cran-parsedate/pkg-descr | 3 +++
4 files changed, 25 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 57fd1fe053d5..59e1524ac052 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -80,6 +80,7 @@
SUBDIR += R-cran-optparse
SUBDIR += R-cran-pak
SUBDIR += R-cran-parallelly
+ SUBDIR += R-cran-parsedate
SUBDIR += R-cran-pillar
SUBDIR += R-cran-pkgbuild
SUBDIR += R-cran-pkgcache
diff --git a/devel/R-cran-parsedate/Makefile b/devel/R-cran-parsedate/Makefile
new file mode 100644
index 000000000000..ee288cbdf149
--- /dev/null
+++ b/devel/R-cran-parsedate/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= parsedate
+DISTVERSION= 1.3.1
+CATEGORIES= devel
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= ygy@FreeBSD.org
+COMMENT= Recognize and Parse Dates in Various Formats, Including All ISO 8601 Formats
+WWW= https://github.com/gaborcsardi/parsedate
+
+LICENSE= GPLv2
+
+TEST_DEPENDS= R-cran-covr>0:devel/R-cran-covr \
+ R-cran-testthat>0:devel/R-cran-testthat \
+ R-cran-withr>0:devel/R-cran-withr
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-parsedate/distinfo b/devel/R-cran-parsedate/distinfo
new file mode 100644
index 000000000000..6eafd5c430d9
--- /dev/null
+++ b/devel/R-cran-parsedate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682306104
+SHA256 (parsedate_1.3.1.tar.gz) = 1fc31ab9813b61680abf4f4c2705b8f484d56d1d3ef256df84b342b628b6d1b1
+SIZE (parsedate_1.3.1.tar.gz) = 19800
diff --git a/devel/R-cran-parsedate/pkg-descr b/devel/R-cran-parsedate/pkg-descr
new file mode 100644
index 000000000000..a59ee9167c85
--- /dev/null
+++ b/devel/R-cran-parsedate/pkg-descr
@@ -0,0 +1,3 @@
+Parse dates automatically, without the need of specifying a format. Currently
+it includes the git date parser. It can also recognize and parse all ISO 8601
+formats.