git: 1d536ab05b62 - main - devel/R-cran-googlesheets4: New port: Access Google Sheets using the Sheets API V4

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 06 Apr 2024 14:52:31 UTC
The branch main has been updated by eduardo:

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

commit 1d536ab05b625812a63e428cb832b88abed674c8
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2024-04-05 11:45:36 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-06 14:42:37 +0000

    devel/R-cran-googlesheets4: New port: Access Google Sheets using the Sheets API V4
    
    - Submitter becomes maintainer
    
    Interact with Google Sheets through the Sheets API v4
    <https://developers.google.com/sheets/api>.
    "API" is an acronym for "application programming interface"; the Sheets API
    allows users to interact with Google Sheets programmatically, instead of via a
    web browser.
    The "v4" refers to the fact that the Sheets API is currently at version 4.
    This package can read and write both the metadata and the cell data in a Sheet.
    
    WWW: https://googlesheets4.tidyverse.org/
    
    Differential Revision:  https://reviews.freebsd.org/D43735
---
 devel/Makefile                       |  1 +
 devel/R-cran-googlesheets4/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 devel/R-cran-googlesheets4/distinfo  |  3 +++
 devel/R-cran-googlesheets4/pkg-descr |  7 +++++++
 4 files changed, 45 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 16b9a44ed150..a1dbfe6f242a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -65,6 +65,7 @@
     SUBDIR += R-cran-glue
     SUBDIR += R-cran-gmodels
     SUBDIR += R-cran-googledrive
+    SUBDIR += R-cran-googlesheets4
     SUBDIR += R-cran-gsubfn
     SUBDIR += R-cran-gtools
     SUBDIR += R-cran-hardhat
diff --git a/devel/R-cran-googlesheets4/Makefile b/devel/R-cran-googlesheets4/Makefile
new file mode 100644
index 000000000000..2bc88805bb05
--- /dev/null
+++ b/devel/R-cran-googlesheets4/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	googlesheets4
+DISTVERSION=	1.1.1
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	einar@isnic.is
+COMMENT=	Access Google Sheets using the Sheets API V4
+WWW=		https://googlesheets4.tidyverse.org/
+
+LICENSE=	MIT
+
+CRAN_DEPENDS=	R-cran-cellranger>0:textproc/R-cran-cellranger \
+		R-cran-cli>=3.0.0:devel/R-cran-cli \
+		R-cran-curl>0:ftp/R-cran-curl \
+		R-cran-gargle>=1.5.0:devel/R-cran-gargle \
+		R-cran-glue>=1.3.0:devel/R-cran-glue \
+		R-cran-googledrive>=2.1.0:devel/R-cran-googledrive \
+		R-cran-httr>0:www/R-cran-httr \
+		R-cran-ids>0:devel/R-cran-ids \
+		R-cran-lifecycle>0:devel/R-cran-lifecycle \
+		R-cran-magrittr>0:devel/R-cran-magrittr \
+		R-cran-purrr>0:devel/R-cran-purrr \
+		R-cran-rematch2>0:devel/R-cran-rematch2 \
+		R-cran-rlang>=1.0.2:devel/R-cran-rlang \
+		R-cran-tibble>=2.1.1:devel/R-cran-tibble \
+		R-cran-vctrs>=0.2.3:devel/R-cran-vctrs \
+		R-cran-withr>0:devel/R-cran-withr
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+TEST_DEPENDS=	R-cran-testthat>0:devel/R-cran-testthat
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-googlesheets4/distinfo b/devel/R-cran-googlesheets4/distinfo
new file mode 100644
index 000000000000..01094fac05be
--- /dev/null
+++ b/devel/R-cran-googlesheets4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1706919190
+SHA256 (googlesheets4_1.1.1.tar.gz) = c5cc63348c54b9de8492e7b12b249245746ea1ff33e306f12431f4fc9386fccf
+SIZE (googlesheets4_1.1.1.tar.gz) = 232584
diff --git a/devel/R-cran-googlesheets4/pkg-descr b/devel/R-cran-googlesheets4/pkg-descr
new file mode 100644
index 000000000000..c2f2ac3378c8
--- /dev/null
+++ b/devel/R-cran-googlesheets4/pkg-descr
@@ -0,0 +1,7 @@
+Interact with Google Sheets through the Sheets API v4
+<https://developers.google.com/sheets/api>.
+"API" is an acronym for "application programming interface"; the Sheets API
+allows users to interact with Google Sheets programmatically, instead of via a
+web browser.
+The "v4" refers to the fact that the Sheets API is currently at version 4.
+This package can read and write both the metadata and the cell data in a Sheet.