git: 5d36955e8997 - main - devel/R-cran-usethis: New Port: Automate Package and Project Setup

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Fri, 05 Nov 2021 05:50:15 UTC
The branch main has been updated by ygy:

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

commit 5d36955e8997f46a7987fab69c0a524b3b9d9751
Author:     Jean-Paul Beconne <jpbeconne@free.fr>
AuthorDate: 2021-11-05 05:49:46 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-11-05 05:49:46 +0000

    devel/R-cran-usethis: New Port: Automate Package and Project Setup
    
    PR:             246839
---
 devel/Makefile                 |  1 +
 devel/R-cran-usethis/Makefile  | 35 +++++++++++++++++++++++++++++++++++
 devel/R-cran-usethis/distinfo  |  3 +++
 devel/R-cran-usethis/pkg-descr |  5 +++++
 4 files changed, 44 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3a1acb534d02..2a9d27eae978 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -120,6 +120,7 @@
     SUBDIR += R-cran-waldo
     SUBDIR += R-cran-whisker
     SUBDIR += R-cran-withr
+    SUBDIR += R-cran-usethis
     SUBDIR += R-cran-zeallot
     SUBDIR += RStudio
     SUBDIR += SpecTcl
diff --git a/devel/R-cran-usethis/Makefile b/devel/R-cran-usethis/Makefile
new file mode 100644
index 000000000000..4120868c176d
--- /dev/null
+++ b/devel/R-cran-usethis/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	usethis
+DISTVERSION=	2.0.1
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	jpbeconne@free.fr
+COMMENT=	Automate Package and Project Setup
+
+LICENSE=	GPLv3
+
+CRAN_DEPENDS=	R-cran-clipr>=0.3.0:devel/R-cran-clipr \
+		R-cran-clisymbols>0:devel/R-cran-clisymbols \
+		R-cran-crayon>0:devel/R-cran-crayon \
+		R-cran-curl>=2.7:ftp/R-cran-curl \
+		R-cran-desc>=1.2.0:devel/R-cran-desc \
+		R-cran-fs>=1.3.0:sysutils/R-cran-fs \
+		R-cran-gert>=1.0.2:devel/R-cran-gert \
+		R-cran-gh>=1.2.0:www/R-cran-gh \
+		R-cran-glue>=1.3.0:devel/R-cran-glue \
+		R-cran-jsonlite>0:converters/R-cran-jsonlite \
+		R-cran-lifecycle>0:devel/R-cran-lifecycle \
+		R-cran-purrr>0:devel/R-cran-purrr \
+		R-cran-rappdirs>=0.3.3:devel/R-cran-rappdirs \
+		R-cran-rlang>0.4.10:devel/R-cran-rlang \
+		R-cran-rprojroot>=1.2:devel/R-cran-rprojroot \
+		R-cran-rstudioapi>0:devel/R-cran-rstudioapi \
+		R-cran-whisker>0:devel/R-cran-whisker \
+		R-cran-withr>=2.3.0:devel/R-cran-withr \
+		R-cran-yaml>0:textproc/R-cran-yaml
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-usethis/distinfo b/devel/R-cran-usethis/distinfo
new file mode 100644
index 000000000000..d4853a562048
--- /dev/null
+++ b/devel/R-cran-usethis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1623869185
+SHA256 (usethis_2.0.1.tar.gz) = ef269e7a3190791bc77ff1d5cb11f20cb594adedb334805f88db5451f3ffd6c8
+SIZE (usethis_2.0.1.tar.gz) = 306090
diff --git a/devel/R-cran-usethis/pkg-descr b/devel/R-cran-usethis/pkg-descr
new file mode 100644
index 000000000000..1e4917f93af7
--- /dev/null
+++ b/devel/R-cran-usethis/pkg-descr
@@ -0,0 +1,5 @@
+Automate package and project setup tasks that are otherwise performed
+manually. This includes setting up unit testing, test coverage, continuous
+integration, Git, 'GitHub', licenses, 'Rcpp', 'RStudio' projects, and more.
+
+WWW: https://CRAN.R-project.org/package=usethis