git: 12ebab2ec850 - main - devel/R-cran-S7: new port

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sat, 01 Mar 2025 14:57:19 UTC
The branch main has been updated by uzsolt:

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

commit 12ebab2ec850e9d79ea195426b50624837827bfb
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-03-01 14:43:11 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-03-01 14:57:09 +0000

    devel/R-cran-S7: new port
    
    An Object Oriented System Meant to Become a Successor to S3 and S4
    
    A new object oriented programming system designed to be a successor to S3 and
    S4. It includes formal class, generic, and method specification, and a limited
    form of multiple dispatch. It has been designed and implemented collaboratively
    by the R Consortium Object-Oriented Programming Working Group, which includes
    representatives from R-Core, 'Bioconductor', 'Posit'/'tidyverse', and the wider
    R community.
---
 devel/Makefile            |  1 +
 devel/R-cran-S7/Makefile  | 26 ++++++++++++++++++++++++++
 devel/R-cran-S7/distinfo  |  3 +++
 devel/R-cran-S7/pkg-descr |  8 ++++++++
 4 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3bfac8d3f500..8e7a6e71e142 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -15,6 +15,7 @@
     SUBDIR += R-cran-Rcpp
     SUBDIR += R-cran-RcppProgress
     SUBDIR += R-cran-Rdpack
+    SUBDIR += R-cran-S7
     SUBDIR += R-cran-TH.data
     SUBDIR += R-cran-abind
     SUBDIR += R-cran-bindr
diff --git a/devel/R-cran-S7/Makefile b/devel/R-cran-S7/Makefile
new file mode 100644
index 000000000000..0dfd42c88f42
--- /dev/null
+++ b/devel/R-cran-S7/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	S7
+DISTVERSION=	0.2.0
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	uzsolt@FreeBSD.org
+COMMENT=	Object Oriented System, Successor to S3 and S4
+WWW=		https://cran.r-project.org/package=S7
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	R-cran-callr>0:devel/R-cran-callr \
+		R-cran-covr>0:devel/R-cran-covr \
+		R-cran-knitr>0:print/R-cran-knitr \
+		R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
+		R-cran-testthat>0:devel/R-cran-testthat \
+		R-cran-tibble>0:devel/R-cran-tibble
+
+USES=		cran:auto-plist,compiles
+
+pre-test:
+	${LOCALBASE}/bin/Rscript -e \
+		'install.packages("bench", repos = "https://cloud.r-project.org")'
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-S7/distinfo b/devel/R-cran-S7/distinfo
new file mode 100644
index 000000000000..621998f4b039
--- /dev/null
+++ b/devel/R-cran-S7/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740472250
+SHA256 (S7_0.2.0.tar.gz) = b8675a7fac7a396e524b21cd353ef0823d2acf76088b5f229d2a55a182a4d49b
+SIZE (S7_0.2.0.tar.gz) = 183153
diff --git a/devel/R-cran-S7/pkg-descr b/devel/R-cran-S7/pkg-descr
new file mode 100644
index 000000000000..2019d7fadad7
--- /dev/null
+++ b/devel/R-cran-S7/pkg-descr
@@ -0,0 +1,8 @@
+An Object Oriented System Meant to Become a Successor to S3 and S4
+
+A new object oriented programming system designed to be a successor to S3 and
+S4. It includes formal class, generic, and method specification, and a limited
+form of multiple dispatch. It has been designed and implemented collaboratively
+by the R Consortium Object-Oriented Programming Working Group, which includes
+representatives from R-Core, 'Bioconductor', 'Posit'/'tidyverse', and the wider
+R community.